Sisujuht

Fin objects (object)

Fin objects. Domain: Finance.

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

Output (get)

Query (get)

Parameter Description
token interface token (required)
get 1
what object
code optional filter
master optional filter
type optional filter
level optional filter
ts changed-since (for syncing)
XML field SQL field Type Length UI label Description
code kood string
name nimi string
master master string
masters masters string
type tyyp string
closed suletud int
level tase int
ts ts dateTime Aeg millal dokumenti viimati muudeti document last changed

Input (put)

Create: send the document. Modify: requires xd_update=1 and posting the whole document. Default values (ALT.FROM): Mandatory fields.

Header

XML field SQL field Type Length Mandatory UI label Description
code kood string
name nimi string
type tyyp string
closed suletud int
master master string
info lisainfo string
purchasevatcode ostu_kmk int
address aadress string
logo logo string
sorted so int
hierarchy hierarhia string
hierarchies hierarhiad string
level tase int
date1 aeg1 dateTime
date2 aeg2 dateTime

Do not send:

Extra fields

XML field SQL field Type Length Mandatory UI label Description
code kood string 32
content sisu string 2000 Sisu
param param string 64 Parameeter

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="OBJECT" submit="Fin objects"/>
</results>