NetCard Server Web API

<back to all web services

KMGetDeviceByDeviceId

The following routes are available for this service:
GET/Device/KMGetDeviceByDeviceId/{DeviceId}/

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

HTTP + CSV

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

POST /csv/reply/KMGetDeviceByDeviceId HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/csv
Content-Length: length

DeviceId
0

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ResponseStatus,Device,ErrorCode,Message,StackTrace,Errors
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{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,IsDeleted:False,OpenFrom:PT0S,OpenTo:PT0S,LastUpdated:0001-01-01,DeviceTokenRegisterId:String,CurrentVersionDevice:0001-01-01}",String,String,String,"[{ErrorCode:String,FieldName:String,Message:String}]"