JiwaAPI

<back to all web services

SO_TotalsQuery

Requires Authentication
SO_TotalsQuery Parameters:
NameParameterData TypeRequiredDescription
InvoiceIDquerystringNo
InvoiceIDStartsWithquerystringNo
InvoiceIDEndsWithquerystringNo
InvoiceIDContainsquerystringNo
InvoiceIDLikequerystringNo
InvoiceIDBetweenquerystring[]No
InvoiceIDInquerystring[]No
InvoiceTotalquerydecimal?No
InvoiceTotalGreaterThanOrEqualToquerydecimal?No
InvoiceTotalGreaterThanquerydecimal?No
InvoiceTotalLessThanquerydecimal?No
InvoiceTotalLessThanOrEqualToquerydecimal?No
InvoiceTotalNotEqualToquerydecimal?No
InvoiceTotalBetweenqueryNullable<Decimal>[]No
InvoiceTotalInqueryNullable<Decimal>[]No
Cartage1Totalquerydecimal?No
Cartage1TotalGreaterThanOrEqualToquerydecimal?No
Cartage1TotalGreaterThanquerydecimal?No
Cartage1TotalLessThanquerydecimal?No
Cartage1TotalLessThanOrEqualToquerydecimal?No
Cartage1TotalNotEqualToquerydecimal?No
Cartage1TotalBetweenqueryNullable<Decimal>[]No
Cartage1TotalInqueryNullable<Decimal>[]No
Cartage1TaxTotalquerydecimal?No
Cartage1TaxTotalGreaterThanOrEqualToquerydecimal?No
Cartage1TaxTotalGreaterThanquerydecimal?No
Cartage1TaxTotalLessThanquerydecimal?No
Cartage1TaxTotalLessThanOrEqualToquerydecimal?No
Cartage1TaxTotalNotEqualToquerydecimal?No
Cartage1TaxTotalBetweenqueryNullable<Decimal>[]No
Cartage1TaxTotalInqueryNullable<Decimal>[]No
Cartage2Totalquerydecimal?No
Cartage2TotalGreaterThanOrEqualToquerydecimal?No
Cartage2TotalGreaterThanquerydecimal?No
Cartage2TotalLessThanquerydecimal?No
Cartage2TotalLessThanOrEqualToquerydecimal?No
Cartage2TotalNotEqualToquerydecimal?No
Cartage2TotalBetweenqueryNullable<Decimal>[]No
Cartage2TotalInqueryNullable<Decimal>[]No
Cartage2TaxTotalquerydecimal?No
Cartage2TaxTotalGreaterThanOrEqualToquerydecimal?No
Cartage2TaxTotalGreaterThanquerydecimal?No
Cartage2TaxTotalLessThanquerydecimal?No
Cartage2TaxTotalLessThanOrEqualToquerydecimal?No
Cartage2TaxTotalNotEqualToquerydecimal?No
Cartage2TaxTotalBetweenqueryNullable<Decimal>[]No
Cartage2TaxTotalInqueryNullable<Decimal>[]No
Cartage3Totalquerydecimal?No
Cartage3TotalGreaterThanOrEqualToquerydecimal?No
Cartage3TotalGreaterThanquerydecimal?No
Cartage3TotalLessThanquerydecimal?No
Cartage3TotalLessThanOrEqualToquerydecimal?No
Cartage3TotalNotEqualToquerydecimal?No
Cartage3TotalBetweenqueryNullable<Decimal>[]No
Cartage3TotalInqueryNullable<Decimal>[]No
Cartage3TaxTotalquerydecimal?No
Cartage3TaxTotalGreaterThanOrEqualToquerydecimal?No
Cartage3TaxTotalGreaterThanquerydecimal?No
Cartage3TaxTotalLessThanquerydecimal?No
Cartage3TaxTotalLessThanOrEqualToquerydecimal?No
Cartage3TaxTotalNotEqualToquerydecimal?No
Cartage3TaxTotalBetweenqueryNullable<Decimal>[]No
Cartage3TaxTotalInqueryNullable<Decimal>[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SO_Totals Parameters:
NameParameterData TypeRequiredDescription
InvoiceIDformstringNo
InvoiceTotalformdecimal?No
Cartage1Totalformdecimal?No
Cartage1TaxTotalformdecimal?No
Cartage2Totalformdecimal?No
Cartage2TaxTotalformdecimal?No
Cartage3Totalformdecimal?No
Cartage3TaxTotalformdecimal?No
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the 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/SO_TotalsQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SO_TotalsQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tables">
  <Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
  <Include xmlns="http://schemas.servicestack.net/types">String</Include>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
  <OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
  <Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
  <Take xmlns="http://schemas.servicestack.net/types">0</Take>
  <Cartage1TaxTotal>0</Cartage1TaxTotal>
  <Cartage1TaxTotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage1TaxTotalBetween>
  <Cartage1TaxTotalGreaterThan>0</Cartage1TaxTotalGreaterThan>
  <Cartage1TaxTotalGreaterThanOrEqualTo>0</Cartage1TaxTotalGreaterThanOrEqualTo>
  <Cartage1TaxTotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage1TaxTotalIn>
  <Cartage1TaxTotalLessThan>0</Cartage1TaxTotalLessThan>
  <Cartage1TaxTotalLessThanOrEqualTo>0</Cartage1TaxTotalLessThanOrEqualTo>
  <Cartage1TaxTotalNotEqualTo>0</Cartage1TaxTotalNotEqualTo>
  <Cartage1Total>0</Cartage1Total>
  <Cartage1TotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage1TotalBetween>
  <Cartage1TotalGreaterThan>0</Cartage1TotalGreaterThan>
  <Cartage1TotalGreaterThanOrEqualTo>0</Cartage1TotalGreaterThanOrEqualTo>
  <Cartage1TotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage1TotalIn>
  <Cartage1TotalLessThan>0</Cartage1TotalLessThan>
  <Cartage1TotalLessThanOrEqualTo>0</Cartage1TotalLessThanOrEqualTo>
  <Cartage1TotalNotEqualTo>0</Cartage1TotalNotEqualTo>
  <Cartage2TaxTotal>0</Cartage2TaxTotal>
  <Cartage2TaxTotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage2TaxTotalBetween>
  <Cartage2TaxTotalGreaterThan>0</Cartage2TaxTotalGreaterThan>
  <Cartage2TaxTotalGreaterThanOrEqualTo>0</Cartage2TaxTotalGreaterThanOrEqualTo>
  <Cartage2TaxTotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage2TaxTotalIn>
  <Cartage2TaxTotalLessThan>0</Cartage2TaxTotalLessThan>
  <Cartage2TaxTotalLessThanOrEqualTo>0</Cartage2TaxTotalLessThanOrEqualTo>
  <Cartage2TaxTotalNotEqualTo>0</Cartage2TaxTotalNotEqualTo>
  <Cartage2Total>0</Cartage2Total>
  <Cartage2TotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage2TotalBetween>
  <Cartage2TotalGreaterThan>0</Cartage2TotalGreaterThan>
  <Cartage2TotalGreaterThanOrEqualTo>0</Cartage2TotalGreaterThanOrEqualTo>
  <Cartage2TotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage2TotalIn>
  <Cartage2TotalLessThan>0</Cartage2TotalLessThan>
  <Cartage2TotalLessThanOrEqualTo>0</Cartage2TotalLessThanOrEqualTo>
  <Cartage2TotalNotEqualTo>0</Cartage2TotalNotEqualTo>
  <Cartage3TaxTotal>0</Cartage3TaxTotal>
  <Cartage3TaxTotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage3TaxTotalBetween>
  <Cartage3TaxTotalGreaterThan>0</Cartage3TaxTotalGreaterThan>
  <Cartage3TaxTotalGreaterThanOrEqualTo>0</Cartage3TaxTotalGreaterThanOrEqualTo>
  <Cartage3TaxTotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage3TaxTotalIn>
  <Cartage3TaxTotalLessThan>0</Cartage3TaxTotalLessThan>
  <Cartage3TaxTotalLessThanOrEqualTo>0</Cartage3TaxTotalLessThanOrEqualTo>
  <Cartage3TaxTotalNotEqualTo>0</Cartage3TaxTotalNotEqualTo>
  <Cartage3Total>0</Cartage3Total>
  <Cartage3TotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage3TotalBetween>
  <Cartage3TotalGreaterThan>0</Cartage3TotalGreaterThan>
  <Cartage3TotalGreaterThanOrEqualTo>0</Cartage3TotalGreaterThanOrEqualTo>
  <Cartage3TotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </Cartage3TotalIn>
  <Cartage3TotalLessThan>0</Cartage3TotalLessThan>
  <Cartage3TotalLessThanOrEqualTo>0</Cartage3TotalLessThanOrEqualTo>
  <Cartage3TotalNotEqualTo>0</Cartage3TotalNotEqualTo>
  <InvoiceID>String</InvoiceID>
  <InvoiceIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceIDBetween>
  <InvoiceIDContains>String</InvoiceIDContains>
  <InvoiceIDEndsWith>String</InvoiceIDEndsWith>
  <InvoiceIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceIDIn>
  <InvoiceIDLike>String</InvoiceIDLike>
  <InvoiceIDStartsWith>String</InvoiceIDStartsWith>
  <InvoiceTotal>0</InvoiceTotal>
  <InvoiceTotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </InvoiceTotalBetween>
  <InvoiceTotalGreaterThan>0</InvoiceTotalGreaterThan>
  <InvoiceTotalGreaterThanOrEqualTo>0</InvoiceTotalGreaterThanOrEqualTo>
  <InvoiceTotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </InvoiceTotalIn>
  <InvoiceTotalLessThan>0</InvoiceTotalLessThan>
  <InvoiceTotalLessThanOrEqualTo>0</InvoiceTotalLessThanOrEqualTo>
  <InvoiceTotalNotEqualTo>0</InvoiceTotalNotEqualTo>
</SO_TotalsQuery>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponseOfSO_Totals7kRqkrSv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Offset>0</Offset>
  <Total>0</Total>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tables">
    <d2p1:SO_Totals>
      <d2p1:_x003C_Cartage1TaxTotal_x003E_k__BackingField>0</d2p1:_x003C_Cartage1TaxTotal_x003E_k__BackingField>
      <d2p1:_x003C_Cartage1Total_x003E_k__BackingField>0</d2p1:_x003C_Cartage1Total_x003E_k__BackingField>
      <d2p1:_x003C_Cartage2TaxTotal_x003E_k__BackingField>0</d2p1:_x003C_Cartage2TaxTotal_x003E_k__BackingField>
      <d2p1:_x003C_Cartage2Total_x003E_k__BackingField>0</d2p1:_x003C_Cartage2Total_x003E_k__BackingField>
      <d2p1:_x003C_Cartage3TaxTotal_x003E_k__BackingField>0</d2p1:_x003C_Cartage3TaxTotal_x003E_k__BackingField>
      <d2p1:_x003C_Cartage3Total_x003E_k__BackingField>0</d2p1:_x003C_Cartage3Total_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceID_x003E_k__BackingField>String</d2p1:_x003C_InvoiceID_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceTotal_x003E_k__BackingField>0</d2p1:_x003C_InvoiceTotal_x003E_k__BackingField>
    </d2p1:SO_Totals>
  </Results>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
        <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </Meta>
      </ResponseError>
    </Errors>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
  </ResponseStatus>
</QueryResponseOfSO_Totals7kRqkrSv>