JiwaAPI

<back to all web services

SO_ProfitQuery

Requires Authentication
SO_ProfitQuery Parameters:
NameParameterData TypeRequiredDescription
InvoiceIDquerystringNo
InvoiceIDStartsWithquerystringNo
InvoiceIDEndsWithquerystringNo
InvoiceIDContainsquerystringNo
InvoiceIDLikequerystringNo
InvoiceIDBetweenquerystring[]No
InvoiceIDInquerystring[]No
InvoiceNoquerystringNo
InvoiceNoStartsWithquerystringNo
InvoiceNoEndsWithquerystringNo
InvoiceNoContainsquerystringNo
InvoiceNoLikequerystringNo
InvoiceNoBetweenquerystring[]No
InvoiceNoInquerystring[]No
BillWhenCompletequeryshort?No
BillWhenCompleteGreaterThanOrEqualToqueryshort?No
BillWhenCompleteGreaterThanqueryshort?No
BillWhenCompleteLessThanqueryshort?No
BillWhenCompleteLessThanOrEqualToqueryshort?No
BillWhenCompleteNotEqualToqueryshort?No
BillWhenCompleteBetweenqueryshort[]No
BillWhenCompleteInqueryshort[]No
OrderNoquerystringNo
OrderNoStartsWithquerystringNo
OrderNoEndsWithquerystringNo
OrderNoContainsquerystringNo
OrderNoLikequerystringNo
OrderNoBetweenquerystring[]No
OrderNoInquerystring[]No
CreditNotequerybool?No
WholeSaleInvoicequerybool?No
TaxExemptNoquerystringNo
TaxExemptNoStartsWithquerystringNo
TaxExemptNoEndsWithquerystringNo
TaxExemptNoContainsquerystringNo
TaxExemptNoLikequerystringNo
TaxExemptNoBetweenquerystring[]No
TaxExemptNoInquerystring[]No
InvoiceHistoryIDquerystringNo
InvoiceHistoryIDStartsWithquerystringNo
InvoiceHistoryIDEndsWithquerystringNo
InvoiceHistoryIDContainsquerystringNo
InvoiceHistoryIDLikequerystringNo
InvoiceHistoryIDBetweenquerystring[]No
InvoiceHistoryIDInquerystring[]No
HistoryNoqueryshort?No
HistoryNoGreaterThanOrEqualToqueryshort?No
HistoryNoGreaterThanqueryshort?No
HistoryNoLessThanqueryshort?No
HistoryNoLessThanOrEqualToqueryshort?No
HistoryNoNotEqualToqueryshort?No
HistoryNoBetweenqueryNullable<Int16>[]No
HistoryNoInqueryNullable<Int16>[]No
RunNoquerystringNo
RunNoStartsWithquerystringNo
RunNoEndsWithquerystringNo
RunNoContainsquerystringNo
RunNoLikequerystringNo
RunNoBetweenquerystring[]No
RunNoInquerystring[]No
RecordDatequeryDateTime?No
RecordDateGreaterThanOrEqualToqueryDateTime?No
RecordDateGreaterThanqueryDateTime?No
RecordDateLessThanqueryDateTime?No
RecordDateLessThanOrEqualToqueryDateTime?No
RecordDateNotEqualToqueryDateTime?No
RecordDateBetweenqueryDateTime[]No
RecordDateInqueryDateTime[]No
InvoiceLineIDquerystringNo
InvoiceLineIDStartsWithquerystringNo
InvoiceLineIDEndsWithquerystringNo
InvoiceLineIDContainsquerystringNo
InvoiceLineIDLikequerystringNo
InvoiceLineIDBetweenquerystring[]No
InvoiceLineIDInquerystring[]No
PartNoquerystringNo
PartNoStartsWithquerystringNo
PartNoEndsWithquerystringNo
PartNoContainsquerystringNo
PartNoLikequerystringNo
PartNoBetweenquerystring[]No
PartNoInquerystring[]No
DescriptionquerystringNo
DescriptionStartsWithquerystringNo
DescriptionEndsWithquerystringNo
DescriptionContainsquerystringNo
DescriptionLikequerystringNo
DescriptionBetweenquerystring[]No
DescriptionInquerystring[]No
CostInquerydecimal?No
CostInGreaterThanOrEqualToquerydecimal?No
CostInGreaterThanquerydecimal?No
CostInLessThanquerydecimal?No
CostInLessThanOrEqualToquerydecimal?No
CostInNotEqualToquerydecimal?No
CostInBetweenqueryNullable<Decimal>[]No
CostInInqueryNullable<Decimal>[]No
QuantityThisDelquerydecimal?No
QuantityThisDelGreaterThanOrEqualToquerydecimal?No
QuantityThisDelGreaterThanquerydecimal?No
QuantityThisDelLessThanquerydecimal?No
QuantityThisDelLessThanOrEqualToquerydecimal?No
QuantityThisDelNotEqualToquerydecimal?No
QuantityThisDelBetweenqueryNullable<Decimal>[]No
QuantityThisDelInqueryNullable<Decimal>[]No
CurrentLineTotalquerydecimal?No
CurrentLineTotalGreaterThanOrEqualToquerydecimal?No
CurrentLineTotalGreaterThanquerydecimal?No
CurrentLineTotalLessThanquerydecimal?No
CurrentLineTotalLessThanOrEqualToquerydecimal?No
CurrentLineTotalNotEqualToquerydecimal?No
CurrentLineTotalBetweenqueryNullable<Decimal>[]No
CurrentLineTotalInqueryNullable<Decimal>[]No
TaxToChargequerydecimal?No
TaxToChargeGreaterThanOrEqualToquerydecimal?No
TaxToChargeGreaterThanquerydecimal?No
TaxToChargeLessThanquerydecimal?No
TaxToChargeLessThanOrEqualToquerydecimal?No
TaxToChargeNotEqualToquerydecimal?No
TaxToChargeBetweenqueryNullable<Decimal>[]No
TaxToChargeInqueryNullable<Decimal>[]No
TaxPaidquerydecimal?No
TaxPaidGreaterThanOrEqualToquerydecimal?No
TaxPaidGreaterThanquerydecimal?No
TaxPaidLessThanquerydecimal?No
TaxPaidLessThanOrEqualToquerydecimal?No
TaxPaidNotEqualToquerydecimal?No
TaxPaidBetweenqueryNullable<Decimal>[]No
TaxPaidInqueryNullable<Decimal>[]No
DecimalPlacesqueryshort?No
DecimalPlacesGreaterThanOrEqualToqueryshort?No
DecimalPlacesGreaterThanqueryshort?No
DecimalPlacesLessThanqueryshort?No
DecimalPlacesLessThanOrEqualToqueryshort?No
DecimalPlacesNotEqualToqueryshort?No
DecimalPlacesBetweenqueryNullable<Int16>[]No
DecimalPlacesInqueryNullable<Int16>[]No
TaxIDquerystringNo
TaxIDStartsWithquerystringNo
TaxIDEndsWithquerystringNo
TaxIDContainsquerystringNo
TaxIDLikequerystringNo
TaxIDBetweenquerystring[]No
TaxIDInquerystring[]No
PhysicalItemqueryshort?No
PhysicalItemGreaterThanOrEqualToqueryshort?No
PhysicalItemGreaterThanqueryshort?No
PhysicalItemLessThanqueryshort?No
PhysicalItemLessThanOrEqualToqueryshort?No
PhysicalItemNotEqualToqueryshort?No
PhysicalItemBetweenqueryNullable<Int16>[]No
PhysicalItemInqueryNullable<Int16>[]No
NonStockquerybool?No
DebtorIDquerystringNo
DebtorIDStartsWithquerystringNo
DebtorIDEndsWithquerystringNo
DebtorIDContainsquerystringNo
DebtorIDLikequerystringNo
DebtorIDBetweenquerystring[]No
DebtorIDInquerystring[]No
AccountNoquerystringNo
AccountNoStartsWithquerystringNo
AccountNoEndsWithquerystringNo
AccountNoContainsquerystringNo
AccountNoLikequerystringNo
AccountNoBetweenquerystring[]No
AccountNoInquerystring[]No
NamequerystringNo
NameStartsWithquerystringNo
NameEndsWithquerystringNo
NameContainsquerystringNo
NameLikequerystringNo
NameBetweenquerystring[]No
NameInquerystring[]No
InventoryClassificationIDquerystringNo
InventoryClassificationIDStartsWithquerystringNo
InventoryClassificationIDEndsWithquerystringNo
InventoryClassificationIDContainsquerystringNo
InventoryClassificationIDLikequerystringNo
InventoryClassificationIDBetweenquerystring[]No
InventoryClassificationIDInquerystring[]No
ClassDescriptionquerystringNo
ClassDescriptionStartsWithquerystringNo
ClassDescriptionEndsWithquerystringNo
ClassDescriptionContainsquerystringNo
ClassDescriptionLikequerystringNo
ClassDescriptionBetweenquerystring[]No
ClassDescriptionInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SO_Profit Parameters:
NameParameterData TypeRequiredDescription
InvoiceIDformstringNo
InvoiceNoformstringNo
BillWhenCompleteformshortNo
OrderNoformstringNo
CreditNoteformboolNo
WholeSaleInvoiceformboolNo
TaxExemptNoformstringNo
InvoiceHistoryIDformstringNo
HistoryNoformshort?No
RunNoformstringNo
RecordDateformDateTimeNo
InvoiceLineIDformstringNo
PartNoformstringNo
DescriptionformstringNo
CostInformdecimal?No
QuantityThisDelformdecimal?No
CurrentLineTotalformdecimal?No
TaxToChargeformdecimal?No
TaxPaidformdecimal?No
DecimalPlacesformshort?No
TaxIDformstringNo
PhysicalItemformshort?No
NonStockformbool?No
DebtorIDformstringNo
AccountNoformstringNo
NameformstringNo
InventoryClassificationIDformstringNo
ClassDescriptionformstringNo
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_ProfitQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SO_ProfitQuery 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>
  <AccountNo>String</AccountNo>
  <AccountNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </AccountNoBetween>
  <AccountNoContains>String</AccountNoContains>
  <AccountNoEndsWith>String</AccountNoEndsWith>
  <AccountNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </AccountNoIn>
  <AccountNoLike>String</AccountNoLike>
  <AccountNoStartsWith>String</AccountNoStartsWith>
  <BillWhenComplete>0</BillWhenComplete>
  <BillWhenCompleteBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>0</d2p1:short>
  </BillWhenCompleteBetween>
  <BillWhenCompleteGreaterThan>0</BillWhenCompleteGreaterThan>
  <BillWhenCompleteGreaterThanOrEqualTo>0</BillWhenCompleteGreaterThanOrEqualTo>
  <BillWhenCompleteIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>0</d2p1:short>
  </BillWhenCompleteIn>
  <BillWhenCompleteLessThan>0</BillWhenCompleteLessThan>
  <BillWhenCompleteLessThanOrEqualTo>0</BillWhenCompleteLessThanOrEqualTo>
  <BillWhenCompleteNotEqualTo>0</BillWhenCompleteNotEqualTo>
  <ClassDescription>String</ClassDescription>
  <ClassDescriptionBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </ClassDescriptionBetween>
  <ClassDescriptionContains>String</ClassDescriptionContains>
  <ClassDescriptionEndsWith>String</ClassDescriptionEndsWith>
  <ClassDescriptionIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </ClassDescriptionIn>
  <ClassDescriptionLike>String</ClassDescriptionLike>
  <ClassDescriptionStartsWith>String</ClassDescriptionStartsWith>
  <CostIn>0</CostIn>
  <CostInBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </CostInBetween>
  <CostInGreaterThan>0</CostInGreaterThan>
  <CostInGreaterThanOrEqualTo>0</CostInGreaterThanOrEqualTo>
  <CostInIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </CostInIn>
  <CostInLessThan>0</CostInLessThan>
  <CostInLessThanOrEqualTo>0</CostInLessThanOrEqualTo>
  <CostInNotEqualTo>0</CostInNotEqualTo>
  <CreditNote>false</CreditNote>
  <CurrentLineTotal>0</CurrentLineTotal>
  <CurrentLineTotalBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </CurrentLineTotalBetween>
  <CurrentLineTotalGreaterThan>0</CurrentLineTotalGreaterThan>
  <CurrentLineTotalGreaterThanOrEqualTo>0</CurrentLineTotalGreaterThanOrEqualTo>
  <CurrentLineTotalIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </CurrentLineTotalIn>
  <CurrentLineTotalLessThan>0</CurrentLineTotalLessThan>
  <CurrentLineTotalLessThanOrEqualTo>0</CurrentLineTotalLessThanOrEqualTo>
  <CurrentLineTotalNotEqualTo>0</CurrentLineTotalNotEqualTo>
  <DebtorID>String</DebtorID>
  <DebtorIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </DebtorIDBetween>
  <DebtorIDContains>String</DebtorIDContains>
  <DebtorIDEndsWith>String</DebtorIDEndsWith>
  <DebtorIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </DebtorIDIn>
  <DebtorIDLike>String</DebtorIDLike>
  <DebtorIDStartsWith>String</DebtorIDStartsWith>
  <DecimalPlaces>0</DecimalPlaces>
  <DecimalPlacesBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:short>0</d2p1:short>
  </DecimalPlacesBetween>
  <DecimalPlacesGreaterThan>0</DecimalPlacesGreaterThan>
  <DecimalPlacesGreaterThanOrEqualTo>0</DecimalPlacesGreaterThanOrEqualTo>
  <DecimalPlacesIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:short>0</d2p1:short>
  </DecimalPlacesIn>
  <DecimalPlacesLessThan>0</DecimalPlacesLessThan>
  <DecimalPlacesLessThanOrEqualTo>0</DecimalPlacesLessThanOrEqualTo>
  <DecimalPlacesNotEqualTo>0</DecimalPlacesNotEqualTo>
  <Description>String</Description>
  <DescriptionBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </DescriptionBetween>
  <DescriptionContains>String</DescriptionContains>
  <DescriptionEndsWith>String</DescriptionEndsWith>
  <DescriptionIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </DescriptionIn>
  <DescriptionLike>String</DescriptionLike>
  <DescriptionStartsWith>String</DescriptionStartsWith>
  <HistoryNo>0</HistoryNo>
  <HistoryNoBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:short>0</d2p1:short>
  </HistoryNoBetween>
  <HistoryNoGreaterThan>0</HistoryNoGreaterThan>
  <HistoryNoGreaterThanOrEqualTo>0</HistoryNoGreaterThanOrEqualTo>
  <HistoryNoIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:short>0</d2p1:short>
  </HistoryNoIn>
  <HistoryNoLessThan>0</HistoryNoLessThan>
  <HistoryNoLessThanOrEqualTo>0</HistoryNoLessThanOrEqualTo>
  <HistoryNoNotEqualTo>0</HistoryNoNotEqualTo>
  <InventoryClassificationID>String</InventoryClassificationID>
  <InventoryClassificationIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InventoryClassificationIDBetween>
  <InventoryClassificationIDContains>String</InventoryClassificationIDContains>
  <InventoryClassificationIDEndsWith>String</InventoryClassificationIDEndsWith>
  <InventoryClassificationIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InventoryClassificationIDIn>
  <InventoryClassificationIDLike>String</InventoryClassificationIDLike>
  <InventoryClassificationIDStartsWith>String</InventoryClassificationIDStartsWith>
  <InvoiceHistoryID>String</InvoiceHistoryID>
  <InvoiceHistoryIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceHistoryIDBetween>
  <InvoiceHistoryIDContains>String</InvoiceHistoryIDContains>
  <InvoiceHistoryIDEndsWith>String</InvoiceHistoryIDEndsWith>
  <InvoiceHistoryIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceHistoryIDIn>
  <InvoiceHistoryIDLike>String</InvoiceHistoryIDLike>
  <InvoiceHistoryIDStartsWith>String</InvoiceHistoryIDStartsWith>
  <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>
  <InvoiceLineID>String</InvoiceLineID>
  <InvoiceLineIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceLineIDBetween>
  <InvoiceLineIDContains>String</InvoiceLineIDContains>
  <InvoiceLineIDEndsWith>String</InvoiceLineIDEndsWith>
  <InvoiceLineIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceLineIDIn>
  <InvoiceLineIDLike>String</InvoiceLineIDLike>
  <InvoiceLineIDStartsWith>String</InvoiceLineIDStartsWith>
  <InvoiceNo>String</InvoiceNo>
  <InvoiceNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceNoBetween>
  <InvoiceNoContains>String</InvoiceNoContains>
  <InvoiceNoEndsWith>String</InvoiceNoEndsWith>
  <InvoiceNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceNoIn>
  <InvoiceNoLike>String</InvoiceNoLike>
  <InvoiceNoStartsWith>String</InvoiceNoStartsWith>
  <Name>String</Name>
  <NameBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </NameBetween>
  <NameContains>String</NameContains>
  <NameEndsWith>String</NameEndsWith>
  <NameIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </NameIn>
  <NameLike>String</NameLike>
  <NameStartsWith>String</NameStartsWith>
  <NonStock>false</NonStock>
  <OrderNo>String</OrderNo>
  <OrderNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </OrderNoBetween>
  <OrderNoContains>String</OrderNoContains>
  <OrderNoEndsWith>String</OrderNoEndsWith>
  <OrderNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </OrderNoIn>
  <OrderNoLike>String</OrderNoLike>
  <OrderNoStartsWith>String</OrderNoStartsWith>
  <PartNo>String</PartNo>
  <PartNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PartNoBetween>
  <PartNoContains>String</PartNoContains>
  <PartNoEndsWith>String</PartNoEndsWith>
  <PartNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PartNoIn>
  <PartNoLike>String</PartNoLike>
  <PartNoStartsWith>String</PartNoStartsWith>
  <PhysicalItem>0</PhysicalItem>
  <PhysicalItemBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:short>0</d2p1:short>
  </PhysicalItemBetween>
  <PhysicalItemGreaterThan>0</PhysicalItemGreaterThan>
  <PhysicalItemGreaterThanOrEqualTo>0</PhysicalItemGreaterThanOrEqualTo>
  <PhysicalItemIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:short>0</d2p1:short>
  </PhysicalItemIn>
  <PhysicalItemLessThan>0</PhysicalItemLessThan>
  <PhysicalItemLessThanOrEqualTo>0</PhysicalItemLessThanOrEqualTo>
  <PhysicalItemNotEqualTo>0</PhysicalItemNotEqualTo>
  <QuantityThisDel>0</QuantityThisDel>
  <QuantityThisDelBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </QuantityThisDelBetween>
  <QuantityThisDelGreaterThan>0</QuantityThisDelGreaterThan>
  <QuantityThisDelGreaterThanOrEqualTo>0</QuantityThisDelGreaterThanOrEqualTo>
  <QuantityThisDelIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </QuantityThisDelIn>
  <QuantityThisDelLessThan>0</QuantityThisDelLessThan>
  <QuantityThisDelLessThanOrEqualTo>0</QuantityThisDelLessThanOrEqualTo>
  <QuantityThisDelNotEqualTo>0</QuantityThisDelNotEqualTo>
  <RecordDate>0001-01-01T00:00:00</RecordDate>
  <RecordDateBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
  </RecordDateBetween>
  <RecordDateGreaterThan>0001-01-01T00:00:00</RecordDateGreaterThan>
  <RecordDateGreaterThanOrEqualTo>0001-01-01T00:00:00</RecordDateGreaterThanOrEqualTo>
  <RecordDateIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
  </RecordDateIn>
  <RecordDateLessThan>0001-01-01T00:00:00</RecordDateLessThan>
  <RecordDateLessThanOrEqualTo>0001-01-01T00:00:00</RecordDateLessThanOrEqualTo>
  <RecordDateNotEqualTo>0001-01-01T00:00:00</RecordDateNotEqualTo>
  <RunNo>String</RunNo>
  <RunNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </RunNoBetween>
  <RunNoContains>String</RunNoContains>
  <RunNoEndsWith>String</RunNoEndsWith>
  <RunNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </RunNoIn>
  <RunNoLike>String</RunNoLike>
  <RunNoStartsWith>String</RunNoStartsWith>
  <TaxExemptNo>String</TaxExemptNo>
  <TaxExemptNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TaxExemptNoBetween>
  <TaxExemptNoContains>String</TaxExemptNoContains>
  <TaxExemptNoEndsWith>String</TaxExemptNoEndsWith>
  <TaxExemptNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TaxExemptNoIn>
  <TaxExemptNoLike>String</TaxExemptNoLike>
  <TaxExemptNoStartsWith>String</TaxExemptNoStartsWith>
  <TaxID>String</TaxID>
  <TaxIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TaxIDBetween>
  <TaxIDContains>String</TaxIDContains>
  <TaxIDEndsWith>String</TaxIDEndsWith>
  <TaxIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TaxIDIn>
  <TaxIDLike>String</TaxIDLike>
  <TaxIDStartsWith>String</TaxIDStartsWith>
  <TaxPaid>0</TaxPaid>
  <TaxPaidBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </TaxPaidBetween>
  <TaxPaidGreaterThan>0</TaxPaidGreaterThan>
  <TaxPaidGreaterThanOrEqualTo>0</TaxPaidGreaterThanOrEqualTo>
  <TaxPaidIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </TaxPaidIn>
  <TaxPaidLessThan>0</TaxPaidLessThan>
  <TaxPaidLessThanOrEqualTo>0</TaxPaidLessThanOrEqualTo>
  <TaxPaidNotEqualTo>0</TaxPaidNotEqualTo>
  <TaxToCharge>0</TaxToCharge>
  <TaxToChargeBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </TaxToChargeBetween>
  <TaxToChargeGreaterThan>0</TaxToChargeGreaterThan>
  <TaxToChargeGreaterThanOrEqualTo>0</TaxToChargeGreaterThanOrEqualTo>
  <TaxToChargeIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </TaxToChargeIn>
  <TaxToChargeLessThan>0</TaxToChargeLessThan>
  <TaxToChargeLessThanOrEqualTo>0</TaxToChargeLessThanOrEqualTo>
  <TaxToChargeNotEqualTo>0</TaxToChargeNotEqualTo>
  <WholeSaleInvoice>false</WholeSaleInvoice>
