Special day
Endpoints
Create new special day
/companies/{companycode}/establishments/{establishmentcode}/special-days |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Body |
body |
Get entity list
/companies/{companycode}/establishments/{establishmentcode}/special-days |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Query |
page |
Page index |
integer (int32) |
|
Query |
size |
Entity count per page |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfull |
< Special day > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
/companies/{companycode}/establishments/{establishmentcode}/special-days/import |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Body |
body |
Get one special day
/companies/{companycode}/establishments/{establishmentcode}/special-days/{date} |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
date |
Special day date to retrieve |
string (date) |
AAAA-MM-JJTHH:MM:SSZ |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Delete special day
/companies/{companycode}/establishments/{establishmentcode}/special-days/{date} |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
date |
Special day date to delete |
string (date) |
AAAA-MM-JJTHH:MM:SSZ |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Data structure
Special day
Special day data structure.
Name | Description | Value | Business Rules |
---|---|---|---|
companyCode |
Current company code |
string |
2 characters max |
date |
Date |
String (ISO-8601) |
AAAA-MM-JJTHH:MM:SSZ |
dayTemplateCode |
Day template code |
string |
10 characters max |
establishmentCode |
Current establishment code |
string |
2 characters max |
publicUuid |
Special day public uuid |
string |
|
validityEndDate |
Validity end date |
datetime |
AAAA-MM-JJTHH:MM:SSZ |
ImportSpecialDayList
Name | Value |
---|---|
callback |
string |
data |
Special day list |