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

  • 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

  • workflow-execution-controller : Workflow Execution Controller

1.4. Produces

  • application/json

2. Resources

2.1. Material-lot-controller

Material Lot Controller

2.1.1. Create MaterialLot

POST /v1.0/materialLots/materialLot
Parameters
Type Name Description Schema

Body

materialLot
required

materialLot

MaterialLot

Responses
HTTP Code Description Schema

200

OK

string

400

Bad Request

HttpErrorResponseNew

404

Not Found

HttpErrorResponseNew

422

Unprocessable Entity

HttpErrorResponseNew

500

Internal Server Error

HttpErrorResponseNew

Consumes
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.1.2. Validating the MaterialLot Names sent for a given Unit Id

POST /v1.0/materialLots/validate
Parameters
Type Name Description Schema

Body

validationRequestInfo
required

validationRequestInfo

ValidationRequestInfo

Responses
HTTP Code Description Schema

200

OK

object

400

Bad data

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.1.3. Used for updating the disposition info for a material lot Id

PUT /v1.0/materialLots/{materialLotId}/disposition
Parameters
Type Name Description Schema

Path

materialLotId
required

materialLotId

integer (int64)

Body

dispositionInfo
required

dispositionInfo

DispositionInfo

Responses
HTTP Code Description Schema

200

OK

object

201

CREATED

object

400

Bad data

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.1.4. Get list of materialLot properties

GET /v1.0/materialLots/{materialLotId}/properties
Parameters
Type Name Description Schema

Path

materialLotId
required

materialLotId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< MaterialLotPropertyDefinitionInfo > array

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

500

Internal server error

No Content

503

Service Unavailable

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2. Product-controller

Product Controller

2.2.1. Get list of material properties

GET /v1.0/product/{productId}/properties
Parameters
Type Name Description Schema

Path

productId
required

productId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

MaterialLotPropertyResults

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

500

Internal server error

No Content

503

Service Unavailable

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3. Property-definition-controller

Property Definition Controller

2.3.1. Get All Additional properties

GET /v1.0/additionalProperties
Responses
HTTP Code Description Schema

200

OK

< PropertyDefinitionInfo > array

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

422

Unprocessable Entity

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4. Receiver-material-lots-controller

Receiver Material Lots Controller

2.4.1. Update multiple MaterialLot records

PUT /v1.0/receiverMaterialLots/materialLots
Parameters
Type Name Description Schema

Body

materialLotUpdateInfo
required

materialLotUpdateInfo

< MaterialLotUpdate > array

Responses
HTTP Code Description Schema

200

OK

string

400

Bad Request

HttpErrorResponseNew

404

Not Found

HttpErrorResponseNew

422

Unprocessable Entity

HttpErrorResponseNew

500

Internal Server Error

HttpErrorResponseNew

Consumes
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.2. Get All productionStatus

GET /v1.0/receiverMaterialLots/productionStatus
Responses
HTTP Code Description Schema

200

OK

< ProductionStatus > array

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.3. Get All MaterialLots

GET /v1.0/receiverMaterialLots/receivers
Parameters
Type Name Description Schema Default

Query

searchText
optional

searchText

string

Query

status
optional

status

enum (OPEN, CLOSE)

"Open"

Responses
HTTP Code Description Schema

200

OK

< ReceiverMaterialLots > array

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

422

Unprocessable Entity

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.4. Get Receivers by search

GET /v1.0/receiverMaterialLots/receiversSearch
Parameters
Type Name Description Schema Default

Query

searchText
optional

searchText

string

Query

status
optional

status

enum (OPEN, CLOSE)

"Open"

Responses
HTTP Code Description Schema

200

OK

< ReceiverInfo > array

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

422

Unprocessable Entity

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.5. Get All Sample Tests

GET /v1.0/receiverMaterialLots/tests
Parameters
Type Name Description Schema

Query

receiverId
required

receiverId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< SampleTestMaterialLots > array

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

422

Unprocessable Entity

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.6. Get All MaterialLots By receiverId

GET /v1.0/receiverMaterialLots/{receiverId}
Parameters
Type Name Description Schema

Path

receiverId
required

receiverId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< ReceiverMaterialLotsDto > array

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

422

Unprocessable Entity

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.7. Update MaterialLot records of receivernumber

POST /v1.0/receiverMaterialLots/{receiverId}/assignSerialNumbers
Parameters
Type Name Description Schema

Path

receiverId
required

receiverId

integer (int64)

