NetCard Server Web API

<back to all web services

DeviceGetDiscountProductIds

The following routes are available for this service:
GET/MarketPlace/Device/DiscountProductIds

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/DeviceGetDiscountProductIds HTTP/1.1 
Host: ncapi.net.au 
Content-Type: application/json
Content-Length: length

{"Device":{"DeviceId":0,"DeviceCode":"String","Name":"String","Password":"String","DeviceLocationId":0,"ChildDeviceLocationId":0,"LastSeen":"0001-01-01T00:00:00.0000000","IsEnabled":false,"Note":"String","DeviceTypeId":0,"Cash":0,"DefaultTax":0,"LastVersion":"String","CustomerId":0,"AssetId":"String","DeviceLinkId":0,"OpenFrom":"PT0S","OpenTo":"PT0S","CashAccountCode":"String","WarehouseId":0},"DiscountId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}