POST api/pricelists/pricelistlines?id={id}&date={date}
Gets pricelist lines changed since a date for selected articles.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
PriceList ID. |
globally unique identifier |
Required |
| date |
Date changed after. |
date |
Required |
Body Parameters
List of article numbers.
Collection of integerRemarks
Description
Pricelist Guid identifier
Date from which pricelist lines have changed.
Example
//Gets the pricelist with id = {Guid} and specified lines that have chanced since a date.
http://localhost/api/pricelists/pricelistlines?id={guid}&date=01-01-2020
BODY: [1, 2, 3]
Request Formats
application/json, text/json
[ 1, 2 ]
application/xml, text/xml
<ArrayOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <long>1</long> <long>2</long> </ArrayOflong>
application/x-www-form-urlencoded
Response Information
Resource Description
Returns the pricelist with the pricelist lines, corresponding to the articles input, that have changed since date.
PricelistHeadResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
|
| Name | string |
Required Max length: 200 |
|
| Expire | date |
None. |
|
| CurrencyId | integer |
Required |
|
| CurrencyName | string |
Required |
|
| IncludeVat | boolean |
Required |
|
| PriceListLines | Collection of PricelistLineResponse |
None. |
Response Formats
application/json, text/json
{
"Id": "00bd13b1-5648-4a8a-a9d9-3969a3f02a7d",
"Name": "sample string 2",
"Expire": "4/16/2026 1:21:26 PM",
"CurrencyId": 3,
"CurrencyName": "sample string 4",
"IncludeVat": true,
"PriceListLines": [
{
"ArticleNo": 1,
"Price": 2.0,
"DiscountFactor": 3.0,
"ArticlePackageId": "477fdeee-7a9c-4559-9df4-7784c406a3a4"
},
{
"ArticleNo": 1,
"Price": 2.0,
"DiscountFactor": 3.0,
"ArticlePackageId": "477fdeee-7a9c-4559-9df4-7784c406a3a4"
}
]
}
application/xml, text/xml
<PricelistHeadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Article">
<CurrencyId>3</CurrencyId>
<CurrencyName>sample string 4</CurrencyName>
<Expire>2026-04-16T13:21:26.7909723+01:00</Expire>
<Id>00bd13b1-5648-4a8a-a9d9-3969a3f02a7d</Id>
<IncludeVat>true</IncludeVat>
<Name>sample string 2</Name>
<PriceListLines>
<PricelistLineResponse>
<ArticleNo>1</ArticleNo>
<ArticlePackageId>477fdeee-7a9c-4559-9df4-7784c406a3a4</ArticlePackageId>
<DiscountFactor>3</DiscountFactor>
<Price>2</Price>
</PricelistLineResponse>
<PricelistLineResponse>
<ArticleNo>1</ArticleNo>
<ArticlePackageId>477fdeee-7a9c-4559-9df4-7784c406a3a4</ArticlePackageId>
<DiscountFactor>3</DiscountFactor>
<Price>2</Price>
</PricelistLineResponse>
</PriceListLines>
</PricelistHeadResponse>