Description
Initial schedules absences
Each resource is an absence from the initial schedules for a set of employees entered in the parameters or from a list of employees (input file).
| URI | <url_de_base>/absences_prev |
|---|---|
| Category | http://schemas.holydis.com/tsq/2010#jour_absences_prev |
| Available for writing | No |
Editable schedules absences
Each resource is an absence from the editable schedules for a set of employees entered in the parameters or from a list of employees (input file).
| URI | <url_de_base>/absences_mod |
|---|---|
| Category | http://schemas.holydis.com/tsq/2010#jour_absences_mod |
| Available for writing | No |
Actual schedules absences
Each resource is an absence from the actual schedules for a set of employees entered in the parameters or from a list of employees (input file).
| URI | <url_de_base>/absences_real |
|---|---|
| Category | http://schemas.holydis.com/tsq/2010#jour_absences_real |
| Available for writing | No |
Specific settings
| Setting | Description |
|---|---|
| idsPersonnes | Filters absences based on the specified person base identifiers (is not compatible with the parameters datetime-min et datetime-max). |
| datetime-min | Filters available absences after or during the specified date (is not compatible with the parameter idsPersonnes). |
| datetime-max | Filters available absences before or during the specified date (is not compatible with the parameter idsPersonnes). |
| planningValid | Filters absences from validated schedules (true) or non-validated schedules (false). |
Elements
| Element | Description |
|---|---|
| absencesPlanningPersonnes | Contains the absence of the day. |
| periode | The time period covered by these days of absence. This period indicates the start and end timestamp. It also indicates the day change time associated with the calendar to which the employee is assigned for the date of the absence. If the employee does not have a calendar assignment for that date, this is the default calendar day change time of the structure to which the employee is assigned. All periods for which there is an absence are in the time zone of the employee's calendar in the period. |
Examples of requests
Reading
Read all the absences from the initial schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_prev/2022-06-18?idsPersonnes=16000,16007
Example of XML request results
Example of JSON request results
Read all the absences from the editable schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_mod/2022-06-18?idsPersonnes=16000,16007
Example of XML request results
Example of JSON request results
Read all the absences from the actual schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_real/2022-06-18?idsPersonnes=16000,16007
Example of XML request results
Example of JSON request results
Read all the absences from the initial validated schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_prev/2022-06-18?planningValid=true&idsPersonnes=16000,16007
Read all the absences from the editable validated schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_mod/2022-06-18?planningValid=true&idsPersonnes=16000,16007
Read all the absences from the actual validated schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_real/2022-06-18?planningValid=true&idsPersonnes=16000,16007
Read all the absences from the initial current schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_prev/2022-06-18?planningValid=false&idsPersonnes=16000,16007
Read all the absences from the editable current schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_mod/2022-06-18?planningValid=false&idsPersonnes=16000,16007
Read all the absences from the actual current schedule for two employees whose database identifiers are 16000 and 16007 for a given date (on 18/06/2022)
GET /[URI_de_base]/api/feed/absences_real/2022-06-18?planningValid=false&idsPersonnes=16000,16007
Read all the absences from the initial schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_prev?datetime-min=2022-06-01&datetime-max=2022-06-30
Read all the absences from the initial validated schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_prev?datetime-min=2022-06-01&datetime-max=2022-06-30&planningValid=true
Read all the absences from the initial not validated schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_prev?datetime-min=2022-06-01&datetime-max=2022-06-30&planningValid=false
Read all the absences from the editable schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_mod?datetime-min=2022-06-01&datetime-max=2022-06-30
Read all the absences from the editable validated schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_mod?datetime-min=2022-06-01&datetime-max=2022-06-30&planningValid=true
Read all the absences from the editable not validated schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_mod?datetime-min=2022-06-01&datetime-max=2022-06-30&planningValid=false
Read all the absences from the actual schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_real?datetime-min=2022-06-01&datetime-max=2022-06-30
Read all the absences from the actual validated schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_real?datetime-min=2022-06-01&datetime-max=2022-06-30&planningValid=true
Read all the absences from the actual not validated schedule for a set of employees (input file) for a given period (from 01/06/2022 to 30/06/2022)
GET /[URI_de_base]/api/feed/absences_real?datetime-min=2022-06-01&datetime-max=2022-06-30&planningValid=false
Comments
0 comments
Please sign in to leave a comment.