GET v1/PurchaseProduct/{purchaseProductId}
Get detailed information about a PurchaseProduct.
Request Information
Requires Authorization!
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseProductId |
The PurchaseProduct Id |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A PurchaseProduct object.
PurchaseProduct
| Name | Description | Type | Additional information |
|---|---|---|---|
| ShippingCostsExVAT |
Gets or sets the shipping costs (exclude VAT). |
decimal number |
None. |
| ForeignPurchasePriceExVAT |
Gets or sets the foreign purchase price (exclude VAT). |
decimal number |
None. |
| ExchangeRate |
Gets or sets the exchange rate. |
decimal number |
Required |
| DeliverTimeDays |
Gets or sets the deliver time days. |
integer |
None. |
| EndOfLife | boolean |
Required |
|
| Available |
Gets or sets a value indicating whether this is available. |
boolean |
Required |
| Id |
Gets or sets the identifier. |
integer |
Required |
| SupplierId |
Gets or sets the supplier identifier. |
integer |
Required |
| SupplierSKU |
Gets or sets the supplier stock keeping unit. |
string |
None. |
| PurchasePriceExVAT |
Gets or sets the purchase price (exclude VAT). |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"ShippingCostsExVAT": 1.0,
"ForeignPurchasePriceExVAT": 1.0,
"ExchangeRate": 1.0,
"DeliverTimeDays": 1,
"EndOfLife": true,
"Available": true,
"Id": 4,
"SupplierId": 5,
"SupplierSKU": "sample string 6",
"PurchasePriceExVAT": 1.0
}
application/xml, text/xml
Sample:
<PurchaseProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>4</Id> <SupplierId>5</SupplierId> <SupplierSKU>sample string 6</SupplierSKU> <PurchasePriceExVAT>1</PurchasePriceExVAT> <ShippingCostsExVAT>1</ShippingCostsExVAT> <ForeignPurchasePriceExVAT>1</ForeignPurchasePriceExVAT> <ExchangeRate>1</ExchangeRate> <DeliverTimeDays>1</DeliverTimeDays> <EndOfLife>true</EndOfLife> <Available>true</Available> </PurchaseProduct>