User Tools

Site Tools



en:xml_direct:finants:asset

Assets (asset)

Assets. Domain: Finance.

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

Output (get)

Query (get)

Parameter Description
token interface token (required)
get 1
what asset
code optional filter
sn optional filter
user optional filter
barcode optional filter
item optional filter
type optional filter
closed optional filter
ts changed-since (for syncing)
XML field SQL field Type Length UI label Description
code kood int
sn seerianumber string
project projekt string
name nimetus string
date aeg dateTime
date2 aeg2 dateTime
purchaseprice s_maksumus decimal
currentvalue h_maksumus decimal
purchased aeg_ostetud dateTime
type mis int
class klass string
supplier hankija_kood string
suppliername hankija_nimi string
amortaccount k_amort string
depreciationaccount k_kulum string
writeoffaccount k_maha string
assetaccount k_vara string
calcmethod meetod int
qty kogus decimal
salesprofit myygi_kasum string
salesloss myygi_kahjum string
leasing auto_liising int
endofdepreciation amort_lopp dateTime
comment kommentaar string
department osakond string
customer klient_kood string
customername klient_nimi string
user kasutaja string
barcode ribakood string
master master string
minvalue jaakvaartus decimal
item artikkel string
incharge vastutaja string
object objekt string
closed suletud int
ts ts dateTime

Extra fields

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

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).

Header

XML field SQL field Type Length Mandatory UI label Description
code kood int Kontakt used for update, leave this field out to create new contacts
comment kommentaar string
sn seerianumber string
department osakond string
customer klient_kood string
customername klient_nimi string
project projekt string
user kasutaja string
name nimetus string
barcode ribakood string
master master string
date aeg dateTime Vara: Arvestuse algus/Kl vara: Soetuse aeg
date2 aeg2 dateTime
purchaseprice s_maksumus decimal
currentvalue h_maksumus decimal
minvalue jaakvaartus decimal
item artikkel string
incharge vastutaja string
purchased aeg_ostetud dateTime Vara: Ostetud/Kl vara: -
type mis int
class klass string
supplier hankija_kood string
suppliername hankija_nimi string
closed suletud int
purchaseinvoice ostuarve int
amort amort decimal
object objekt string
depreciation kulum decimal
address aadress string
phone telefon string
email email string
valuecorrection lisasumma decimal
disposaltime loovutamisaeg dateTime
warranty garantii_aeg dateTime
extwarranty lisagarantii_aeg dateTime
calcmethod meetod int
qty kogus decimal
rentalasset rendi_inventar int
rentalitem artikkel_rent string
rentaltime1 rent_aeg1 dateTime
rentaltime2 rent_aeg2 dateTime
rentalunit rendi_yhik int
auto auto_erisoodustus int
endofdepreciation amort_lopp dateTime
unitprice yhikuhind decimal

Do not send:

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

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="ASSET" submit="Assets"/>
</results>
en/xml_direct/finants/asset.txt · Last modified: 2026/06/25 15:24 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki