Read price lists
/xml/ReadPriceLists
Listataan Hinnastot / Read list of Pricelists (Hinnastojen hallinnan kautta luodut hinnastot).
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
PriceListNumber | int | hinnastonro |
|
|
ChangedAfter | Date | Tietueen muutospäivä | Hinnastonumerohaku ajaa tämän yli. / PriceListNumber fetch overrides this |
|
Output /xml/PriceListInfo |
|
|
|
|
PriceListNumber | int | hinnastonro |
|
|
PriceListName | int | hinnasonimi |
|
|
ValidFromDate | int | alkupvm |
|
|
ValidToDate | string | loppupvm |
|
|
PaymentTerm | string | mehto |
|
|
Txt | string | txt |
|
|
AllCustomers | bool | allcustomers | Onko kaikille asiakkaille / Is the price list for all customers |
|
RecordCreatedBy | string | tietueuser |
|
|
RecordCreatedDate | datetime | tietuepvm |
|
|
RecordEditedBy | string | tietuemuser |
|
|
RecordEditedDate | datetime | tietuempvm |
|
|
GUID | guid | guid |
|
|
/xml/PriceListInfo/PriceListCustomerInfos | PriceListCustomerInfo |
|
|
|
/xml/PriceListInfo/PriceListArticleInfos | PriceListArticleInfo |
|
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8" ?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadPriceLists>
<PriceListNumber>5</PriceListNumber>
</ReadPriceLists>
</xml>
Read price list articles
/xml/ReadPriceListArticles
Listataan hinnasto tuotteet / Read list of pricelist articles.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
PriceListNumber | int | hinnastonro |
|
|
ArticleCode | string | koodi |
|
|
Output /xml/PriceListArticleInfo |
|
|
|
|
PriceListNumber | int | hinnastonro |
|
|
RunNumber | int | juoksu |
|
|
Page | int | sivu |
|
|
ArticleCode | string | koodi |
|
|
ArticleName | string | nimike |
|
|
PackageSize | decimal | pakkauskoko |
|
|
ListPrice | decimal | hinnastohinta |
|
|
EndCustomerPrice | decimal | loppuasiakashinta |
|
|
DeliveryWeek | string | toimitusviikko |
|
|
Txt | string | txt |
|
|
RecordEditedBy | string | tietuemuser |
|
|
RecordEditedDate | datetime | tietuempvm |
|
|
GUID | guid | guid |
|
|
Title | string | otsikko |
|
|
Discount | decimal | ale |
|
|
BatchSize | decimal | erakoko |
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8" ?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadPriceListArticles>
<PriceListNumber>11</PriceListNumber>
<ArticleCode>12</ArticleCode>
</ReadPriceListArticles>
</xml>
Read price list customers
/xml/ReadPriceListCustomers
Listataan Hinnastoasiakkaat / Read list of Pricelist Customers.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
CustomerNumber | int | asiakasnro |
|
|
PriceListNumber | int | hinnastonro |
|
|
Output /xml/PriceListCustomerInfo |
|
|
|
|
PriceListNumber | int | hinnastonro |
|
|
ID | int | id |
|
|
CustomerNumber | int | asiakasnro |
|
|
CustomerName | string | asiakasnimi |
|
|
Contact | string | henkilonimi |
|
|
string |
|
| ||
SendEmail | bool | lahetaemail |
|
|
RecordEditedBy | string | tietuemuser |
|
|
RecordEditedDate | datetime | tietuempvm |
|
|
GUID | guid | guid |
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8" ?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadPriceListCustomers>
<CustomerNumber>102</CustomerNumber>
<PriceListNumber>5</PriceListNumber>
</ReadPriceListCustomers>
</xml>
