GET api/pricelists/{plid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| plid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PriceList| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
|
| AcceptsCustomValues | boolean |
None. |
|
| IsDefault | boolean |
None. |
|
| DefaultSaleTypeId | integer |
None. |
|
| MaxDiscountPercent | integer |
None. |
|
| IsCalculated | boolean |
None. |
|
| CalculationFactor | decimal number |
None. |
|
| ParentId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Code": "sample string 2",
"Description": "sample string 3",
"AcceptsCustomValues": true,
"IsDefault": true,
"DefaultSaleTypeId": 6,
"MaxDiscountPercent": 7,
"IsCalculated": true,
"CalculationFactor": 9.1,
"ParentId": 10
}
application/xml, text/xml
Sample:
<PriceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <AcceptsCustomValues>true</AcceptsCustomValues> <CalculationFactor>9.1</CalculationFactor> <Code>sample string 2</Code> <DefaultSaleTypeId>6</DefaultSaleTypeId> <Description>sample string 3</Description> <Id>1</Id> <IsCalculated>true</IsCalculated> <IsDefault>true</IsDefault> <MaxDiscountPercent>7</MaxDiscountPercent> <ParentId>10</ParentId> </PriceList>