Transfocus POD Web Services

<back to all web services

SetCustomersRequest

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/SetCustomersRequest HTTP/1.1 
Host: api.podapp.com.au 
Content-Type: text/jsv
Content-Length: length

{
	customers: 
	[
		{
			id: 00000000000000000000000000000000,
			code: String,
			name: String,
			accountCode: String,
			abn: String,
			contactName: String,
			contactPhone: String,
			contactEmail: String,
			foxProStatus: String,
			active: False
		}
	],
	authToken: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	success: False,
	errorMessage: String,
	errorCode: 0
}