Production line
Endpoints
Begin MO
/companies/{companycode}/establishments/{establishmentcode}/production-lines/{lineCode}/mos/currentMo/{moNb} |
Parameters
Type | Name | Description | Schema | Associated rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
|
Path |
establishmentCode |
Current context establishment code |
string |
|
Path |
lineCode |
Entity code to update |
string |
|
Path |
moNb |
Entity code to update |
string |
|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Operation successful |
No Content |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Rules
R3
lineConfigurationCode is optional.
If it is not set, the default configuration of the line is used.
If it is set, this configuration should exist for companyCode, establishmentCode and lineCode.
Note : if the MO has already been started with another line configuration, the new one is ignored when MO is started.
Close Line
/companies/{companycode}/establishments/{establishmentcode}/production-lines/{lineCode}/close |
Parameters
Type | Name | Description | Schema | Associated rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
|
Path |
establishmentCode |
Current context establishment code |
string |
|
Path |
lineCode |
Entity code to update |
string |
OPEN Line
/companies/{companycode}/establishments/{establishmentcode}/production-lines/{lineCode}/open |
Parameters
Type | Name | Description | Schema | Associated rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
|
Path |
establishmentCode |
Current context establishment code |
string |
|
Path |
lineCode |
Entity code to update |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Operation successful |
No Content |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
End MO
/companies/{companycode}/establishments/{establishmentcode}/production-lines/{lineCode}/mos/currentMo |
Parameters
Type | Name | Description | Schema | Associated rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
|
Path |
establishmentCode |
Current context establishment code |
string |
|
Path |
lineCode |
Entity code to update |
string |