User Tools

Site Tools



en:xml_direct:personal:absence

Absences (absence)

Absences. Domain: HR.

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

Output (get)

Query (get)

Parameter Description
token interface token (required)
get 1
what absence
number optional filter
confirmed optional filter
employee optional filter
ts changed-since (for syncing)
XML field SQL field Type Length UI label Description
number number int
confirmed kinnitatud int
date1 aeg1 dateTime
date2 aeg2 dateTime
comment selgitus string 255
employee persoon string 32
ts ts dateTime

Rows

XML field SQL field Type Length UI label Description
employee persoon string 32
absencetype r_liik string 32
date1 r_aeg1 dateTime
date2 r_aeg2 dateTime
comment kommentaar string 255
denied keeldus dateTime
deniedcomment keeldumise_kommentaar string
inadvance ette int
substitute asendaja string 32
rn rn int

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
number number int 9 yes Laekumine document number/ID, mandatory; It must be unique for each document and remain same if more than one transaction of the same document is necessary
date1 aeg1 dateTime
date2 aeg2 dateTime
comment selgitus string 255
employeecode persoon string 32
delete kustuta int “1” means delete

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
employeecode persoon string 32
absencetype r_liik string 32
date1 r_aeg1 dateTime
date2 r_aeg2 dateTime
newend uus_lopp dateTime
comment kommentaar string 255
inadvance ette int
substitute asendaja string 32
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="ABSENCE" submit="Absences"/>
</results>
en/xml_direct/personal/absence.txt · Last modified: 2026/06/25 15:24 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki