GET api/{database}/PurchaseInfoList?supplierId={supplierId}&productId={productId}
No Documentation Found.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
supplierId | No Documentation Found. |
Define this parameter in the request URI. |
productId | No Documentation Found. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "currencyId": "sample string 1", "discountPercentage": 2.0, "orderCode": "sample string 3", "orderQuantity": 4.0, "preferred": true, "price": 6.0, "productId": "sample string 7", "purchaseSurcharge": 8.0, "sequenceNumber": 9, "supplierId": "sample string 10" }, { "currencyId": "sample string 1", "discountPercentage": 2.0, "orderCode": "sample string 3", "orderQuantity": 4.0, "preferred": true, "price": 6.0, "productId": "sample string 7", "purchaseSurcharge": 8.0, "sequenceNumber": 9, "supplierId": "sample string 10" }, { "currencyId": "sample string 1", "discountPercentage": 2.0, "orderCode": "sample string 3", "orderQuantity": 4.0, "preferred": true, "price": 6.0, "productId": "sample string 7", "purchaseSurcharge": 8.0, "sequenceNumber": 9, "supplierId": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfPurchaseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Purchase.Info"> <PurchaseInfo> <CurrencyId>sample string 1</CurrencyId> <DiscountPercentage>2</DiscountPercentage> <OrderCode>sample string 3</OrderCode> <OrderQuantity>4</OrderQuantity> <Preferred>true</Preferred> <Price>6</Price> <ProductId>sample string 7</ProductId> <PurchaseSurcharge>8</PurchaseSurcharge> <SequenceNumber>9</SequenceNumber> <SupplierId>sample string 10</SupplierId> </PurchaseInfo> <PurchaseInfo> <CurrencyId>sample string 1</CurrencyId> <DiscountPercentage>2</DiscountPercentage> <OrderCode>sample string 3</OrderCode> <OrderQuantity>4</OrderQuantity> <Preferred>true</Preferred> <Price>6</Price> <ProductId>sample string 7</ProductId> <PurchaseSurcharge>8</PurchaseSurcharge> <SequenceNumber>9</SequenceNumber> <SupplierId>sample string 10</SupplierId> </PurchaseInfo> <PurchaseInfo> <CurrencyId>sample string 1</CurrencyId> <DiscountPercentage>2</DiscountPercentage> <OrderCode>sample string 3</OrderCode> <OrderQuantity>4</OrderQuantity> <Preferred>true</Preferred> <Price>6</Price> <ProductId>sample string 7</ProductId> <PurchaseSurcharge>8</PurchaseSurcharge> <SequenceNumber>9</SequenceNumber> <SupplierId>sample string 10</SupplierId> </PurchaseInfo> </ArrayOfPurchaseInfo>