Body

receiverMaterialLotsInfo
required

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

HttpErrorResponse

404

Not Found

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.8. Update Receiver status

POST /v1.0/receiverMaterialLots/{receiverId}/complete
Parameters
Type Name Description Schema

Path

receiverId
required

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

HttpErrorResponse

404

Not Found

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.9. Generate receiver samples

POST /v1.0/receiverMaterialLots/{receiverId}/generateSamples
Parameters
Type Name Description Schema

Path

receiverId
required

receiverId

integer (int64)

Body

generateSamplesInfo
required

generateSamplesInfo

GenerateSamplesInfo

Responses
HTTP Code Description Schema

201

Created

object

400

Invalid data

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5. Sample-material-lot-controller

Sample Material Lot Controller

2.5.1. Create sample

POST /v1.0/samples
Parameters
Type Name Description Schema

Body

sampleMaterialLotId
required

sampleMaterialLotId

SampleMaterialLotId

Responses
HTTP Code Description Schema

201

Created

SampleTestMaterialLotResult

400

Invalid data

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.2. Update Sample

PUT /v1.0/samples/{sampleId}
Parameters
Type Name Description Schema

Path

sampleId
required

sampleId

integer (int64)

Body

sampleUpdateInfo
required

Sample Description

SampleMaterialLotUpdateInfo

Responses
HTTP Code Description Schema

200

OK

SampleMaterialLotResult

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

500

Internal server error

No Content

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.3. Delete Sample

DELETE /v1.0/samples/{sampleId}
Parameters
Type Name Description Schema

Path

sampleId
required

sampleId

integer (int64)

Responses
HTTP Code Description Schema

204

No Content

object

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

500

Internal server error

No Content

503

Service Unavailable

HttpErrorResponse

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.6. Test-material-lot-controller

Test Material Lot Controller

2.6.1. Update test

PUT /v1.0/tests/{testId}
Parameters
Type Name Description Schema

Path

testId
required

testId

integer (int64)

Body

testMaterialLotInfo
required

testMaterialLotInfo

TestMaterialLotInfoRequest

Responses
HTTP Code Description Schema

200

OK

TestMaterialLotResult

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7. Units-controller

Units Controller

2.7.1. Retrieves all the statuses of a given Unit ID

GET /v1.0/units/{unitId}/prodExecutionTransitions
Parameters
Type Name Description Schema

Path

unitId
required

unitId

integer (int64)

Query

fromStatusIds
optional

fromStatusIds

string

Responses
HTTP Code Description Schema

200

OK

TransactionStatus

400

Bad data

HttpErrorResponse

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8. Variable-controller

Variable Controller

2.8.1. Get variable specification limit for a particular time

GET /v1.0/variable/variablespecification
Parameters
Type Name Description Schema

Query

startTime
required

time at which you are looking for

string

Query

variableIds
required

List of variables separated by comma(,)

string

Responses
HTTP Code Description Schema

200

OK

TestValueSpecifications

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

500

Internal server error

No Content

503

Service Unavailable

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9. Workflow-execution-controller

Workflow Execution Controller

2.9.1. Get DIT workflow execution level groups

GET /v1.0/workflow-execution/level-groups
Parameters
Type Name Description Schema

Query

materialLotId
required

materialLotId

integer (int64)

Query

receiverName
required

receiverName

string

Query

type
required

type

string

Responses
HTTP Code Description Schema

200

OK

< ExecutionDetails > array

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.2. Get workflow status

GET /v1.0/workflow-execution/workflow-status
Parameters
Type Name Description Schema

Query

materialLotIds
required

materialLotIds

string

Query

receiverName
required

receiverName

string

Query

type
required

type

string

Responses
HTTP Code Description Schema

200

OK

< ExecutionDetails > array

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

3. Definitions

3.1. DefectInfoResponse

Name Schema

affectedObjectId
optional

string

affectedObjectType
optional

string

affectedQuantity
optional

number (double)

affectedQuantityUnitOfMeasure
optional

string

commentId
optional

string

createdBy
optional

string

createdOn
optional

string (date-time)

defectCauseTreeId
optional

string

defectContextType
optional

string

defectId
optional

integer (int64)

defectReasonLevel1Id
optional

string

defectReasonLevel1Name
optional

string

defectReasonLevel2Id
optional

string

defectReasonLevel2Name
optional

string

defectReasonLevel3Id
optional

string

defectReasonLevel3Name
optional

string

defectReasonLevel4Id
optional

