Scale
Endpoints
Create new scale
/companies/{companycode}/establishments/{establishmentcode}/scales |
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}/scales |
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 |
< Scale > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
/companies/{companycode}/establishments/{establishmentcode}/scales/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 scale
/companies/{companycode}/establishments/{establishmentcode}/scales/{code} |
operation.deprecated |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity code to retrieve |
string |
10 characters max |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Delete scale
/companies/{companycode}/establishments/{establishmentcode}/scales/{code} |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity public uuid code to delete |
string |
10 characters max |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Data structure
ImportScaleList
Name | Value |
---|---|
callback |
string |
data |
Scale list |
Scale
Description of a scale.
Name | Description | Value | Business Rules |
---|---|---|---|
code |
Scale code |
string |
10 characters max |
companyCode |
Current company code |
string |
2 characters max |
establishmentCode |
Current establishment code |
string |
2 characters max |
gatewayUrl |
Scale gateway URL |
string |
|
imageCode |
string |
||
label |
Scale label |
string |
50 characters max |
publicUuid |
Scale public uuid |
string |
|
validityEndDate |
datetime |
AAAA-MM-JJTHH:MM:SSZ |