NetCard Server Web API

<back to all web services

GetLatestCashManagementAndStatusLogsByDeviceId

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/GetLatestCashManagementAndStatusLogsByDeviceId HTTP/1.1 
Host: ncapi.net.au 
Content-Type: application/json
Content-Length: length

{"DeviceId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]},"CashManagementLog":{"CashManagementLogId":0,"CashDispenserDeviceId":0,"DeviceId":0,"BNRStatusLogId":0,"BNRStatusLog":{"CashDispenserDeviceId":0,"Firmware":"String","Recyclers":[{"Name":"String","Quantity":0,"Level":0,"Max":0}],"CashBoxes":[{"Name":"String","Quantity":0,"Level":0}],"Loaders":[{"Name":"String","Quantity":0,"Level":0}]},"BCRStatusLogId":0,"BCRStatusLog":{"Firmware":"String","Serial":"String","Hoppers":[{"Name":"String","Quantity":0,"Level":0,"Max":0}],"CashBoxes":[{"Name":"String","Quantity":0,"Level":0}]},"CashFlowStatusLogId":0,"NoteAcceptorStatusLogId":0,"CoinAcceptorStatusLogId":0,"TotalCoinAmount":0,"TotalNoteAmount":0,"UserId":0,"Description":"String","OtherInfo":"String","TotalAmount":0,"DateCreatedUtc":"0001-01-01T00:00:00.0000000","UpdateDate":"0001-01-01T00:00:00.0000000","DatePrinted":"0001-01-01T00:00:00.0000000","ForCollection":false,"TotalMoneyIn":0,"TotalMoneyOut":0,"CollectedNoteAmount":0,"CollectedCoinAmount":0,"IsUserTransaction":false}}