string

defectReasonLevel4Name
optional

string

defectTypeId
optional

integer (int64)

defectTypeName
optional

string

description
optional

string

dispositionActionTreeId
optional

string

dispositionActions
optional

< DispositionActionInfo > array

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

locationId
optional

string

locationType
optional

string

ncLastModifiedBy
optional

string

ncLastModifiedOn
optional

string (date-time)

nonConformanceType
optional

string

nonconformanceDescription
optional

string

nonconformanceId
optional

integer (int64)

nonconformanceName
optional

string

nonconformanceTypeId
optional

integer (int64)

parentId
optional

integer (int64)

propertyValues
optional

< DefectPropertyValueInfo > array

reportedBy
optional

string

status
optional

string

summary
optional

string

version
optional

integer (int32)

3.2. DefectPropertyValueInfo

Name Schema

createdBy
optional

string

createdOn
optional

string (date-time)

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

originId
optional

integer (int64)

propertyDefinitionId
optional

string

propertyValueId
optional

integer (int64)

value
optional

string

version
optional

integer (int32)

3.3. DispositionActionInfo

Name Schema

actionNote
optional

string

commentId
optional

string

createdBy
optional

string

createdOn
optional

string (date-time)

daReasonLevel1Id
optional

string

daReasonLevel2Id
optional

string

daReasonLevel3Id
optional

string

daReasonLevel4Id
optional

string

dispositionActionId
optional

integer (int64)

dispositionPlan
optional

DispositionPlanInfo

dispositionPlanId
optional

integer (int64)

dispositionTypeId
optional

integer (int64)

dispositionTypeName
optional

string

dispositionTypeNameGlobal
optional

string

elapsedTime
optional

integer (int32)

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

lastModifiedOperation
optional

string

name
optional

string

parentId
optional

integer (int64)

properties
optional

< PropertyValueInfo > array

quantity
optional

number (double)

status
optional

string

version
optional

integer (int32)

3.4. DispositionInfo

Disposition Info for updating in PA for a material lot

Name Description Schema

propertyValues
optional

Property values for a given material lot

< MaterialProperties > array

statusId
optional

Disposition status for a given material lot

integer (int64)

unitId
optional

Unit Id for which the statuses to be retrieved

integer (int64)

3.5. DispositionPlanInfo

Name Description Schema

createdBy
optional

string

createdOn
optional

string (date-time)

dispositionPlanId
optional

integer (int64)

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

name
optional

string

parentId
optional

integer (int64)

requiresReview
optional

Example : false

boolean

reviewed
optional

Example : false

boolean

reviewedBy
optional

string

reviewedOn
optional

string (date-time)

source
optional

string

status
optional

string

version
optional

integer (int32)

3.6. Error

Name Schema

code
optional

string

details
optional

object

3.7. ExecutionDetails

Name Schema

groupinfo
optional

< GroupStatusInfo > array

levelId
optional

integer (int32)

levelName
optional

string

3.8. GenerateSamplesInfo

Generate Samples Info

Name Description Schema

productId
required

Product Id

integer (int64)

3.9. GroupStatusInfo

Name Description Schema

groupName
optional

string

groupType
optional

string

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

recievedReverification
optional

Example : false

boolean

status
optional

string

3.10. HttpErrorResponse

Name Schema

error
optional

Error

path
optional

string

timestamp
optional

string

3.11. HttpErrorResponseNew

Name Schema

error
optional

Error

path
optional

string

timestampVal
optional

string

Name Description Schema

deprecation
optional

string

href
optional

string

hreflang
optional

string

media
optional

string

name
optional

string

profile
optional

string

rel
optional

string

template
optional

UriTemplate

templated
optional

Example : false

boolean

title
optional

string

type
optional

string

Name Schema

empty
optional

boolean

3.14. MaterialLot

Name Schema

initialQuantity
optional

number (double)

lotIdentifier
optional

string

productId
optional

integer (int64)

properties
optional

< MaterialProperties > array

status
optional

string

3.15. MaterialLotProperties

Name Schema

defaultValue
optional

string

displayName
optional

string

propertyDataTyeId
optional

integer (int64)

propertyDataType
optional

string

propertyDefinitionId
optional

string

propertyName
optional

string

propertyValue
optional

string

required
optional

boolean

3.16. MaterialLotPropertyDefinitionInfo

Name Description Schema

dataType
optional

The datatype of the property

string

defaultValue
optional

string

displayName
optional

