Vejledninger - Arbejdstid: Opret/ret/slet arbejdstid
- Vejledninger
- Generelt
- Booking
- SMS-modulet
- Kassemodulet
- Gavekortmodulet
- Online betaling-modulet
- Marketingsmodulet
- Journal-modulet
- Skemamodulet
- Dokumenter
- Events
- For udviklere
- API og webhooks
- REST API
- Webhooks
- Tidsbestemte webhooks
- Hændelseswebhooks
- Booking: Opret/ret/slet
- Kasse: Gennemført salg
- Kasse: Gennemført salg - per varelinje
- Kasse: Kasseafstemning
- Kunde: Stamdata opdateret
- Online betalte/annullerede ordrer med kunde tilknyttet
- Event: Opret/ret/slet
- Event deltager: Tilmeld/frameld/ret
- Arbejdstid: Opret/ret/slet arbejdstid
- Værdikort: Gennemført transaktion
- Skema: Afslut/ret
- SSO - Single Sign On
- API og webhooks
Arbejdstid: Opret/ret/slet arbejdstid
Dette webhook kan benyttes til at sende data når arbejdstid oprettes, ændres og/eller slettes. Eksempel på JSON der kan sendes: |
Opret arbejdstid: |
{
"action": "createWorkHour",
"workHourId": [workHourId],
"calendarId": [calendarId],
"employeeId": [employeeId],
"workTypeId": [workTypeId],
"activeTime": [
[activeTime_BEGIN]{
"from": "[activeTimeFrom]",
"to": "[activeTimeTo]"
}[lineBreak]
[activeTime_END]],
"activeWeekdays": [
[activeWeekdays_BEGIN]"[activeWeekday]"[lineBreak]
[activeWeekdays_END]],
"customerGroupId": [customerGroupId],
"excludeWeekNumbers": [[excludeWeekNumbers_BEGIN][excludeWeekNumber][lineBreak][excludeWeekNumbers_END]],
"dateLimited": [dateLimited],
"dateLimitedFrom": "[dateLimitedFrom]",
"dateLimitedTo": "[dateLimitedTo]",
"bookCustomer": [bookCustomer],
"bookQuickbook": [bookQuickbook],
"priority": [priority]
}
Ret arbejdstid: |
{
"action": "updateWorkHour",
"workHourId": [workHourId],
"calendarId": [calendarId],
"employeeId": [employeeId],
"workTypeId": [workTypeId],
"activeTime": [
[activeTime_BEGIN]{
"from": "[activeTimeFrom]",
"to": "[activeTimeTo]"
}[lineBreak]
[activeTime_END]],
"activeWeekdays": [
[activeWeekdays_BEGIN]"[activeWeekday]"[lineBreak]
[activeWeekdays_END]],
"customerGroupId": [customerGroupId],
"excludeWeekNumbers": [[excludeWeekNumbers_BEGIN][excludeWeekNumber][lineBreak][excludeWeekNumbers_END]],
"dateLimited": [dateLimited],
"dateLimitedFrom": "[dateLimitedFrom]",
"dateLimitedTo": "[dateLimitedTo]",
"bookCustomer": [bookCustomer],
"bookQuickbook": [bookQuickbook],
"priority": [priority]
}
Slet arbejdstid: |
{
"action": "deleteWorkHour",
"workHourId": [workHourId]
}