GET api/{database}/ProductInfo/{productId}
Gets the specified ProductInfo.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
productId | The productId. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "accountId": "sample string 1", "coverageAccountId": "sample string 2", "dateCreated": "sample string 3", "description": "sample string 4", "discountAccountId": "sample string 5", "eanCode": "sample string 6", "intrastatCode": 7, "lastUpdate": "sample string 8", "priceExclVat": 9.0, "priceInclVat": 10.0, "pricePer": 11.0, "printOnInvoice": true, "printOnQuote": true, "printOnShippingOrder": true, "printOnWarehouseOrder": true, "productGroupId": "sample string 16", "productId": "sample string 17", "productState": 0, "productType": 0, "projectEntryType": "sample string 18", "projectSurcharge": 19.0, "purchaseOrderSequenceNumber": 20, "quantityScale": 21, "shortName": "sample string 22", "stockTransferPrice": 23.0, "technicalStock": 24.0, "unit": "sample string 25", "vatCodeId": 26, "weight": 27.0 }
application/xml, text/xml
Sample:
<ProductInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Logistics.Info"> <AccountId>sample string 1</AccountId> <CoverageAccountId>sample string 2</CoverageAccountId> <DateCreated>sample string 3</DateCreated> <Description>sample string 4</Description> <DiscountAccountId>sample string 5</DiscountAccountId> <EANCode>sample string 6</EANCode> <IntrastatCode>7</IntrastatCode> <LastUpdate>sample string 8</LastUpdate> <PriceExclVat>9</PriceExclVat> <PriceInclVat>10</PriceInclVat> <PricePer>11</PricePer> <PrintOnInvoice>true</PrintOnInvoice> <PrintOnQuote>true</PrintOnQuote> <PrintOnShippingOrder>true</PrintOnShippingOrder> <PrintOnWarehouseOrder>true</PrintOnWarehouseOrder> <ProductGroupId>sample string 16</ProductGroupId> <ProductId>sample string 17</ProductId> <ProductState>Active</ProductState> <ProductType>NonStockProduct</ProductType> <ProjectEntryType>sample string 18</ProjectEntryType> <ProjectSurcharge>19</ProjectSurcharge> <PurchaseOrderSequenceNumber>20</PurchaseOrderSequenceNumber> <QuantityScale>21</QuantityScale> <ShortName>sample string 22</ShortName> <StockTransferPrice>23</StockTransferPrice> <TechnicalStock>24</TechnicalStock> <Unit>sample string 25</Unit> <VatCodeId>26</VatCodeId> <Weight>27</Weight> </ProductInfo>