string

propertyDefinitionId
required

The id of the property definition

string

propertyDefinitionName
required

The name of the property definition

string

propertyValue
required

The value of the property

string

3.17. MaterialLotPropertyResults

Name Schema

content
optional

< MaterialLotPropertyDefinitionInfo > array

links
optional

Links

page
optional

PageMetadata

3.18. MaterialLotPropertyValues

Name Schema

propertyDefinitionId
optional

string

propertyValue
optional

string

3.19. MaterialLotUpdate

MaterialLotUpdate

Name Description Schema

lotIdentifier
optional

string

lotQuantity
optional

number (double)

materialLotId
optional

integer (int64)

periodicInspectionQty
optional

Periodic Inspection Quantity

number (double)

productId
optional

integer (int64)

propertyValues
optional

< MaterialLotPropertyValues > array

statusId
optional

integer (int64)

unitId
optional

materialot unit Id

integer (int64)

3.20. MaterialLots

Name Schema

commentId
optional

integer (int64)

isSerialized
optional

boolean

lotIdentifier
optional

string

materialLotId
optional

integer (int64)

materialLotStatus
optional

string

materialLotStatusId
optional

integer (int64)

materialLotsEntryOn
optional

string

productCode
optional

string

productDesc
optional

string

productId
optional

integer (int64)

quantity
optional

integer (int64)

unitId
optional

integer (int64)

unitName
optional

string

3.21. MaterialLotsDto

Name Schema

commentId
optional

integer (int64)

defectInfoResponses
optional

< DefectInfoResponse > array

isSerialized
optional

boolean

lotIdentifier
optional

string

materialLotId
optional

integer (int64)

materialLotStatus
optional

string

materialLotStatusId
optional

integer (int64)

materialLotsEntryOn
optional

string

periodicInspectionQty
optional

number (double)

productCode
optional

string

productDesc
optional

string

productId
optional

integer (int64)

propertyValues
optional

< MaterialLotProperties > array

quantity
optional

integer (int64)

unitId
optional

integer (int64)

unitName
optional

string

3.22. MaterialProperties

Properties of a material.

Name Description Schema

defaultValue
optional

string

displayName
optional

string

propertyDefinitionId
optional

string

propertyName
required

Name of the property

string

propertyValue
required

Value of the property

string

3.23. PageMetadata

Name Schema

number
optional

integer (int64)

size
optional

integer (int64)

totalElements
optional

integer (int64)

totalPages
optional

integer (int64)

3.24. ProductionStatus

Name Schema

colorId
optional

integer (int64)

iconId
optional

integer (int64)

id
optional

integer (int64)

lifeCycleStage
optional

integer (int64)

prodStatusDesc
optional

string

prodStatusDescLocal
optional

string

3.25. PropertyDefinitionInfo

Name Schema

defaultValue
optional

string

displayName
optional

string

propertyDataType
optional

string

propertyDataTypeId
optional

integer (int32)

propertyDefinitionId
optional

string

propertyName
optional

string

required
optional

boolean

3.26. PropertyValueInfo

Name Schema

createdBy
optional

string

createdOn
optional

string (date-time)

dispositionActionHistoryId
optional

integer (int64)

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

originId
optional

integer (int64)

parentId
optional

integer (int64)

propertyDefinitionId
optional

string

propertyValueId
optional

integer (int64)

value
optional

string

version
optional

integer (int32)

3.27. ReceiverInfo

Name Schema

productCode
optional

string

productId
optional

integer (int64)

receiverNumber
optional

string

receiverStatus
optional

string

sourceEventId
optional

integer (int64)

3.28. ReceiverMaterialLots

Name Schema

materialLots
optional

< MaterialLots > array

receiverNumber
optional

string

receiverStatus
optional

string

receiverStatusId
optional

integer (int64)

receiverUnitId
optional

integer (int64)

sourceEventId
optional

integer (int64)

timeStampValue
optional

string

3.29. ReceiverMaterialLotsDto

Name Schema

materialLots
optional

< MaterialLotsDto > array

receiverNumber
optional

string

receiverStatus
optional

string

receiverStatusId
optional

integer (int64)

receiverUnitId
optional

integer (int64)

sampleQuantity
optional

integer (int64)

sourceEventId
optional

integer (int64)

timeStampValue
optional

string

3.30. ReceiverMaterialLotsInfo

Name Description Schema

materialLots
optional

< MaterialLotUpdate > array

receiverName
optional

receiverName

