ToyotaWebServices

<back to all web services

JournalEntryRequest

The following routes are available for this service:
All Verbs/accounting/journal-entries

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

HTTP + XML

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

POST /xml/reply/JournalEntryRequest HTTP/1.1 
Host: toyota.pbssystems.com 
Content-Type: application/xml
Content-Length: length

<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>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

(string)