2. Resources
2.1. Assignment-controller
Assignment Controller
2.1.1. Assign Operations to operator
POST /assignments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
assignOperationDTOs |
assignOperationDTOs |
< AssignOperationDTO > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
409 |
Conflict |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.1.2. Get assignments of all operators or by operator name or workOrderId or segmentId
GET /assignments
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
byOperation |
byOperation |
boolean |
|
Query |
operatorName |
operatorName |
string |
|
Query |
page |
page |
integer (int32) |
|
Query |
segmentActualId |
segmentActualId |
integer (int64) |
|
Query |
segmentId |
segmentId |
integer (int64) |
|
Query |
size |
size |
integer (int32) |
|
Query |
workOrderId |
workOrderId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.1.3. Delete Assign Operations to operator
DELETE /assignments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
assignOperationDTOs |
assignOperationDTOs |
< AssignOperationDTO > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
409 |
Conflict |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.1.4. ClockOff SegementActual Operation to operator
DELETE /assignments/clockOff
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
checkOperationComplete |
checkOperationComplete |
boolean |
Body |
assignedOperationDTOs |
assignedOperationDTOs |
< AssignedOperationsDetailsDTO > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
409 |
Conflict |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.1.5. ClockOn SegementActual Operation to operator
POST /assignments/clockOn
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
assignedOperationDTOs |
assignedOperationDTOs |
< AssignedOperationsDetailsDTO > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
201 |
CREATED |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
409 |
Conflict |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.1.6. Get Assigned Operation by Id
GET /assignments/{assignmentId}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.1.7. Update Assigned Operation by Id
PUT /assignments/{assignmentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
assignmentId |
assignmentId |
integer (int64) |
Body |
assignedOperationDTO |
assignedOperationDTO |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
409 |
Conflict |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.1.8. Delete Assigned Operation by Id
DELETE /assignments/{assignmentId}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
3. Definitions
3.2. AssignOperationDTO
Name | Schema |
---|---|
assignedBy |
string |
assignedTo |
string |
segmentId |
integer (int64) |
workOrderId |
integer (int64) |
3.3. AssignedOperation
Name | Schema |
---|---|
assignedBy |
string |
assignedOn |
string |
assignedOperationId |
integer (int64) |
assignedTo |
string |
createdOn |
string |
id |
integer (int64) |
lastModifiedOn |
string |
materialLotActualId |
integer (int64) |
segmentActualId |
integer (int64) |
segmentDefinitionInfo |
|
segmentId |
integer (int64) |
workOrderId |
integer (int64) |
3.4. AssignedOperationResource
Name | Schema |
---|---|
assignedBy |
string |
assignedOn |
string |
assignedOperationId |
integer (int64) |
assignedTo |
string |
createdOn |
string |
id |
integer (int64) |
lastModifiedOn |
string |
links |
< Link > array |
materialLotActualId |
integer (int64) |
segmentActualId |
integer (int64) |
segmentDefinitionInfo |
|
segmentId |
integer (int64) |
workOrderId |
integer (int64) |
3.6. AssignedOperationResults
Name | Schema |
---|---|
content |
< AssignedOperationResource > array |
links |
< Link > array |
page |
3.7. AssignedOperationsDetailsDTO
Name | Schema |
---|---|
assignedBy |
string |
assignedTo |
string |
segmentActualId |
integer (int64) |
segmentDefinitionInfo |
|
segmentId |
integer (int64) |
workOrderId |
integer (int64) |
3.8. AssignedOperationsResponse
Name | Schema |
---|---|
content |
< AssignedOperation > array |
message |
string |
3.12. PageMetadata
Name | Schema |
---|---|
number |
integer (int64) |
size |
integer (int64) |
totalElements |
integer (int64) |
totalPages |
integer (int64) |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://10.181.213.73/uaa/oauth/authorize
Token URL : https://10.181.213.73/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : https://10.181.213.73/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://10.181.213.73/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://10.181.213.73/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |