POST portal/api/Sales/v1/Invoice/GetItemPrice

Request Information

URI Parameters

None.

Body Parameters

GetItemPriceRequest
NameDescriptionTypeAdditional information
WarehouseItemCode

string

None.

ItemQuantity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WarehouseItemCode": "sample string 1",
  "ItemQuantity": 2
}

application/xml, text/xml

Sample:
<SalesInvoiceController.GetItemPriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HorizonSSI.WebApi.Controllers">
  <ItemQuantity>2</ItemQuantity>
  <WarehouseItemCode>sample string 1</WarehouseItemCode>
</SalesInvoiceController.GetItemPriceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetItemPriceResponse
NameDescriptionTypeAdditional information
WarehouseItemCode

string

None.

ItemQuantity

integer

None.

ItemPrice

decimal number

None.

TotalPrice

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "WarehouseItemCode": "sample string 1",
  "ItemQuantity": 2,
  "ItemPrice": 3.0,
  "TotalPrice": 4.0
}

application/xml, text/xml

Sample:
<SalesInvoiceController.GetItemPriceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HorizonSSI.WebApi.Controllers">
  <ItemPrice>3</ItemPrice>
  <ItemQuantity>2</ItemQuantity>
  <TotalPrice>4</TotalPrice>
  <WarehouseItemCode>sample string 1</WarehouseItemCode>
</SalesInvoiceController.GetItemPriceResponse>