NetCard Server Web API

<back to all web services

PTSFundsTransfer2

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

TransactionLog,MessageId
"{TransactionLogId:0,PreviousTransactionLogId:0,AccountCode:String,TransactionTypeId:0,DeviceId:0,TransactionAmount:0,AmountAvailable:0,Tax:0,TransactionTime:0001-01-01,AssistedUserId:0,Options:String,UserAccountTypeId:0,ReferenceNumber:String,OrderId:0,CustomerId:0}",String

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

ResponseStatus,TransactionLog,ErrorCode,Message,StackTrace,Errors
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{TransactionLogId:0,PreviousTransactionLogId:0,AccountCode:String,TransactionTypeId:0,DeviceId:0,TransactionAmount:0,AmountAvailable:0,Tax:0,TransactionTime:0001-01-01,AssistedUserId:0,Options:String,UserAccountTypeId:0,ReferenceNumber:String,OrderId:0,CustomerId:0}",String,String,String,"[{ErrorCode:String,FieldName:String,Message:String}]"