HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ImportInvoiceChange HTTP/1.1
Host: partnerhub.pbsdealers.com
Content-Type: text/jsv
Content-Length: length
{
ImportInvoiceInfo:
{
SerialNumber: String,
Sender: String,
AnalyzedResult: String,
FileName: String,
FileContents: AA==
},
IsAsynchronous: False,
UserRequest: String,
UserRef: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
WasSuccessful: False,
Message: String,
ReferenceId: String,
ReferenceNumber: String
}