The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/DeviceGetDiscount HTTP/1.1
Host: ncapi.net.au
Content-Type: text/csv
Content-Length: length
Device,DiscountId
"{DeviceId:0,DeviceCode:String,Name:String,Password:String,DeviceLocationId:0,ChildDeviceLocationId:0,LastSeen:0001-01-01,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}",0
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
DeviceDiscount
"{DeviceId:0,DiscountGroupId:0,AssignedDate:0001-01-01,ValidFromDate:0001-01-01,ValidToDate:0001-01-01,ValidFromTime:PT0S,ValidToTime:PT0S}"