NetCard Server Web API

<back to all web services

GetLatestTransactionLogByTransactionType

The following routes are available for this service:
GET/TransactionLog/GetLatestTransactionLogByTransactionType

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

HTTP + JSV

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

POST /jsv/reply/GetLatestTransactionLogByTransactionType HTTP/1.1 
Host: testkioskapi.netcard.net.au 
Content-Type: text/jsv
Content-Length: length

{
	AccountCode: String,
	TransactionTypeId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	},
	TransactionLog: 
	{
		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
	},
	ErrorCode: String,
	Message: String,
	StackTrace: String,
	Errors: 
	[
		{
			ErrorCode: String,
			FieldName: String,
			Message: String
		}
	]
}