NetCard Server Web API

<back to all web services

CreateListInmateTransaction

The following routes are available for this service:
POST/InmateTransaction/CreateListInmateTransaction

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/CreateListInmateTransaction HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/csv
Content-Length: length

ListInmateTransaction
"[{InmateTransactionId:0,UserId:0,IJISNumber:String,ReceiptDate:0001-01-01,Facility:String,TotalAmount:0,TransactionType:String,ReferenceNumber:String,Description:String,TenderType:String,DeviceId:0}]"

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

ResponseStatus,InmateTransactions,ErrorCode,Message,StackTrace,Errors
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}",,String,String,String,"[{ErrorCode:String,FieldName:String,Message:String}]"