string

receiverStatusId
optional

integer (int64)

receiverUnitId
optional

integer (int64)

3.31. SampleMaterialLotId

Sample material lot Id.

Name Description Schema

materialLotId
optional

The Id of Material Lot

integer (int64)

3.32. SampleMaterialLotResult

Get Sample material lot.

Name Description Schema

endTime
optional

The end time of the Sample

string

materialLotId
optional

The Id of the Sample Material Lot

integer (int64)

receiverId
optional

The Id of the parent receiver

integer (int64)

sampleId
optional

The Id of the Sample

integer (int64)

sampleName
optional

The name of the Sample

string

startTime
optional

The start time of the Sample

string

unitId
optional

The Id of the Sample Material Lot

integer (int64)

3.33. SampleMaterialLotUpdateInfo

Sample update data tranfer object

Name Description Schema

sampleName
optional

Name of the sample

string

3.34. SampleTestMaterialLotResult

Name Description Schema

endTime
optional

The end time of the Sample

string

materialLotId
optional

The Id of the Sample Material Lot

integer (int64)

receiverId
optional

The Id of the parent receiver

integer (int64)

sampleId
optional

The Id of the Sample

integer (int64)

sampleName
optional

The name of the Sample

string

startTime
optional

The start time of the Sample

string

tests
optional

< TestMaterialLotResult > array

3.35. SampleTestMaterialLots

Name Schema

commentId
optional

integer (int64)

materialLot
optional

string

materialLotId
optional

integer (int64)

materialLotStatus
optional

string

productCode
optional

string

productDescription
optional

string

quantity
optional

integer (int64)

samples
optional

< Samples > array

3.36. Samples

Name Schema

autoGeneratedSample
optional

boolean

sample
optional

string

sampleId
optional

integer (int64)

tests
optional

< Tests > array

3.37. StatusCombination

Name Schema

fromStatusDescription
optional

string

fromStatusId
optional

integer (int32)

toStatusDescription
optional

string

toStatusId
optional

integer (int32)

3.38. TemplateVariable

Name Schema

description
optional

string

name
optional

string

type
optional

enum (, ?, &, /, #, *)

3.39. TestMaterialLotInfoRequest

Name Schema

eventId
optional

integer (int64)

receiverId
optional

integer (int64)

testValue
optional

string

variableId
optional

integer (int32)

3.40. TestMaterialLotResult

Name Description Schema

cancelled
required

Cancelled
Example : false

boolean

eventId
required

Event Id

integer (int64)

resultOn
required

result On

string

testId
required

Test Id

integer (int64)

testValue
required

Name of test value

string

variableId
required

Variable Id

integer (int32)

3.41. TestValueSpecifications

Name Schema

dataTypeId
optional

integer (int64)

eSignatureLevel
optional

integer (int64)

id
optional

integer (int64)

isInclusiveSpecCalc
optional

boolean

lowerControlLimit
optional

object

lowerEntryLimit
optional

object

lowerRejectLimit
optional

object

lowerUserLimit
optional

object

lowerWarningLimit
optional

object

target
optional

object

targetControl
optional

object

targetFreq
optional

integer (int32)

upperControlLimit
optional

object

upperEntryLimit
optional

object

upperRejectLimit
optional

object

upperUserLimit
optional

object

upperWarningLimit
optional

object

variableId
optional

integer (int64)

3.42. Tests

Name Schema

commentId
optional

integer (int64)

dataType
optional

string

dataTypeId
optional

integer (int64)

requiresInspection
optional

boolean

specDesc
optional

string

testId
optional

integer (int64)

userDefined1
optional

string

value
optional

string

varAlias
optional

string

varPrecision
optional

integer (int32)

variable
optional

string

variableId
optional

integer (int64)

3.43. TransactionStatus

Name Schema

links
optional

< Link > array

plannedUnitId
optional

integer (int64)

prodExecutionTransitions
optional

< StatusCombination > array

3.44. UriTemplate

Name Schema

variableNames
optional

< string > array

variables
optional

< TemplateVariable > array

3.45. ValidationRequestInfo

Name Description Schema

materialLotNames
optional

< string > array

newLotStatusId
optional

Status ID of the material lot to be updated

integer (int32)

plannedUnitId
optional

integer (int64)

productId
optional

integer (int64)

receiverId
optional

Receiver ID of the material lot to be updated

integer (int64)

transNum
optional

TransNum value to determine the type of validation to perform

enum (1, 2)

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.