POST api/pricelists/AddPriceLists
Request Information
URI Parameters
None.
Body Parameters
PriceList| Name | Description | Type | Additional information |
|---|---|---|---|
| PriceListId | string |
None. |
|
| PriceListDescription | string |
None. |
|
| CurrencyId | string |
None. |
|
| ExcludeDiscount | boolean |
None. |
|
| LimitedView | boolean |
None. |
|
| VatIncluded | boolean |
None. |
|
| ContractPriceList | boolean |
None. |
|
| PriceListValidityFrom | date |
None. |
|
| PriceListValidityTo | date |
None. |
|
| Active | boolean |
None. |
|
| PriceListCustomerId | string |
None. |
|
| InsUpdDate | date |
None. |
|
| PaymentPeriod | integer |
None. |
|
| Notes | string |
None. |
Request Formats
application/xml, text/xml
Sample:
<PriceList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <PriceListId>sample string 1</PriceListId> <PriceListDescription>sample string 2</PriceListDescription> <CurrencyId>sample string 3</CurrencyId> <ExcludeDiscount>true</ExcludeDiscount> <LimitedView>true</LimitedView> <VatIncluded>true</VatIncluded> <ContractPriceList>true</ContractPriceList> <PriceListValidityFrom>2025-10-24T16:31:59.0470965+02:00</PriceListValidityFrom> <PriceListValidityTo>2025-10-24T16:31:59.0470965+02:00</PriceListValidityTo> <Active>true</Active> <PriceListCustomerId>sample string 7</PriceListCustomerId> <InsUpdDate>2025-10-24T16:31:59.0470965+02:00</InsUpdDate> <PaymentPeriod>1</PaymentPeriod> <Notes>sample string 8</Notes> </PriceList>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Keys | Collection of EntityKeyField |
None. |
|
| ResultCode | ExternalResultCode |
None. |
|
| Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Keys>
<Key>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Key>
<Key>
<Name>sample string 1</Name>
<Value>sample string 2</Value>
</Key>
</Keys>
<ResultCode>None</ResultCode>
<Errors>
<Error>
<Level>Warning</Level>
<Message>sample string 1</Message>
</Error>
<Error>
<Level>Warning</Level>
<Message>sample string 1</Message>
</Error>
</Errors>
</CreateResult>