PartnerHub

<back to all web services

AccountingPostingChange

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/AccountingPostingChange HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/jsv
Content-Length: length

{
	SerialNumber: String,
	Posting: 
	{
		Reference: String,
		JournalCode: String,
		TransactionDate: 0001-01-01,
		Description: String,
		AdditionalInfo: String,
		Source: String,
		Lines: 
		[
			{
				Account: String,
				ControlNumber: String,
				Amount: 0,
				Comment: String,
				AdditionalInfo: String,
				InvoiceNumber: String
			}
		]
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	WasSuccessful: False,
	Message: String,
	ReferenceId: String,
	ReferenceNumber: String
}