Operator
Endpoints
Create new operator
/companies/{companycode}/establishments/{establishmentcode}/operators |
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}/operators |
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 |
< OperatorDTO > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
/companies/{companycode}/establishments/{establishmentcode}/operators/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 operator
/companies/{companycode}/establishments/{establishmentcode}/operators/{code} |
operation.deprecated |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity code to retrieve |
string |
15 characters max |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Delete operator
/companies/{companycode}/establishments/{establishmentcode}/operators/{code} |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity public uuid code to delete |
string |
15 characters max |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Data structure
OperatorDTO
Name | Description | Value | Business Rules |
---|---|---|---|
badge |
Operator badge code |
string |
|
code |
Operator login code |
string |
15 characters max |
companyCode |
Current company code |
string |
2 characters max |
establishmentCode |
Current establishment code |
string |
2 characters max |
family |
Operator family code |
string |
10 characters max |
firstName |
Operator first name |
string |
50 characters max |
function |
string |
||
imageCode |
string |
||
language |
string |
5 characters max |
|
lastName |
Operator last name |
string |
50 characters max |
password |
string |
||
publicUuid |
Operator public uuid |
string |
|
rightHanded |
Indicate whether operator is right-handed |
boolean |
|
tags |
TagLink list |
||
validityEndDate |
datetime |
YYYY-MM-DDTHH:MM:SSZ |
ImportOperatorList
Name | Value |
---|---|
callback |
string |
data |
OperatorDTO list |