1. Overview
Documentation for receiving-inspection-app-service API v1.0
1.1. Version information
Version : 1.0
1.2. URI scheme
Host : localhost
BasePath : /
1.3. Tags
-
external-config-controller : External Config Controller
-
material-lot-controller : Material Lot Controller
-
product-controller : Product Controller
-
property-definition-controller : Property Definition Controller
-
receiver-material-lots-controller : Receiver Material Lots Controller
-
sample-material-lot-controller : Sample Material Lot Controller
-
test-material-lot-controller : Test Material Lot Controller
-
units-controller : Units Controller
-
variable-controller : Variable Controller
-
work-order-controller : Work Order Controller
-
workflow-execution-controller : Workflow Execution Controller
1.4. Produces
-
application/json
2. Resources
2.1. External-config-controller
External Config Controller
2.1.1. Get external Configurations
GET /v1.0/external-configuration/configurations
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Query |
actionId |
actionId |
integer (int32) |
|
Query |
actionName |
actionName |
string |
|
Query |
actionTypeId |
actionTypeId |
integer (int32) |
|
Query |
authenticated |
boolean |
||
Query |
authorities[0].authority |
string |
||
Query |
configId |
configId |
integer (int64) |
|
Query |
credentials |
object |
||
Query |
details |
object |
||
Query |
includeDeleted |
includeDeleted |
boolean |
|
Query |
page |
page |
integer (int32) |
|
Query |
principal |
object |
||
Query |
size |
size |
integer (int32) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
204 |
No Content, Error retrieving actions |
|
400 |
Bad Request |
|
401 |
User Unauthorized |
No Content |
500 |
Internal Server Error |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.2. Material-lot-controller
Material Lot Controller
2.2.1. Create MaterialLot
POST /v1.0/materialLots/materialLot
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
materialLot |
materialLot |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
string |
400 |
Bad Request |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Consumes
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.2.2. Used for bulk updating the disposition info for material lots
POST /v1.0/materialLots/updateLotStatus
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
materialLotUpdateInfo |
materialLotUpdateInfo |
< MaterialLotUpdate > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad data |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.2.3. Validating the MaterialLot Names sent for a given Unit Id
POST /v1.0/materialLots/validate
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
validationRequestInfo |
validationRequestInfo |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad data |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.2.4. Used for updating the disposition info for a material lot Id
PUT /v1.0/materialLots/{materialLotId}/disposition
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
materialLotId |
materialLotId |
integer (int64) |
Body |
dispositionInfo |
dispositionInfo |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
201 |
CREATED |
object |
400 |
Bad data |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.2.5. Get list of materialLot properties
GET /v1.0/materialLots/{materialLotId}/properties
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
materialLotId |
materialLotId |
integer (int64) |
Query |
authenticated |
boolean |
|
Query |
authorities[0].authority |
string |
|
Query |
credentials |
object |
|
Query |
details |
object |
|
Query |
offset |
integer (int64) |
|
Query |
pageNumber |
integer (int32) |
|
Query |
pageSize |
integer (int32) |
|
Query |
paged |
boolean |
|
Query |
principal |
object |
|
Query |
sort.sorted |
boolean |
|
Query |
sort.unsorted |
boolean |
|
Query |
unpaged |
boolean |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MaterialLotPropertyDefinitionInfo > array |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.3. Product-controller
Product Controller
2.3.1. Get list of material properties
GET /v1.0/product/{productId}/properties
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
productId |
productId |
integer (int64) |
Query |
authenticated |
boolean |
|
Query |
authorities[0].authority |
string |
|
Query |
credentials |
object |
|
Query |
details |
object |
|
Query |
principal |
object |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.4. Property-definition-controller
Property Definition Controller
2.4.1. Get All Additional properties
GET /v1.0/additionalProperties
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< PropertyDefinitionInfo > array |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5. Receiver-material-lots-controller
Receiver Material Lots Controller
2.5.1. Update multiple MaterialLot records
PUT /v1.0/receiverMaterialLots/materialLots
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
materialLotUpdateInfo |
materialLotUpdateInfo |
< MaterialLotUpdate > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
string |
400 |
Bad Request |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Consumes
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.2. Get MaterialLot By materialLotId
GET /v1.0/receiverMaterialLots/materialLots/{materialLotId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
materialLotId |
materialLotId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ReceiverMaterialLotsDto > array |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.3. Get All productionStatus
GET /v1.0/receiverMaterialLots/productionStatus
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ProductionStatus > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.4. Get All MaterialLots
GET /v1.0/receiverMaterialLots/receivers
Caution
|
operation.deprecated |
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Query |
searchText |
searchText |
string |
|
Query |
status |
status |
enum (OPEN, CLOSE) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ReceiverMaterialLots > array |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.5. Get Receivers by search
GET /v1.0/receiverMaterialLots/receiversSearch
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Query |
searchText |
searchText |
string |
|
Query |
status |
status |
enum (OPEN, CLOSE) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ReceiverInfo > array |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.6. Get All Sample Tests
GET /v1.0/receiverMaterialLots/tests
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
materialLotId |
materialLotId |
integer (int64) |
Query |
receiverId |
receiverId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< SampleTestMaterialLots > array |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.7. Get All MaterialLots By receiverId
GET /v1.0/receiverMaterialLots/{receiverId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
receiverId |
receiverId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ReceiverMaterialLotsDto > array |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.8. Update MaterialLot records of receivernumber
POST /v1.0/receiverMaterialLots/{receiverId}/assignSerialNumbers
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
receiverId |
receiverId |
integer (int64) |
Body |
receiverMaterialLotsInfo |
receiverMaterialLotsInfo |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
enum (100 CONTINUE, 101 SWITCHING_PROTOCOLS, 102 PROCESSING, 103 CHECKPOINT, 200 OK, 201 CREATED, 202 ACCEPTED, 203 NON_AUTHORITATIVE_INFORMATION, 204 NO_CONTENT, 205 RESET_CONTENT, 206 PARTIAL_CONTENT, 207 MULTI_STATUS, 208 ALREADY_REPORTED, 226 IM_USED, 300 MULTIPLE_CHOICES, 301 MOVED_PERMANENTLY, 302 FOUND, 302 MOVED_TEMPORARILY, 303 SEE_OTHER, 304 NOT_MODIFIED, 305 USE_PROXY, 307 TEMPORARY_REDIRECT, 308 PERMANENT_REDIRECT, 400 BAD_REQUEST, 401 UNAUTHORIZED, 402 PAYMENT_REQUIRED, 403 FORBIDDEN, 404 NOT_FOUND, 405 METHOD_NOT_ALLOWED, 406 NOT_ACCEPTABLE, 407 PROXY_AUTHENTICATION_REQUIRED, 408 REQUEST_TIMEOUT, 409 CONFLICT, 410 GONE, 411 LENGTH_REQUIRED, 412 PRECONDITION_FAILED, 413 PAYLOAD_TOO_LARGE, 413 REQUEST_ENTITY_TOO_LARGE, 414 URI_TOO_LONG, 414 REQUEST_URI_TOO_LONG, 415 UNSUPPORTED_MEDIA_TYPE, 416 REQUESTED_RANGE_NOT_SATISFIABLE, 417 EXPECTATION_FAILED, 418 I_AM_A_TEAPOT, 419 INSUFFICIENT_SPACE_ON_RESOURCE, 420 METHOD_FAILURE, 421 DESTINATION_LOCKED, 422 UNPROCESSABLE_ENTITY, 423 LOCKED, 424 FAILED_DEPENDENCY, 425 TOO_EARLY, 426 UPGRADE_REQUIRED, 428 PRECONDITION_REQUIRED, 429 TOO_MANY_REQUESTS, 431 REQUEST_HEADER_FIELDS_TOO_LARGE, 451 UNAVAILABLE_FOR_LEGAL_REASONS, 500 INTERNAL_SERVER_ERROR, 501 NOT_IMPLEMENTED, 502 BAD_GATEWAY, 503 SERVICE_UNAVAILABLE, 504 GATEWAY_TIMEOUT, 505 HTTP_VERSION_NOT_SUPPORTED, 506 VARIANT_ALSO_NEGOTIATES, 507 INSUFFICIENT_STORAGE, 508 LOOP_DETECTED, 509 BANDWIDTH_LIMIT_EXCEEDED, 510 NOT_EXTENDED, 511 NETWORK_AUTHENTICATION_REQUIRED) |
400 |
Bad Request |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Consumes
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.9. Update Receiver status
POST /v1.0/receiverMaterialLots/{receiverId}/complete
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
receiverId |
receiverId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
enum (100 CONTINUE, 101 SWITCHING_PROTOCOLS, 102 PROCESSING, 103 CHECKPOINT, 200 OK, 201 CREATED, 202 ACCEPTED, 203 NON_AUTHORITATIVE_INFORMATION, 204 NO_CONTENT, 205 RESET_CONTENT, 206 PARTIAL_CONTENT, 207 MULTI_STATUS, 208 ALREADY_REPORTED, 226 IM_USED, 300 MULTIPLE_CHOICES, 301 MOVED_PERMANENTLY, 302 FOUND, 302 MOVED_TEMPORARILY, 303 SEE_OTHER, 304 NOT_MODIFIED, 305 USE_PROXY, 307 TEMPORARY_REDIRECT, 308 PERMANENT_REDIRECT, 400 BAD_REQUEST, 401 UNAUTHORIZED, 402 PAYMENT_REQUIRED, 403 FORBIDDEN, 404 NOT_FOUND, 405 METHOD_NOT_ALLOWED, 406 NOT_ACCEPTABLE, 407 PROXY_AUTHENTICATION_REQUIRED, 408 REQUEST_TIMEOUT, 409 CONFLICT, 410 GONE, 411 LENGTH_REQUIRED, 412 PRECONDITION_FAILED, 413 PAYLOAD_TOO_LARGE, 413 REQUEST_ENTITY_TOO_LARGE, 414 URI_TOO_LONG, 414 REQUEST_URI_TOO_LONG, 415 UNSUPPORTED_MEDIA_TYPE, 416 REQUESTED_RANGE_NOT_SATISFIABLE, 417 EXPECTATION_FAILED, 418 I_AM_A_TEAPOT, 419 INSUFFICIENT_SPACE_ON_RESOURCE, 420 METHOD_FAILURE, 421 DESTINATION_LOCKED, 422 UNPROCESSABLE_ENTITY, 423 LOCKED, 424 FAILED_DEPENDENCY, 425 TOO_EARLY, 426 UPGRADE_REQUIRED, 428 PRECONDITION_REQUIRED, 429 TOO_MANY_REQUESTS, 431 REQUEST_HEADER_FIELDS_TOO_LARGE, 451 UNAVAILABLE_FOR_LEGAL_REASONS, 500 INTERNAL_SERVER_ERROR, 501 NOT_IMPLEMENTED, 502 BAD_GATEWAY, 503 SERVICE_UNAVAILABLE, 504 GATEWAY_TIMEOUT, 505 HTTP_VERSION_NOT_SUPPORTED, 506 VARIANT_ALSO_NEGOTIATES, 507 INSUFFICIENT_STORAGE, 508 LOOP_DETECTED, 509 BANDWIDTH_LIMIT_EXCEEDED, 510 NOT_EXTENDED, 511 NETWORK_AUTHENTICATION_REQUIRED) |
400 |
Bad Request |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
Consumes
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.5.10. Generate receiver samples
POST /v1.0/receiverMaterialLots/{receiverId}/generateSamples
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
receiverId |
receiverId |
integer (int64) |
Body |
generateSamplesInfo |
generateSamplesInfo |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
object |
400 |
Invalid data |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
|
503 |
Service Unavailable |
Consumes
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.6. Sample-material-lot-controller
Sample Material Lot Controller
2.6.1. Create sample
POST /v1.0/samples
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
authenticated |
boolean |
|
Query |
authorities[0].authority |
string |
|
Query |
credentials |
object |
|
Query |
details |
object |
|
Query |
principal |
object |
|
Body |
sampleMaterialLotId |
sampleMaterialLotId |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
|
400 |
Invalid data |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
|
503 |
Service Unavailable |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.6.2. Update Sample
PUT /v1.0/samples/{sampleId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
sampleId |
sampleId |
integer (int64) |
Query |
authenticated |
boolean |
|
Query |
authorities[0].authority |
string |
|
Query |
credentials |
object |
|
Query |
details |
object |
|
Query |
principal |
object |
|
Body |
sampleUpdateInfo |
Sample Description |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal server error |
No Content |
503 |
Service Unavailable |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.6.3. Delete Sample
DELETE /v1.0/samples/{sampleId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
sampleId |
sampleId |
integer (int64) |
Query |
authenticated |
boolean |
|
Query |
authorities[0].authority |
string |
|
Query |
credentials |
object |
|
Query |
details |
object |
|
Query |
principal |
object |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
No Content |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal server error |
No Content |
503 |
Service Unavailable |
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.7. Test-material-lot-controller
Test Material Lot Controller
2.7.1. Update test
PUT /v1.0/tests/{testId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
testId |
testId |
integer (int64) |
Body |
testMaterialLotInfo |
testMaterialLotInfo |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Invalid data supplied. See message for details. |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
|
503 |
Service Unavailable |
Consumes
-
application/json
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.8. Units-controller
Units Controller
2.8.1. Retrieves all the statuses of a given Unit ID
GET /v1.0/units/{unitId}/prodExecutionTransitions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
unitId |
unitId |
integer (int64) |
Query |
fromStatusIds |
fromStatusIds |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad data |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.9. Variable-controller
Variable Controller
2.9.1. getVariableDetailsWithSpecs
GET /v1.0/variable/outOfSpecsVariablesDetails
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
eventIds |
List of User Defined Event Ids to get variable details with Specs. |
< integer (int64) > array(multi) |
Query |
recieverId |
Reciver Name |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< VariableDetailsWithSpecs > array |
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
422 |
UnProcessable Entity |
|
500 |
Internal Server error |
|
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.9.2. Get variable specification limit for a particular time
GET /v1.0/variable/variablespecification
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
authenticated |
boolean |
|
Query |
authorities[0].authority |
string |
|
Query |
credentials |
object |
|
Query |
details |
object |
|
Query |
principal |
object |
|
Query |
productId |
product id |
integer (int64) |
Query |
startTime |
time at which you are looking for |
string |
Query |
variableIds |
List of variables separated by comma(,) |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
500 |
Internal server error |
No Content |
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.10. Work-order-controller
Work Order Controller
2.10.1. Get OSP operation lots of a work order
GET /v1.0/workorders/{workOrderId}/getLots
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
workOrderId |
ID for the work order as a filter. |
integer (int64) |
Query |
materialLotActualId |
ID of the material lot actual as a filter. |
integer (int64) |
Query |
operationName |
Name of the operation as a filter. Note that operation names are unique only within a segment definition and not across segment definitions. |
string |
Query |
segmentActualIds |
Comma separated list of segmentActualIds |
string |
Query |
segmentId |
ID for the segment as a filter. Note that segment IDs are unique only within a segment definition and not across segment definitions. |
integer (int64) |
Query |
status |
Status of the operation as a filter. Multiple values are supported and the results contain all operations matching any of the values. Available values : NotReady, Ready, InProgress, Complete, Cancelled, Skipped, Excluded |
< string > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.11. Workflow-execution-controller
Workflow Execution Controller
2.11.1. Get DIT workflow execution level groups
GET /v1.0/workflow-execution/level-groups
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
materialLotId |
materialLotId |
integer (int64) |
Query |
receiverName |
receiverName |
string |
Query |
type |
type |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ExecutionDetails > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.11.2. Get workflow status
GET /v1.0/workflow-execution/workflow-status
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
materialLotIds |
materialLotIds |
string |
Query |
receiverName |
receiverName |
string |
Query |
type |
type |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ExecutionDetails > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
Produces
-
application/json
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
3. Definitions
3.1. DefectInfoResponse
Name | Schema |
---|---|
affectedObjectId |
string |
affectedObjectType |
string |
affectedQuantity |
number (double) |
affectedQuantityUnitOfMeasure |
string |
commentId |
string |
createdBy |
string |
createdOn |
string (date-time) |
defectCauseTreeId |
string |
defectContextType |
string |
defectId |
integer (int64) |
defectReasonLevel1Id |
string |
defectReasonLevel1Name |
string |
defectReasonLevel2Id |
string |
defectReasonLevel2Name |
string |
defectReasonLevel3Id |
string |
defectReasonLevel3Name |
string |
defectReasonLevel4Id |
string |
defectReasonLevel4Name |
string |
defectTypeId |
integer (int64) |
defectTypeName |
string |
description |
string |
dispositionActionTreeId |
string |
dispositionActions |
< DispositionActionInfo > array |
id |
integer (int64) |
lastModifiedBy |
string |
lastModifiedOn |
string (date-time) |
locationId |
string |
locationType |
string |
ncLastModifiedBy |
string |
ncLastModifiedOn |
string (date-time) |
nonConformanceType |
string |
nonconformanceDescription |
string |
nonconformanceId |
integer (int64) |
nonconformanceName |
string |
nonconformanceTypeId |
integer (int64) |
parentId |
integer (int64) |
propertyValues |
< DefectPropertyValueInfo > array |
reportedBy |
string |
status |
string |
summary |
string |
version |
integer (int32) |
3.2. DefectPropertyValueInfo
Name | Schema |
---|---|
createdBy |
string |
createdOn |
string (date-time) |
id |
integer (int64) |
lastModifiedBy |
string |
lastModifiedOn |
string (date-time) |
originId |
integer (int64) |
propertyDefinitionId |
string |
propertyValueId |
integer (int64) |
rowMappingIndex |
string |
value |
string |
version |
integer (int32) |
3.3. DispositionActionInfo
Name | Schema |
---|---|
actionNote |
string |
attachments |
string |
commentId |
string |
createdBy |
string |
createdOn |
string (date-time) |
daReasonLevel1Id |
string |
daReasonLevel2Id |
string |
daReasonLevel3Id |
string |
daReasonLevel4Id |
string |
dispositionActionId |
integer (int64) |
dispositionPlan |
|
dispositionPlanId |
integer (int64) |
dispositionTypeId |
integer (int64) |
dispositionTypeName |
string |
dispositionTypeNameGlobal |
string |
elapsedTime |
integer (int32) |
id |
integer (int64) |
lastModifiedBy |
string |
lastModifiedOn |
string (date-time) |
lastModifiedOperation |
string |
name |
string |
parentId |
integer (int64) |
properties |
< PropertyValueInfo > array |
quantity |
number (double) |
status |
string |
version |
integer (int32) |
3.4. DispositionInfo
Disposition Info for updating in PA for a material lot
Name | Description | Schema |
---|---|---|
propertyValues |
Property values for a given material lot |
< MaterialProperties > array |
statusId |
Disposition status for a given material lot |
integer (int64) |
unitId |
Unit Id for which the statuses to be retrieved |
integer (int64) |
3.5. DispositionPlanInfo
Name | Schema |
---|---|
createdBy |
string |
createdOn |
string (date-time) |
dispositionPlanId |
integer (int64) |
id |
integer (int64) |
lastModifiedBy |
string |
lastModifiedOn |
string (date-time) |
name |
string |
parentId |
integer (int64) |
requiresReview |
boolean |
reviewed |
boolean |
reviewedBy |
string |
reviewedOn |
string (date-time) |
source |
string |
status |
string |
version |
integer (int32) |
3.6. Error
Name | Schema |
---|---|
code |
string |
details |
object |
3.7. ExecutionDetails
Name | Schema |
---|---|
groupinfo |
< GroupStatusInfo > array |
levelId |
integer (int32) |
levelName |
string |
3.8. ExternalConfigResponse
Name | Schema |
---|---|
actionId |
integer (int64) |
actionName |
string |
actionType |
string |
actionTypeId |
integer (int64) |
configId |
integer (int64) |
createdBy |
string |
data |
object |
deleted |
boolean |
id |
integer (int64) |
updatedBy |
string |
3.9. ExternalConfigResponsePage
Name | Schema |
---|---|
content |
< ExternalConfigResponse > array |
links |
|
page |
3.10. GenerateSamplesInfo
Generate Samples Info
Name | Description | Schema |
---|---|---|
productId |
Product Id |
integer (int64) |
3.11. GroupStatusInfo
Name | Schema |
---|---|
groupName |
string |
groupType |
string |
lastModifiedBy |
string |
lastModifiedOn |
string (date-time) |
recievedReverification |
boolean |
status |
string |
3.12. HttpErrorResponse
Name | Schema |
---|---|
error |
|
path |
string |
timestamp |
string |
3.13. HttpErrorResponseNew
Name | Schema |
---|---|
error |
|
path |
string |
timestampVal |
string |
3.14. Link
Name | Schema |
---|---|
deprecation |
string |
href |
string |
hreflang |
string |
media |
string |
name |
string |
profile |
string |
rel |
string |
template |
|
templated |
boolean |
title |
string |
type |
string |
3.15. Links
Name | Schema |
---|---|
empty |
boolean |
3.16. MaterialLot
Name | Schema |
---|---|
initialQuantity |
number (double) |
lotIdentifier |
string |
productId |
integer (int64) |
properties |
< MaterialProperties > array |
status |
string |
3.17. MaterialLotProperties
Name | Schema |
---|---|
defaultValue |
string |
displayName |
string |
propertyDataTyeId |
integer (int64) |
propertyDataType |
string |
propertyDefinitionId |
string |
propertyName |
string |
propertyValue |
string |
required |
boolean |
3.18. MaterialLotPropertyDefinitionInfo
Name | Description | Schema |
---|---|---|
dataType |
The datatype of the property |
string |
defaultValue |
string |
|
displayName |
string |
|
propertyDefinitionId |
The id of the property definition |
string |
propertyDefinitionName |
The name of the property definition |
string |
propertyValue |
The value of the property |
string |
3.19. MaterialLotPropertyResults
Name | Schema |
---|---|
content |
< MaterialLotPropertyDefinitionInfo > array |
links |
|
page |
3.20. MaterialLotPropertyValues
Name | Schema |
---|---|
initialId |
string |
propertyDefinitionId |
string |
propertyValue |
string |
3.21. MaterialLotUpdate
MaterialLotUpdate
Name | Description | Schema |
---|---|---|
lotIdentifier |
string |
|
lotQuantity |
number (double) |
|
materialLotId |
integer (int64) |
|
periodicInspectionQty |
Periodic Inspection Quantity |
number (double) |
productId |
integer (int64) |
|
propertyValues |
< MaterialLotPropertyValues > array |
|
statusId |
integer (int64) |
|
unitId |
materialot unit Id |
integer (int64) |
3.22. MaterialLots
Name | Schema |
---|---|
commentId |
integer (int64) |
isSerialized |
boolean |
lotIdentifier |
string |
materialLotId |
integer (int64) |
materialLotStatus |
string |
materialLotStatusId |
integer (int64) |
materialLotsEntryOn |
string |
productCode |
string |
productDesc |
string |
productId |
integer (int64) |
quantity |
integer (int64) |
unitId |
integer (int64) |
unitName |
string |
3.23. MaterialLotsDto
Name | Schema |
---|---|
commentId |
integer (int64) |
defectInfoResponses |
< DefectInfoResponse > array |
isSerialized |
boolean |
lineName |
string |
lotIdentifier |
string |
materialLotId |
integer (int64) |
materialLotStatus |
string |
materialLotStatusId |
integer (int64) |
materialLotsEntryOn |
string |
operationName |
string |
periodicInspectionQty |
number (double) |
productCode |
string |
productDesc |
string |
productId |
integer (int64) |
propertyValues |
< MaterialLotProperties > array |
quantity |
number (double) |
segmentActualId |
integer (int64) |
segmentId |
integer (int64) |
unitId |
integer (int64) |
unitName |
string |
workOrderId |
integer (int64) |
3.24. MaterialProperties
Properties of a material.
Name | Description | Schema |
---|---|---|
defaultValue |
string |
|
displayName |
string |
|
propertyDefinitionId |
string |
|
propertyName |
Name of the property |
string |
propertyValue |
Value of the property |
string |
3.25. PageMetadata
Name | Schema |
---|---|
number |
integer (int64) |
size |
integer (int64) |
totalElements |
integer (int64) |
totalPages |
integer (int64) |
3.26. ProductionStatus
Name | Schema |
---|---|
colorId |
integer (int64) |
iconId |
integer (int64) |
id |
integer (int64) |
lifeCycleStage |
integer (int64) |
prodStatusDesc |
string |
prodStatusDescLocal |
string |
3.27. PropertyDefinitionInfo
Name | Schema |
---|---|
defaultValue |
string |
displayName |
string |
initialId |
string |
propertyDataType |
string |
propertyDataTypeId |
integer (int32) |
propertyDefinitionId |
string |
propertyName |
string |
required |
boolean |
3.28. PropertyValueInfo
Name | Schema |
---|---|
createdBy |
string |
createdOn |
string (date-time) |
dispositionActionHistoryId |
integer (int64) |
id |
integer (int64) |
lastModifiedBy |
string |
lastModifiedOn |
string (date-time) |
originId |
integer (int64) |
parentId |
integer (int64) |
propertyDefinitionId |
string |
propertyValueId |
integer (int64) |
rowMappingIndex |
string |
value |
string |
version |
integer (int32) |
3.29. ReceiverInfo
Name | Schema |
---|---|
extendedInfo |
string |
productCode |
string |
productId |
integer (int64) |
quantity |
number (double) |
receiverNumber |
string |
receiverStatus |
string |
segmentId |
integer (int64) |
sourceEventId |
integer (int64) |
workOrderId |
integer (int64) |
3.30. ReceiverMaterialLots
Name | Schema |
---|---|
materialLots |
< MaterialLots > array |
receiverNumber |
string |
receiverStatus |
string |
receiverStatusId |
integer (int64) |
receiverUnitId |
integer (int64) |
sourceEventId |
integer (int64) |
timeStampValue |
string |
3.31. ReceiverMaterialLotsDto
Name | Schema |
---|---|
materialLots |
< MaterialLotsDto > array |
operationName |
string |
receiverNumber |
string |
receiverStatus |
string |
receiverStatusId |
integer (int64) |
receiverUnitId |
integer (int64) |
sampleQuantity |
integer (int64) |
segmentId |
integer (int64) |
sourceEventId |
integer (int64) |
timeStampValue |
string |
workOrderId |
integer (int64) |
workOrderName |
string |
3.32. ReceiverMaterialLotsInfo
Name | Description | Schema |
---|---|---|
materialLots |
< MaterialLotUpdate > array |
|
receiverName |
receiverName |
string |
receiverStatusId |
integer (int64) |
|
receiverUnitId |
integer (int64) |
3.33. SampleMaterialLotId
Sample material lot Id.
Name | Description | Schema |
---|---|---|
materialLotId |
The Id of Material Lot |
integer (int64) |
3.34. SampleMaterialLotResult
Get Sample material lot.
Name | Description | Schema |
---|---|---|
endTime |
The end time of the Sample |
string |
materialLotId |
The Id of the Sample Material Lot |
integer (int64) |
receiverId |
The Id of the parent receiver |
integer (int64) |
sampleId |
The Id of the Sample |
integer (int64) |
sampleName |
The name of the Sample |
string |
startTime |
The start time of the Sample |
string |
unitId |
The Id of the Sample Material Lot |
integer (int64) |
3.35. SampleMaterialLotUpdateInfo
Sample update data tranfer object
Name | Description | Schema |
---|---|---|
sampleName |
Name of the sample |
string |
3.36. SampleTestMaterialLotResult
Name | Description | Schema |
---|---|---|
endTime |
The end time of the Sample |
string |
materialLotId |
The Id of the Sample Material Lot |
integer (int64) |
receiverId |
The Id of the parent receiver |
integer (int64) |
sampleId |
The Id of the Sample |
integer (int64) |
sampleName |
The name of the Sample |
string |
startTime |
The start time of the Sample |
string |
tests |
< TestMaterialLotResult > array |
3.37. SampleTestMaterialLots
Name | Schema |
---|---|
commentId |
integer (int64) |
materialLot |
string |
materialLotId |
integer (int64) |
materialLotStatus |
string |
materialLotStatusId |
integer (int64) |
productCode |
string |
productDescription |
string |
quantity |
number (double) |
samples |
< Samples > array |
3.38. Samples
Name | Schema |
---|---|
autoGeneratedSample |
boolean |
sample |
string |
sampleId |
integer (int64) |
tests |
< Tests > array |
3.39. StatusCombination
Name | Schema |
---|---|
fromStatusDescription |
string |
fromStatusId |
integer (int32) |
toStatusDescription |
string |
toStatusId |
integer (int32) |
3.40. TemplateVariable
Name | Schema |
---|---|
description |
string |
name |
string |
type |
enum (, ?, &, /, #, *) |
3.41. TestMaterialLotInfoRequest
Name | Schema |
---|---|
eventId |
integer (int64) |
receiverId |
integer (int64) |
testValue |
string |
variableId |
integer (int32) |
3.42. TestMaterialLotResult
Name | Description | Schema |
---|---|---|
cancelled |
Cancelled |
boolean |
eventId |
Event Id |
integer (int64) |
resultOn |
result On |
string |
testId |
Test Id |
integer (int64) |
testValue |
Name of test value |
string |
variableId |
Variable Id |
integer (int32) |
3.43. TestValueSpecifications
Name | Schema |
---|---|
dataTypeId |
integer (int64) |
eSignatureLevel |
integer (int64) |
id |
integer (int64) |
isInclusiveSpecCalc |
boolean |
lowerControlLimit |
object |
lowerEntryLimit |
object |
lowerRejectLimit |
object |
lowerUserLimit |
object |
lowerWarningLimit |
object |
target |
object |
targetControl |
object |
targetFreq |
integer (int32) |
upperControlLimit |
object |
upperEntryLimit |
object |
upperRejectLimit |
object |
upperUserLimit |
object |
upperWarningLimit |
object |
variableId |
integer (int64) |
3.44. Tests
Name | Schema |
---|---|
commentId |
integer (int64) |
dataType |
string |
dataTypeId |
integer (int64) |
requiresInspection |
boolean |
specDesc |
string |
testId |
integer (int64) |
userDefined1 |
string |
value |
string |
varAlias |
string |
varPrecision |
integer (int32) |
variable |
string |
variableId |
integer (int64) |
3.45. TransactionStatus
Name | Schema |
---|---|
links |
< Link > array |
plannedUnitId |
integer (int64) |
prodExecutionTransitions |
< StatusCombination > array |
3.46. UriTemplate
Name | Schema |
---|---|
variableNames |
< string > array |
variables |
< TemplateVariable > array |
3.47. ValidationRequestInfo
Name | Description | Schema |
---|---|---|
materialLotNames |
< string > array |
|
newLotStatusId |
Status ID of the material lot to be updated |
integer (int32) |
plannedUnitId |
integer (int64) |
|
productId |
integer (int64) |
|
receiverId |
Receiver ID of the material lot to be updated |
integer (int64) |
transNum |
TransNum value to determine the type of validation to perform |
enum (1, 2) |
3.48. VariableDetailsWithSpecs
Name | Schema |
---|---|
activityId |
integer (int64) |
actualValue |
string |
dataTypeId |
integer (int32) |
disable |
boolean |
isUserDefinedDataType |
boolean |
keyId1 |
integer (int64) |
lowerRejectValue |
string |
targetValue |
string |
upperRejectValue |
string |
varId |
integer (int64) |
variableName |
string |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://pawin2k19-2/uaa/oauth/authorize
Token URL : https://pawin2k19-2/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : https://pawin2k19-2/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://pawin2k19-2/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://pawin2k19-2/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |