Booking

<< Click to Display Table of Contents >>

Navigation:  Types >

Booking

Tag/field name

Type

Remark

Description

id

long

Leave the id empty for new hour bookings.

If the id has got a value, the hour booking with the id will be updated.

hour booking id

start

datetime

Mandatory

format: yyyy-mm-ddThh:mm:ss.sss  e.g.: 2017-12-23T14:15:00.000

If the request is send with roundTimes set to true, start can be rounded.

start date/time hour booking

duration

integer

Mandatory (must be greater than 0)

If the request is send with roundTimes set to true, duration can be rounded.

duration in minutes

approvalLevel 1) 2)

integer


approval level

leaveState 2)

integer


leave status

invoiced 2)

boolean


Invoiced

id_IT_MED

long


employee id

id_GR_MED 1)

long


employee group (role) id

id_IT_TAA

long


id of a task

id_IT_AT1

long


id aspect 1

id_IT_AT2

long


id aspect 2

id_IT_AT3

long


id aspect 3

id_IT_AT4 1)

long


id aspect 4

id_IT_AT5 1)

long


id aspect 5

name_IT_MED 2)

string


name of the employee

name_GR_MED 1) 2)

string


name of the role

name_IT_TAA 2)

string


name of the task

name_IT_AT1 2)

string


name of the aspect 1

name_IT_AT2 2)

string


name of the aspect 2

name_IT_AT3 2)

string


name of the aspect 3

name_IT_AT4 1) 2)

string


name of the aspect 4

name_IT_AT5 1) 2)

string


name of the aspect 5

userFieldList

List<UserField>

An hour booking can have none or multiple user fields

see UserField

 

1) Only for TimeWriter Pro.

2) Only for your information when requesting an hour booking.