POST api/pricelists/AddPriceLists
Request Information
URI Parameters
None.
Body Parameters
PriceListName | 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>2024-09-08T03:18:03.0203983+02:00</PriceListValidityFrom> <PriceListValidityTo>2024-09-08T03:18:03.0203983+02:00</PriceListValidityTo> <Active>true</Active> <PriceListCustomerId>sample string 7</PriceListCustomerId> <InsUpdDate>2024-09-08T03:18:03.0203983+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
CreateResultName | 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>