Price info
/xml/PriceInfo/
Tällä haetaan asiakkaan tietyn tuotteen hinta / Returns customers price for an article.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
CustomerNumber | string | Asiakkaan numero |
| * |
ProductCode | string | Tuotekoodi |
| * |
Amount | number | Määrä, jota hinta koskee | Jos tyhjä niin palautta yhden kpl hinnan / If empty, returns the price of one pcs | * |
Price | number | Tuotteen hinta | saatu hinta / price for the article | * |
Discount | number | Tuotteen alennus | saadut alennukset / discount for the article | * |
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<PriceInfo>
<CustomerNumber>42</CustomerNumber>
<ProductCode>Tuote</ProductCode>
<Amount></Amount>
<Price></Price>
<Discount></Discount>
</PriceInfo>
</xml>
Read customer price list
/xml/ReadCustomerPriceList/
Tämä palauttaa asiakashinnaston tiedot / This returns customer price list information.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
CustomerNumber | integer | Asiakashinnasto, eli asiakkaalle määritelty hinnasto asiakaskortiston Tiedosto | Hinnasto ikkunassa / Customer price list, defined in customer register underneath File | Price list |
| * |
Output /xml/ReadCustomerPriceList/PricelistItem |
|
|
|
|
ProductCode | string | Tuotteen koodi |
|
|
Batch |
| Erätieto |
|
|
ContractPrice | decimal | Sop.ovh |
|
|
ContractDiscount | decimal | Sopimus ale% (SOPALE) |
|
|
ContractDiscount2 | decimal | Sopimus ale2% (SOPALE2) |
|
|
Person | string | Henkilö |
|
|
PricelistDate | string | hinnastorivin pvm |
|
|
PrintDescription | string | nimike1 tieto tulostusmuodossa |
|
|
PrintDescription2 | string | nimike2 tieto tulostusmuodossa |
|
|
ValidDate | date | hinnastorivin hinnan voimassaolopvm |
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadCustomerPriceList>
<CustomerNumber>2</CustomerNumber>
</ReadCustomerPriceList>
</xml>
Read customer product prices
/xml/ReadCustomerProductPrices/
Tämä palauttaa asiakkaan hinnat tuotteille / This returns customers prices for articles.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
CustomerNumber | integer | Asiakasnumero |
| * |
ArticleCodes | string |
| Tähän voit antaa tuotekoodirajauksen. Tuotekoodit tulee olla pilkulla eroteltuina. Esim. <ArticleCodes>Tuote1,Tuote2</ArticleCodes> / With this you can filter the response to include a desired list of article codes. Article codes shall be separated with comma, for example <ArticleCodes>art1,art2</ArticleCodes> |
|
Output /xml/ProductPrices/ProductPrice |
|
|
|
|
ProductCode | string | Tuotteen koodi |
|
|
Amount | int | On aina 1, siis palauttaa hinnan 1kpl tuotteesta | Tämä ei ota huomioon jos on määrä alennuksia |
|
Price | decimal | Hinta |
|
|
Discount | decimal | alennus |
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadCustomerProductPrices>
<CustomerNumber>42</CustomerNumber>
</ReadCustomerProductPrices>
</xml>
Read discount chart
/xml/ReadDiscountChart/
Tämä palauttaa aletaulukon tiedot / Returns discount chart information.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
Output /xml/DiscountChart/ChartItem |
|
|
|
|
CustomerDiscountGroupId | integer | asiakkaan aleryhmä |
|
|
Discount | decimal | ale |
|
|
ProductDiscountGroupId | integer | tuotealeryhmä |
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadDiscountChart />
</xml>
Read general price list
/xml/ReadGeneralPriceList/
Tämä palauttaa yleishinnaston tiedot / This returns general price list information.
Elementti / Element | Tyyppi / Type | Selite | Lisätieto / Additional information | Pakollinen / Mandatory
|
Number | integer | Varaston yleishinnaston numero | Jos number=0, niin se palauttaa kaikki yleishinnastot. / If number=0, then it will return all general price lists | * |
Output /xml/GeneralPricelist/PricelistItem |
|
|
|
|
Number | Attribute | Yleishinnaston numero |
|
|
ProductCode | string | Tuotteen koodi |
|
|
BatchSize | decimal | Määrä |
|
|
ContractPrice | decimal | Sop.ovh |
|
|
ContractDiscount | decimal | Sopimus Ale% (SOPALE) |
|
|
ContractDiscount2 | decimal | Sopimus Ale2% (SOPALE2) |
|
|
Person | string | Henkilö |
|
|
PricelistDate | string | hinnastorivin pvm |
|
|
PrintDescription | string | nimike1 tieto tulostusmuodossa |
|
|
PrintDescription2 | string | nimike2 tieto tulostusmuodossa |
|
|
ValidDate | date | hinnastorivin hinnan voimassaolopvm |
|
|
ItemName | string | Nimike |
|
|
Esimerkki / Example:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<login>
<hash dsn="nova">73685dbea3290215b74a3a2e9c1c3ecc</hash>
</login>
<ReadGeneralPriceList>
<Number>42</Number>
</ReadGeneralPriceList>
</xml>
