NetCard Server Web API

<back to all web services

CreateInmateTransaction

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

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

UserId,IJISNumber,ReceiptDate,Facility,TotalAmount,TransactionType,ReferenceNumber,Description,TenderType,DeviceId
0,String,0001-01-01,String,0,String,String,String,String,0

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

ResponseStatus,InmateTransactionId,UserId,IJISNumber,ReceiptDate,Facility,TotalAmount,TransactionType,ReferenceNumber,Description,TenderType,DeviceId,ErrorCode,Message,StackTrace,Errors
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}",0,0,String,0001-01-01,String,0,String,String,String,String,0,String,String,String,"[{ErrorCode:String,FieldName:String,Message:String}]"