HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: toyota.pbssystems.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<JournalEntryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.Toyota.WebServices.SmartPath">
<CreatedAt>String</CreatedAt>
<CreatedBy>String</CreatedBy>
<Customer>
<Email>String</Email>
<Identifiers>
<Identifier>
<System>String</System>
<Value>String</Value>
</Identifier>
</Identifiers>
<Name>String</Name>
<Phone>String</Phone>
</Customer>
<DealerStaff>
<Email>String</Email>
<Identifiers>
<Identifier>
<System>String</System>
<Value>String</Value>
</Identifier>
</Identifiers>
<Name>String</Name>
<Phone>String</Phone>
</DealerStaff>
<Description>String</Description>
<Lines>
<JournalLine>
<AccountName>String</AccountName>
<AccountNumber>String</AccountNumber>
<Credit>0</Credit>
<Currency>String</Currency>
<Debit>0</Debit>
<Description>String</Description>
</JournalLine>
</Lines>
<PostedDate>String</PostedDate>
<ReferenceIdentifiers>
<ReferenceIdentifier>
<IsUniqueIdentifier>false</IsUniqueIdentifier>
<Key>String</Key>
<Value>String</Value>
</ReferenceIdentifier>
</ReferenceIdentifiers>
<TransactionDate>String</TransactionDate>
</JournalEntryRequest>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
(string)