GET api/{database}/PurchaseInfoList
Gets a list of PurchaseInfo that matches the specified criteria
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", "sequenceNumber": 8, "supplierId": "sample string 9" }, { "currencyId": "sample string 1", "discountPercentage": 2.0, "orderCode": "sample string 3", "orderQuantity": 4.0, "preferred": true, "price": 6.0, "productId": "sample string 7", "sequenceNumber": 8, "supplierId": "sample string 9" }, { "currencyId": "sample string 1", "discountPercentage": 2.0, "orderCode": "sample string 3", "orderQuantity": 4.0, "preferred": true, "price": 6.0, "productId": "sample string 7", "sequenceNumber": 8, "supplierId": "sample string 9" } ]
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> <SequenceNumber>8</SequenceNumber> <SupplierId>sample string 9</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> <SequenceNumber>8</SequenceNumber> <SupplierId>sample string 9</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> <SequenceNumber>8</SequenceNumber> <SupplierId>sample string 9</SupplierId> </PurchaseInfo> </ArrayOfPurchaseInfo>