POST 17.0/database/billitems/list

Description

Retrieve a list of Bill Items

URI Parameters

None.

Name Description Type Additional information
Fields

Collection of string

None.

Filters

Collection of DatabaseFilter

None.

Order

string

None.

application/json, text/json

Sample:
{
  "fields": [
    "sample string 1",
    "sample string 2"
  ],
  "filters": [
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    },
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    }
  ],
  "order": "sample string 1"
}

application/xml, text/xml

Sample:
<ListOptions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fields>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Fields>
  <Filters>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
  </Filters>
  <Order>sample string 1</Order>
</ListOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Collection of BillItemsUpdate
Name Description Type Additional information
ID

integer

None.

BillID

integer

None.

ProductID

integer

None.

TaxRateID

integer

None.

TaxRate

decimal number

None.

Amount

decimal number

None.

application/json, text/json

Sample:
[
  {
    "id": 1,
    "billID": 1,
    "productID": 1,
    "taxRateID": 1,
    "taxRate": 1.0,
    "amount": 1.0
  },
  {
    "id": 1,
    "billID": 1,
    "productID": 1,
    "taxRateID": 1,
    "taxRate": 1.0,
    "amount": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfBillItemsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <BillItemsUpdate>
    <ID>1</ID>
    <BillID>1</BillID>
    <ProductID>1</ProductID>
    <TaxRateID>1</TaxRateID>
    <TaxRate>1</TaxRate>
    <Amount>1</Amount>
  </BillItemsUpdate>
  <BillItemsUpdate>
    <ID>1</ID>
    <BillID>1</BillID>
    <ProductID>1</ProductID>
    <TaxRateID>1</TaxRateID>
    <TaxRate>1</TaxRate>
    <Amount>1</Amount>
  </BillItemsUpdate>
</ArrayOfBillItemsUpdate>