</SO_ProfitQuery>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponseOfSO_Profit7kRqkrSv 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_Profit>
      <d2p1:_x003C_AccountNo_x003E_k__BackingField>String</d2p1:_x003C_AccountNo_x003E_k__BackingField>
      <d2p1:_x003C_BillWhenComplete_x003E_k__BackingField>0</d2p1:_x003C_BillWhenComplete_x003E_k__BackingField>
      <d2p1:_x003C_ClassDescription_x003E_k__BackingField>String</d2p1:_x003C_ClassDescription_x003E_k__BackingField>
      <d2p1:_x003C_CostIn_x003E_k__BackingField>0</d2p1:_x003C_CostIn_x003E_k__BackingField>
      <d2p1:_x003C_CreditNote_x003E_k__BackingField>false</d2p1:_x003C_CreditNote_x003E_k__BackingField>
      <d2p1:_x003C_CurrentLineTotal_x003E_k__BackingField>0</d2p1:_x003C_CurrentLineTotal_x003E_k__BackingField>
      <d2p1:_x003C_DebtorID_x003E_k__BackingField>String</d2p1:_x003C_DebtorID_x003E_k__BackingField>
      <d2p1:_x003C_DecimalPlaces_x003E_k__BackingField>0</d2p1:_x003C_DecimalPlaces_x003E_k__BackingField>
      <d2p1:_x003C_Description_x003E_k__BackingField>String</d2p1:_x003C_Description_x003E_k__BackingField>
      <d2p1:_x003C_HistoryNo_x003E_k__BackingField>0</d2p1:_x003C_HistoryNo_x003E_k__BackingField>
      <d2p1:_x003C_InventoryClassificationID_x003E_k__BackingField>String</d2p1:_x003C_InventoryClassificationID_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceHistoryID_x003E_k__BackingField>String</d2p1:_x003C_InvoiceHistoryID_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceID_x003E_k__BackingField>String</d2p1:_x003C_InvoiceID_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceLineID_x003E_k__BackingField>String</d2p1:_x003C_InvoiceLineID_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceNo_x003E_k__BackingField>String</d2p1:_x003C_InvoiceNo_x003E_k__BackingField>
      <d2p1:_x003C_Name_x003E_k__BackingField>String</d2p1:_x003C_Name_x003E_k__BackingField>
      <d2p1:_x003C_NonStock_x003E_k__BackingField>false</d2p1:_x003C_NonStock_x003E_k__BackingField>
      <d2p1:_x003C_OrderNo_x003E_k__BackingField>String</d2p1:_x003C_OrderNo_x003E_k__BackingField>
      <d2p1:_x003C_PartNo_x003E_k__BackingField>String</d2p1:_x003C_PartNo_x003E_k__BackingField>
      <d2p1:_x003C_PhysicalItem_x003E_k__BackingField>0</d2p1:_x003C_PhysicalItem_x003E_k__BackingField>
      <d2p1:_x003C_QuantityThisDel_x003E_k__BackingField>0</d2p1:_x003C_QuantityThisDel_x003E_k__BackingField>
      <d2p1:_x003C_RecordDate_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_RecordDate_x003E_k__BackingField>
      <d2p1:_x003C_RunNo_x003E_k__BackingField>String</d2p1:_x003C_RunNo_x003E_k__BackingField>
      <d2p1:_x003C_TaxExemptNo_x003E_k__BackingField>String</d2p1:_x003C_TaxExemptNo_x003E_k__BackingField>
      <d2p1:_x003C_TaxID_x003E_k__BackingField>String</d2p1:_x003C_TaxID_x003E_k__BackingField>
      <d2p1:_x003C_TaxPaid_x003E_k__BackingField>0</d2p1:_x003C_TaxPaid_x003E_k__BackingField>
      <d2p1:_x003C_TaxToCharge_x003E_k__BackingField>0</d2p1:_x003C_TaxToCharge_x003E_k__BackingField>
      <d2p1:_x003C_WholeSaleInvoice_x003E_k__BackingField>false</d2p1:_x003C_WholeSaleInvoice_x003E_k__BackingField>
    </d2p1:SO_Profit>
  </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_Profit7kRqkrSv>