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 |
| 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 |
xd_update=1 and posting the whole document. Default values (ALT.FROM): Mandatory fields.
Type=14).| 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:
session_id – for internal use at Directo side, do not send this field!| XML field | SQL field | Type | Length | Mandatory | UI label | Description |
|---|---|---|---|---|---|---|
code | kood | string | 32 | |||
content | sisu | string | 2000 | Sisu | ||
param | param | string | 64 | Parameeter |
Component-specific; add from the source wiki if this component has parameters.
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>