User Tools

Site Tools



en:xml_direct:ladu:pricechange

Price changes (pricechange)

Price changes. Domain: Stock.

what pricechange
Direction Output (get), Input (put)
Endpoint POST https://login.directo.ee/xmlcore/cap_xml_direct/xmlcore.asp
Schema (output) ws_hinnamuutused.xsd
Schema (input) xml_IN_hinnamuutused.xsd

Output (get)

Query (get)

Parameter Description
token interface token (required)
get 1
what pricechange
number optional filter
date1 period start
date2 period end
stock optional filter
ts changed-since (for syncing)
XML field SQL field Type Length UI label Description
number number int
date aeg date
project projekt string
object objekt string
stock ladu string
sum1 summa1 decimal
sum2 summa2 decimal
confirmed kinnitatud int
ts ts dateTime

Rows

XML field SQL field Type Length UI label Description
item artikkel string
name nimetus string
quantity kogus decimal
price1 hind1 decimal
price2 hind2 decimal
project r_projekt string
object r_objekt string
stock r_ladu string

Input (put)

Create: send the document. Modify: requires xd_update=1 and posting the whole document. Default values (ALT.FROM): Mandatory fields.
  • A confirmed document cannot be modified (response Type=14).
  • Confirmation can be controlled via the XML field confirm (in addition to xd_confirm).

Header

XML field SQL field Type Length Mandatory UI label Description
number number int
stock ladu string
date aeg dateTime
account konto string
comment kommentaar string
confirm kinnita int “1” - confirm document, “2” confirm and create invoice

Do not send:

  • session_id – for internal use at Directo side, do not send this field!

Rows

XML field SQL field Type Length Mandatory UI label Description
item artikkel string
description seletus string
stockprice hind1 decimal
newstockprice hind2 decimal
quantity kogus decimal
serialnumber seerianumber string
rn rn int

Transport parameters

Component-specific; add from the source wiki if this component has parameters.

Response

docid = number of the created/updated document. Error codes: Responses and error codes.

<results>
  <Result Type="0" Desc="Created" docid="100001" doctype="PRICECHANGE" submit="Price changes"/>
</results>
en/xml_direct/ladu/pricechange.txt · Last modified: 2026/06/25 15:24 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki