PUT 17.0/database/billitems/{id}

Description

Update existing Bill Items

URI Parameters

Name Description Type Additional information
id

integer

Required

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
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

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": 2,
  "productID": 3,
  "taxRateID": 4,
  "taxRate": 5.0,
  "amount": 6.0
}

application/xml, text/xml

Sample:
<BillItems xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <BillID>2</BillID>
  <ProductID>3</ProductID>
  <TaxRateID>4</TaxRateID>
  <TaxRate>5</TaxRate>
  <Amount>6</Amount>
</BillItems>