Description
Each resource is a schedule arrangement request for an employee on a given day. It is only possible to write requests in progress, except in the case where the Chronotime Workplace card is activated, in which case the request is automatically accepted.
| URI | <uri_personne>/demandesPlanning |
|---|---|
| Category | http://schemas.holydis.com/tsq/2010#demande_planning |
| Editable | Yes |
Elements
| Element | Description | Writing |
|---|---|---|
| commentaireGest | Comment from the manager (if it is a double workflow). | |
| commentaireResp | Comment from the supervisor. | |
| commentaireSalarie | Comment from the employee. | X |
| dateCreation | Date of creation of the request. | |
| dateModifGest | Date of modification of the request by the manager (if it is a double workflow). | |
| dateModifResp | Date of modification of the request by the supervisor. | |
| etat | Status of the request: VALIDEE, REFUSEE, EN_ATTENTE, ANNULEE_PAR_RESPONSABLE, ANNULEE_PAR_SALARIE, OBSOLETE | |
| responsable | Supervisor who modified the request. | |
| gestionnaire | Manager who modified the request (if it is a double workflow). | |
| coupure? | Meal break or not. | X |
| heureDebutJournee | Start-of-day time. You can specify si it is before the entered time, at the exact entered time or after the entered time, at the earliest at the time entered, at the latest at the time entered. | X |
| heureFinJournee | End-of-day time. You can specify si it is before the entered time, at the exact entered time or after the entered time, at the earliest at the time entered, at the latest at the time entered. | X |
| heureDebutCoupure | Meal break start time. | X |
| heureFinCoupure | Meal break end time. | X |
| dureeCoupureMin | Minimum meal break duration. | X |
| dureeCoupureMax | Maximum meal break duration. | X |
| codeExterne | External code of a request (if it comes from a third party coftware). | X |
| origine | Origin of the request if it's external. | X |
| teletravail | Completing the day by teleworking (true) or on site (false). | X |
| journeeIndispo? | Unavailable day or not. | X |
| plageHoraireIndispo | Unavailable work period. | X |
| modeleHoraire | Assigned schedule pattern. | X |
| tache | The task for which the employee wishes to volunteer. | X |
| timeZoneId | Time zone identifier. | X |
| jour | Requested day. | X |
| allJours | Indicates whether the request requires selecting every day (regardless of frequency). | X |
| appliquePeriodicite | Indicates whether the request is made with a periodicity (true) or not (false). | X |
| periodiciteFrequence | Frequency of periodicity. | X |
| periodiciteId | Type of periodicity (1 for monthly, 2 ofr weekly, 3 for daily). | X |
| joursAppliques | Day concerned by the periodicity (LUNDI for Monday, MARDI for Tuesday, MERCREDI for Wednesday, JEUDI for Thurday, VENDREDI for Friday, SAMEDI for Saturday, DIMANCHE for Sunday). | X |
Examples of requests
Reading
Read the schedule arrangement requests for the employee whose identifier is 16002
GET /[URI_de_base]/api/feed/personnes/16002/demandesPlanning
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (day without meal break) whose identifier is 343000 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343000
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (day with meal break from 12:00 à 13:00) whose identifier is 343001 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343001
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (day with meal break minimum duration of 01:30 and a meal break maximum duration of 02:00) whose identifier is 365004 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/365004
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (day on site) whose identifier is 343002 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343002
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (day on telecommuting) whose identifier is 343003 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343003
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (start at 09:00) whose identifier is 343004 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343004
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (start before 09:00) whose identifier is 420002 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420002
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (start after 09:00) whose identifier is 420000 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420000
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (start no earlier than 09:00) whose identifier is 420000 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420000
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (start no later than 09:00) whose identifier is 420000 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420000
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (finish at 17:00) whose identifier is 343005 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343005
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (finish before 17:00) whose identifier is 420003 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420003
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (finish after 17:00) whose identifier is 420004 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420004
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (finish no earlier than 17:00) whose identifier is 420004 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420004
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (finish no later than 17:00) whose identifier is 420004 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/420004
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (unavailable on the entire day) whose identifier is 343006 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343006
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (unavailable from 12:00 to 14:00) whose identifier is 343007 for the employee whose identifier is 16002
GET /[URI_de_base]/api/feed/personnes/16002/demandesPlanning/343007
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (daily schedule pattern on a day) whose identifier is 343007 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/363007
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (weekly schedule pattern on a day) whose identifier is 365000 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/365000
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (volunteer on a day) whose identifier is 366001 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/366001
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (volunteer on a task) whose identifier is 366004 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/366004
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (day without meal break on a period) whose identifier is 343011 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343011
Example of request XML results
Example of request JSON results
Read the schedule arrangement requests (day on telecommuting on a period with a periodicity) whose identifier is 343012 for the employee whose identifier is 16000
GET /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/343012
Example of request XML results
Example of request JSON results
Writing
Add a schedule arrangement request (start at 09:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (start before 08:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (start after 08:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (start no earlier than 08:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (start no later than 08:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (finish at 17:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (finish before 15:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (finish after 15:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (finish no earlier than 15:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (finish no later than 15:00 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (unavailable on a whole day with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (volunteer on a whole day with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (volunteer on a task) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request day with meal break minimum duration of 01:45 and a meal break maximum duration of 02:30 with an external code) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Add a schedule arrangement request (unavailable on a whole day with an external code on a period with a periodicity) for the employee whose identifier is 16000
POST /[URI_de_base]/api/feed/personnes/16000/demandesPlanning
Modify the schedule arrangement request whose identifier is 122002 for the employee whose identifier is 16000
PUT /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/122002
Modify the schedule arrangement request whose external identifier is IDEXT01 so that its status is Cancelled by the employee
POST /[URI_de_base]/api/feed/annulationDemandePlanning/IDEXT01
Delete the schedule arrangement request whose identifier is 122002 for the employee whose identifier is 16000
DELETE /[URI_de_base]/api/feed/personnes/16000/demandesPlanning/122002
Functional error messages
- Error 400 La demande est seulement masquée car celle-ci n'a pas été masquée par le responsable (et le gestionnaire dans le cas d'une gestion double)
- Error 400 Le salarié [NOM PRENOM] ne peut pas supprimer cette demande de planning
- Error 400 Le salarié [NOM PRENOM] n'a pas le droit de faire une demande de planning
- Error 400 Le salarié [NOM PRENOM] n'a pas le droit de faire une demande sur le début de journée
- Error 400 Le salarié [NOM PRENOM] n'a pas le droit de faire une demande sur la fin de journée
- Error 400 Le salarié [NOM PRENOM] n'a pas le droit de faire une demande sur le début et la fin de coupure
- Error 400 Le salarié [NOM PRENOM] n'a pas le droit de faire une demande sur les indisponibilités
- Error 400 Le salarié [NOM PRENOM] n'a pas le droit de faire de demande sur les modéles horaires
- Error 400 Le salarié [NOM PRENOM] n'a pas le droit de faire de demande d'aménagement de travail sur site ou en télétravail
- Error 400 Injection de demande de planning impossible sur le jour [DATE] pour la personne [NOM PRENOM]. Le salarié est hors structure ce jour
- Error 400 Injection de demande de planning impossible sur le jour [DATE] pour la personne [NOM PRENOM]. Le salarié est hors contrat ce jour
- Error 400 Injection de demande de planning impossible sur le jour [DATE] pour la personne [NOM PRENOM]. Ce jour est férié fermé
- Error 400 Injection de demande de planning impossible sur le jour [DATE] pour la personne [NOM PRENOM]. Ce jour est fermé
- Error 400 Le modèle horaire [MODELE] ne peut être associé au salarié [NOM PRENOM]
- Error 400 Le modèle horaire [MODELE] doit avoir un calendrier identique à celui du salarié [NOM PRENOM]
- Error 400 Le modèle horaire [MODELE] doit être quotidien
- Error 400 Il faut définir un jour ou une période valide pour la demande
- Error 404 Introuvable : [COMPOSANT]
Comments
0 comments
Please sign in to leave a comment.