Operating process
Endpoints
Create new operating process
/companies/{companycode}/establishments/{establishmentcode}/operating-processes |
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}/operating-processes |
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 |
< OperatingProcess > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
/companies/{companycode}/establishments/{establishmentcode}/operating-processes/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 operating process
/companies/{companycode}/establishments/{establishmentcode}/operating-processes/{code} |
operation.deprecated |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity code to retrieve |
string |
20 characters max (15 characters max if ERP compatibility is checked) |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Delete operating process
/companies/{companycode}/establishments/{establishmentcode}/operating-processes/{code} |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity public uuid code to delete |
string |
20 characters max |
Path |
companyCode |
Current context company code |
string |
2 characters max |
Path |
establishmentCode |
Current context establishment code |
string |
2 characters max |
Data structure
OperatingProcess
Operating process data structure.
Name | Description | Value | Business Rules | ||
---|---|---|---|---|---|
areaCode |
Area code |
string |
10 characters max |
||
code |
Operating process code |
string |
20 characters max (15 characters max if ERP compatibility is checked) |
||
companyCode |
Current company code |
string |
2 characters max |
||
establishmentCode |
Current establishment code |
string |
2 characters max |
||
label |
Operating process label |
string |
50 characters max (30 characters max if ERP compatibility is checked) |
||
operations |
|
< string, Operation list > map |
|||
publicUuid |
Operation Process public uuid |
string |
|||
validityEndDate |
Validity end date |
datetime |
YYYY-MM-DDTHH:MM:SSZ |
Operation
Name | Description | Value | Business Rules | ||
---|---|---|---|---|---|
code |
string |
20 characters max |
|||
details |
|
OperationDetail list |
|||
label |
string |
50 characters max (30 characters max if ERP compatibility is checked) |
|||
efficiency |
double |
3 decimals authorized |
|||
quantity |
Raw quantity |
double |
|||
schedulingEfficiency |
double |
Maximum value 200. 3 decimals authorized. Only if ORDO offer subscribed |
|||
unitCode |
string |
5 characters max |
OperationDetail
Name | Value | Business Rules |
---|---|---|
duration |
||
fixed |
boolean |
|
fixedExceptLineSpeed |
double |
|
maxResources |
double |
3 decimals max |
minResources |
double |
3 decimals max |
resourceCategoryCode |
string |
10 characters max |
resourceCode |
string |
10 characters max |
Duration
Name | Value |
---|---|
nano |
integer |
negative |
boolean |
seconds |
integer |
units |
TemporalUnit list |
zero |
boolean |
TemporalUnit
Name | Value |
---|---|
dateBased |
boolean |
duration |
|
durationEstimated |
boolean |
timeBased |
boolean |
ImportOperatingProcessList
Name | Value |
---|---|
callback |
string |
data |
OperatingProcess list |