1. Overview

Microservice containing the business logic for managing non-conformances during production.

1.1. URI scheme

Host : localhost:34309
BasePath : /

1.2. Tags

  • context-type-controller : Context Type Controller

  • defect-controller : Defect Controller

  • defect-search-controller : Defect Search Controller

  • defect-type-controller : Defect Type Controller

  • disposition-action-controller : Disposition Action Controller

  • disposition-action-search-controller : Disposition Action Search Controller

  • disposition-plan-controller : Disposition Plan Controller

  • disposition-type-controller : Disposition Type Controller

  • history-controller : History Controller

  • ncm-patch-controller : NCM Patch Controller

  • non-conformance-controller : Non Conformance Controller

  • non-conformance-type-controller : Non Conformance Type Controller

2. Resources

2.1. Context-type-controller

Context Type Controller

2.1.1. Get ContextType records

GET /contexttypes
Parameters
Type Name Description Schema Default

Query

page
optional

Page number to return 0 to N.

integer (int32)

0

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

ContextTypePage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.1.2. Get ContextType record by id

GET /contexttypes/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of the DispositionType as a filter .

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ContextTypeResource

401

Unauthorized

No Content

404

Not found

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2. Defect-controller

Defect Controller

2.2.1. Get defect records

GET /nonconformances/{nonconformanceId}/defects
Parameters
Type Name Description Schema

Path

nonconformanceId
required

Get all defect records for a nonconfomance.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

DefectPage

400

Non-conformance not found

No Content

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.2. List of defects

POST /nonconformances/{nonconformanceId}/defects/createDefects
Parameters
Type Name Description Schema

Path

nonconformanceId
required

Id of the Nonconformance resource.

integer (int64)

Body

defect
optional

List of Defect details to create.

< DefectInfo > array

Responses
HTTP Code Description Schema

201

Created

< DefectResource > array

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Non-conformance not found

No Content

409

URL nc-id doesn’t match with request body nc-id

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.3. Get defect record

GET /nonconformances/{nonconformanceId}/defects/{defectId}
Parameters
Type Name Description Schema

Path

defectId
required

ID for the Defect as a filter.

integer (int64)

Path

nonconformanceId
required

ID for the Nonconformance as a filter for defect.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

DefectResource

400

non-conformance with given id doesn’t exists

No Content

401

Unauthorized

No Content

404

Not found

No Content

409

Wrong non-conformance for this defect

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.4. defect

PUT /nonconformances/{nonconformanceId}/defects/{defectId}
Parameters
Type Name Description Schema

Path

defectId
required

ID of the Defect to update.

integer (int64)

Path

nonconformanceId
required

Id of the Nonconformance resource.

integer (int64)

Body

defect
optional

DefectInfo Details to update.

DefectInfo

Responses
HTTP Code Description Schema

200

OK

DefectResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

412

Defect has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.5. mapDispositionAction

POST /nonconformances/{nonconformanceId}/defects/{defectId}/dispositionActions
Parameters
Type Name Description Schema

Path

defectId
required

ID for the Defect to map DispositionAction.

integer (int64)

Path

nonconformanceId
required

ID for the NonconformanceId as associated with defect.

integer (int64)

Query

dispositionPlanId
required

Id for the disposition planId to know defect is associated with which plan

integer (int64)

Body

listDispositionAction
optional

Details of the dispositionAction to dispose defect

< DispositionActionInfo > array

Responses
HTTP Code Description Schema

200

OK

< Resource«DispositionActionInfo» > array

208

Disposition action already mapped to defect

No Content

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

412

Defect has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.6. getDispositionActions

GET /nonconformances/{nonconformanceId}/defects/{defectId}/dispositionActions
Parameters
Type Name Description Schema

Path

defectId
required

ID of the Defect as a filter.

integer (int64)

Path

nonconformanceId
required

ID of the NonconformanceId as a filter.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< Resource«DispositionActionInfo» > array

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

412

Defect has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3. Defect-search-controller

Defect Search Controller

2.3.1. Get defect records

GET /defects
Parameters
Type Name Description Schema Default

Query

affectedObjectId
optional

affected Object Id of the Defect as a filter.

< string > array(multi)

Query

affected_quantity
optional

Number of Affected_quantity for the defect.

< number (double) > array(multi)

Query

defectContextType
optional

defect context Id of the Defect as a filter.

< string > array(multi)

Query

id
optional

ID for the Defect as a filter.

< integer (int64) > array(multi)

Query

likeOnColumn
optional

On column which like operator is affected.

string

Query

likeSearchValue
optional

On column which like search is applied.

string

Query

modified_by
optional

User that last modified the Defect.

< string > array(multi)

Query

modified_on
optional

Date that the Defect was last modified.

< string > array(multi)

Query

nonConformanceId
optional

Id of the NonConformance resource.

< integer (int64) > array(multi)

Query

orderBy
optional

enum (asc, desc)

"desc"

Query

orderByColumn
optional

Name of the column to sort based on like lastModifiedOn.

string

"lastModifiedOn"

Query

page
optional

integer (int32)

0

Query

size
optional

integer (int32)

20

Query

status
optional

Status of the Defect as a filter. Multiple values are supported. and the results contain all operations matching any of the values. Available values: Submitted, Planned, Active, Closed, Not a defect

< string > array(multi)

Query

summary
optional

Summary of the Defect as a filter.

< string > array(multi)

Responses
HTTP Code Description Schema

200

OK

DefectPage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.2. Get defects for list of defectIds

GET /defects/defectqueuesearch
Parameters
Type Name Description Schema Default

Query

defectId
optional

List of Defect ID’s for the DefectQueue Search as a filter.

< integer (int64) > array(multi)

Query

page
optional

integer (int32)

0

Query

searchQueue
optional

Search Defect with NCR name and Dispostion Plan Name

string

Query

size
optional

integer (int32)

20

Query

status
optional

Status of the Defect as a filter. Multiple values are supported. and the results contain all operations matching any of the values. Available values: Submitted, Planned, Active, Closed, Not a defect

< string > array(multi)

Responses
HTTP Code Description Schema

200

OK

DefectPage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.3. getDefectIds

GET /defects/getDefectIds
Parameters
Type Name Description Schema Default

Query

affectedObjectId
optional

affectedObjectId

< string > array(multi)

Query

affected_object_type
optional

affected_object_type

< string > array(multi)

Query

affected_quantity
optional

affected_quantity

< number (double) > array(multi)

Query

defect_context_type
optional

defect_context_type

< string > array(multi)

Query

id
optional

id

< integer (int64) > array(multi)

Query

likeOnColumn
optional

likeOnColumn

string

Query

likeSearchValue
optional

likeSearchValue

string

Query

modified_by
optional

modified_by

< string > array(multi)

Query

modified_on
optional

modified_on

< string > array(multi)

Query

nonConformanceId
optional

nonConformanceId

< integer (int64) > array(multi)

Query

orderBy
optional

enum (asc, desc)

"desc"

Query

orderByColumn
optional

orderByColumn

string

"lastModifiedOn"

Query

status
optional

status

< string > array(multi)

Query

summary
optional

summary

< string > array(multi)

Responses
HTTP Code Description Schema

200

OK

< integer (int64) > array

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.4. getDefectIdsPaginated

GET /defects/getDefectIdsPaginated
Parameters
Type Name Description Schema Default

Query

affected_object_type
optional

affected object type of defect as a filter

< string > array(multi)

Query

affected_quantity
optional

Number of Affected_quantity for the defect.

< number (double) > array(multi)

Query

defect_context_type
optional

Defect context type of defect as a filter

< string > array(multi)

Query

id
optional

ID for the List of Defect as a filter.

< integer (int64) > array(multi)

Query

likeOnColumn
optional

On column which like operator is affected.

string

Query

likeSearchValue
optional

On column which like search is applied.

string

Query

modified_by
optional

List of Users that last modified the Defect.

< string > array(multi)

Query

modified_on
optional

List of Dates that the Defect was last modified.

< string > array(multi)

Query

nonConformanceId
optional

Id of the NonConformance resource.

< integer (int64) > array(multi)

Query

orderBy
optional

enum (asc, desc)

"desc"

Query

orderByColumn
optional

Name of the column to sort based on like lastModifiedOn.

string

"lastModifiedOn"

Query

page
optional

integer (int32)

0

Query

size
optional

integer (int32)

20

Query

status
optional

Status of the Defect as a filter. Multiple values are supported. and the results contain all operations matching any of the values. Available values: Submitted, Planned, Active, Closed, Not a defect

< string > array(multi)

Query

summary
optional

Summary of the Defect as a filter.

< string > array(multi)

Responses
HTTP Code Description Schema

200

OK

Page«long»

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.5. Get defects for list of defectIds

GET /defects/getDefects
Parameters
Type Name Description Schema Default

Query

defectId
optional

List of Defect ID’s for the Defects as a filter.

< integer (int64) > array(multi)

Query

page
optional

integer (int32)

0

Query

searchQueue
optional

Search Defect with NCR name and Dispostion Plan Name

string

Query

size
optional

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

DefectPage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4. Defect-type-controller

Defect Type Controller

2.4.1. Create a DefectType

POST /DefectTypes
Parameters
Type Name Description Schema

Body

record
optional

Record Info representing the DefectType to create.

DefectTypeInfo

Responses
HTTP Code Description Schema

201

Created

DefectTypeResource

400

Invalid data supplied: must not set DefectTypeId property

No Content

401

Unauthorized

No Content

Consumes
  • application/json

Produces
  • application/json

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 DefectType records

GET /DefectTypes
Parameters
Type Name Description Schema Default

Query

page
optional

Page number to return 0 to N.

integer (int32)

0

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Query

type
optional

DefectType of the operation as a filter, different values are supported like All,false,true

enum (true, false)

"false"

Responses
HTTP Code Description Schema

200

OK

DefectTypePage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.3. Delete all DefectType

DELETE /DefectTypes
Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.4. Get a DefectType record by id

GET /DefectTypes/{id}
Parameters
Type Name Description Schema

Path

id
required

ID for the DefectType that the defect belongs as a filter Like: Locking unmatched,Paint Shop Defect,Welding Shop Defect

integer (int64)

Responses
HTTP Code Description Schema

200

OK

DefectTypeResource

401

Unauthorized

No Content

404

Not found

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.5. Update a DefectType

PUT /DefectTypes/{id}
Parameters
Type Name Description Schema

Path

id
required

ID of the DefectType to update.

integer (int64)

Body

record
optional

Record Info representing the DefectType to Update.

DefectTypeInfo

Responses
HTTP Code Description Schema

200

OK

DefectTypeResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

412

DefectType has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.6. Delete a DefectType

DELETE /DefectTypes/{id}
Parameters
Type Name Description Schema

Path

id
required

ID of the DefectType to Delete.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5. Disposition-action-controller

Disposition Action Controller

2.5.1. Create a disposition action

POST /dispositionplans/{dispositionPlanId}/dispositionactions
Parameters
Type Name Description Schema

Path

dispositionPlanId
required

Id of the dispositionPlan resource.

integer (int64)

Body

record
optional

Details of the DispositionActionInfo to create.

DispositionActionInfo

Responses
HTTP Code Description Schema

201

Created

DispositionActionResource

400

Invalid data supplied: must not set dispositionActionId property

No Content

401

Unauthorized

No Content

404

Parent disposition-plan id does not exist

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.2. Get disposition actions

GET /dispositionplans/{dispositionPlanId}/dispositionactions
Parameters
Type Name Description Schema Default

Path

dispositionPlanId
required

ID for the dispositionPlan as a filter for dispositionActions.

integer (int64)

Query

page
optional

integer (int32)

0

Query

size.
optional

Number of resources to return per page.

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

DispositionActionPage

400

Non-conformance not found

No Content

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.3. Create disposition actions

POST /dispositionplans/{dispositionPlanId}/dispositionactions/createdispositionactions
Parameters
Type Name Description Schema

Path

dispositionPlanId
required

Id of the dispositionPlan resource.

integer (int64)

Body

record
optional

List of Details of dispositionAction to create.

< DispositionActionInfo > array

Responses
HTTP Code Description Schema

201

Created

< DispositionActionResource > array

400

Invalid data supplied: must not set dispositionActionId property

No Content

401

Unauthorized

No Content

404

Parent disposition-plan id does not exist

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.4. Update disposition action

PUT /dispositionplans/{dispositionPlanId}/dispositionactions/{dispositionActionId}
Parameters
Type Name Description Schema

Path

dispositionActionId
required

Id of the dispositionAction to Update.

integer (int64)

Path

dispositionPlanId
required

Id of the dispositionPlan resource to update.

integer (int64)

Body

record
optional

Details of the DispositionActionInfo to Update.

DispositionActionInfo

Responses
HTTP Code Description Schema

200

OK

DispositionActionResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

409

Disposition Action belongs to some other disposition plan

No Content

412

DispositionAction has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.5. getDefects

GET /dispositionplans/{dispositionPlanId}/dispositionactions/{dispositionActionId}/defects
Parameters
Type Name Description Schema

Path

dispositionActionId
required

ID for the dispositionAction as a filter.

integer (int64)

Path

dispositionPlanId
required

ID for the dispositionPlanId as a filter.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< Resource«DefectInfo» > array

400

Non-conformance not found

No Content

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.6. Get disposition action

GET /dispositionplans/{dispositionPlanId}/dispositionactions/{id}
Parameters
Type Name Description Schema

Path

dispositionPlanId
required

ID for the dispositionPlan as a filter for dispositionActions.

integer (int64)

Path

id
required

ID of the DispositionAction as a filter.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

DispositionActionResource

401

Unauthorized

No Content

404

Not found

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.6. Disposition-action-search-controller

Disposition Action Search Controller

2.6.1. Get disposition actions by query

GET /dispositionActions/getDispositionActionsByQuery
Parameters
Type Name Description Schema Default

Query

dispositionType
optional

List of DispositionTypes Like: clear,CTP,rework,scrap and use as is.

< string > array(multi)

Query

id
optional

List of Id’s of the DispositionActions resource.

< integer (int64) > array(multi)

Query

modified_by
optional

List of User’s that last modified the Defect.

< string > array(multi)

Query

modified_on
optional

List of Dates that the Defect was last modified.

< string > array(multi)

Query

orderBy
optional

Name of the operation property to sort the results by.

string

"desc"

Query

orderByColumn
optional

Name of the column to sort based on like lastModifiedOn.

string

"lastModifiedOn"

Query

page
optional

Page number to return 0 to N.

integer (int32)

0

Query

propDefinition
optional

propDefinition

< string > array(multi)

Query

propValue
optional

propValue

< string > array(multi)

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Query

status
optional

Status of the DispositionAction as a filter. Multiple values are supported
and the results contain all operations matching any of the values. Available values : Completed, Active,Submitted

< string > array(multi)

Responses
HTTP Code Description Schema

200

OK

DispositionActionPage

400

Non-conformance not found

No Content

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7. Disposition-plan-controller

Disposition Plan Controller

2.7.1. Create DispositionPlan

POST /dispositionplans
Parameters
Type Name Description Schema

Body

record
optional

Details on the DispositionPlanInfo to create.

DispositionPlanInfo

Responses
HTTP Code Description Schema

201

Created

DispositionPlanResource

400

Invalid data supplied: must not set dispositionPlanId property

No Content

401

Unauthorized

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7.2. Get DispositionPlan records

GET /dispositionplans
Parameters
Type Name Description Schema Default

Query

dispositionActionStatus
required

DispositionActionStatus of the operation as a filter,different values are supported like ALL,Open

enum (Open, All)

Query

page
optional

Page number to return 0 to N.

integer (int32)

0

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

DispositionPlanPage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7.3. deleteAllDispositionPlans

DELETE /dispositionplans
Responses
HTTP Code Description Schema

200

OK

ResponseEntity

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7.4. Get DispositionPlan record by id

GET /dispositionplans/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of the dispositionPlan resource.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

DispositionPlanResource

400

Invalid data supplied: must not set dispositionPlanId property

No Content

401

Unauthorized

No Content

404

Not found

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7.5. Update DispositionPlan

PUT /dispositionplans/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of the dispositionPlan resource.

integer (int64)

Body

record
optional

Details on the DispositionPlanInfo to Update.

DispositionPlanInfo

Responses
HTTP Code Description Schema

200

OK

DispositionPlanResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

412

DispositionPlan has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7.6. deleteDispositionPlan

DELETE /dispositionplans/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of the DispositionPlan resource for delete.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ResponseEntity

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8. Disposition-type-controller

Disposition Type Controller

2.8.1. Endpoint to create Disposition Type

POST /dispositiontypes
Parameters
Type Name Description Schema

Body

record
optional

Details on the DispositionType to create.

DispositionTypeInfoExtend

Responses
HTTP Code Description Schema

201

Created

DispositionTypeResource

400

Invalid data supplied: must not set dispositionTypeId property

No Content

401

Unauthorized

No Content

409

Type with that name already exists

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.2. Get Disposition types

GET /dispositiontypes
Parameters
Type Name Description Schema Default

Query

page
optional

Page number to return 0 to N.

integer (int32)

0

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

DispositionTypePage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.3. deleteAllDispositionTypes

DELETE /dispositiontypes
Responses
HTTP Code Description Schema

200

OK

ResponseEntity

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.4. Endpoint to update Disposition Type

PATCH /dispositiontypes
Parameters
Type Name Description Schema

Body

record
optional

Detail of Disposition Type to be update.

DispositionTypePatch

Responses
HTTP Code Description Schema

202

Accepted

DispositionTypeResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

406

Not acceptable

No Content

412

DispositionType has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.5. Get Disposition type

GET /dispositiontypes/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of the DispositionType as a filter .

integer (int64)

Responses
HTTP Code Description Schema

200

OK

DispositionTypeResource

401

Unauthorized

No Content

404

Not found

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.6. Endpoint to update Disposition Type

PUT /dispositiontypes/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of Disposition Type to be update.

integer (int64)

Body

record
optional

Detail of Disposition Type to be update.

DispositionTypeInfoExtend

Responses
HTTP Code Description Schema

202

Accepted

DispositionTypeResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

406

Not acceptable

No Content

412

DispositionType has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.7. deleteDispositionType

DELETE /dispositiontypes/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of the DispositionType to delete .

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ResponseEntity

401

Unauthorized

No Content

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. History-controller

History Controller

2.9.1. Get defect history based on Defect ID

GET /history/defecthistory/{id}
Parameters
Type Name Description Schema Default

Path

id
required

ID for the Defect as a filter.

integer (int64)

Query

page
optional

Page number to return 0 to N.

integer (int32)

0

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

DefectHistoryPage

400

defect history not found

No Content

401

Unauthorized

No Content

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 disposition action history based on Defect ID or Non-Conformance ID

GET /history/dispositionactionhistory/{id}
Parameters
Type Name Description Schema Default

Path

id
required

id must be a Non-Conformance ID or Defect ID

integer (int64)

Query

idIs
required

idIs

enum (DefectId, NonConformanceId)

"defectId"

Query

page
optional

Page number to return 0 to N.

integer (int32)

0

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

DispositionActionHistoryPage

400

dispostionAction history not found

No Content

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.10. Ncm-patch-controller

NCM Patch Controller

2.10.1. Get defect records

PATCH /ncmpatch/modifydispositionplan
Parameters
Type Name Description Schema

Body

disposition
optional

Details on the DispositionPlan to Update.

< DispositionPatch > array

Responses
HTTP Code Description Schema

200

Success

DefectPage

204

No Content

DefectPage

401

Unauthorized

No Content

404

disposition action not found

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11. Non-conformance-controller

Non Conformance Controller

2.11.1. Create a nonconformance

POST /nonconformances
Parameters
Type Name Description Schema

Body

record
optional

Details on the Nonconformance to create.

NonConformanceInfo

Responses
HTTP Code Description Schema

201

Created

NonConformanceResource

400

Invalid data supplied: must not set nonConformanceId property

No Content

401

Unauthorized

No Content

404

Parent ncr-type not found

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.2. Get all nonconformances

GET /nonconformances
Parameters
Type Name Schema Default

Query

page
optional

integer (int32)

0

Query

size
optional

integer (int32)

20

Responses
HTTP Code Description Schema

200

OK

NonConformancePage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.3. deleteAllNonconformances

DELETE /nonconformances
Responses
HTTP Code Description Schema

200

OK

ResponseEntity

401

Unauthorized

No Content

409

Found child resource on non-conformance, cannot be deleted

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.4. Get all nonconformances

GET /nonconformances/nonconformancesearchqueue
Parameters
Type Name Description Schema Default

Query

defectId
optional

Id of the defectId record to return.

< integer (int64) > array(multi)

Query

page
optional

integer (int32)

0

Query

searchQueue
optional

searchQueue for the Nonconformance as a filter.

string

Query

size
optional

integer (int32)

20

Responses
HTTP Code Description Schema

200

Success

NonConformancePage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.5. Get nonconformance by id

GET /nonconformances/{id}
Parameters
Type Name Description Schema

Path

id
required

Id of the nonconformance record to return.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

NonConformanceResource

401

Unauthorized

No Content

404

Not found

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.6. Update a nonconformance

PUT /nonconformances/{id}
Parameters
Type Name Description Schema

Path

id
required

ID for the Nonconformance as a filter.

integer (int64)

Body

record
optional

Details on the Nonconformance to Update.

NonConformanceInfo

Responses
HTTP Code Description Schema

200

OK

NonConformanceResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

412

Non-conformance has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.7. deleteNonconformance

DELETE /nonconformances/{id}
Parameters
Type Name Description Schema

Path

id
required

ID for the Nonconformance to delete the records.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ResponseEntity

401

Unauthorized

No Content

404

Defect not found

No Content

409

Found child resource on non-conformance, cannot be deleted

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12. Non-conformance-type-controller

Non Conformance Type Controller

2.12.1. Create a nonconformance type

POST /nonconformance-types
Parameters
Type Name Description Schema

Body

typeInfo
optional

Details on the NonConformanceType to create.

NonConformanceTypeInfo

Responses
HTTP Code Description Schema

201

Created

NonConformanceTypeResource

400

Invalid data supplied: must not set nonconformanceId or deleted properties

No Content

401

Unauthorized

No Content

409

Type with that name already exists

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12.2. Get all nonconformance types

GET /nonconformance-types
Parameters
Type Name Description Schema Default

Query

paze
optional

Page number to return 0 to N.

integer (int32)

0

Query

size
optional

Number of resources to return per page.

integer (int32)

20

Query

type
optional

NonConformanceType of the operation as a filter, different values are supported like All,false,true

enum (true, false)

"false"

Responses
HTTP Code Description Schema

200

OK

NonConformanceTypePage

401

Unauthorized

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12.3. Get nonconformance type

GET /nonconformance-types/{id}
Parameters
Type Name Description Schema

Path

id
required

ID for the NonconformanceType as a filter.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

NonConformanceTypeResource

401

Unauthorized

No Content

404

Not found

No Content

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12.4. Update nonconformance type

PUT /nonconformance-types/{id}
Parameters
Type Name Description Schema

Path

id
required

ID for the NonconformanceType to update.

integer (int64)

Body

typeInfo
optional

Details on the NonConformanceType to Update.

NonConformanceTypeInfo

Responses
HTTP Code Description Schema

200

OK

NonConformanceTypeResource

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

404

Not found

No Content

409

Type with that name already exists

No Content

412

Type has been updated since the GET on which the submitted changes were made. Response contains the current record.

No Content

Consumes
  • application/json

Produces
  • application/json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12.5. deleteNonConformanceType

DELETE /nonconformance-types/{id}
Parameters
Type Name Description Schema

Path

id
required

ID for the NonconformanceType to delete.

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ResponseEntity

401

Unauthorized

No Content

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. ContextType

Name Schema

createdBy
optional

string

createdOn
optional

string (date-time)

deleted
optional

boolean

displayName
optional

string

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

name
optional

string

version
optional

integer (int32)

3.2. ContextTypeInfo

Name Schema

contextTypeId
optional

integer (int64)

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

displayName
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

name
optional

string

requiresReview
optional

boolean

version
optional
read-only

integer (int32)

3.3. ContextTypePage

Name Schema

content
optional

< ContextTypeResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.4. ContextTypeResource

Name Schema

contextTypeId
optional

integer (int64)

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

displayName
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

name
optional

string

requiresReview
optional

boolean

version
optional
read-only

integer (int32)

3.5. DefectHistoryInfo

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

defectHistoryId
optional

integer (int64)

defectId
optional

integer (int64)

defectReasonLevel1Id
optional

string

defectReasonLevel2Id
optional

string

defectReasonLevel3Id
optional

string

defectReasonLevel4Id
optional

string

defectTypeId
optional

integer (int64)

defectTypeName
optional

string

description
optional

string

dispositionActionTreeId
optional

string

dispositionActionsHistory
optional

< DispositionActionHistoryInfo > array

dispostionActionId
optional

< integer (int64) > array

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

locationId
optional

string

locationType
optional

string

modifiedOn
optional

string (date-time)

nonConformanceId
optional

integer (int64)

nonConformanceType
optional

string

nonConformanceTypeId
optional

integer (int64)

nonconformanceDescription
optional

string

nonconformanceName
optional

string

parentId
optional

integer (int64)

propertyValuesHistory
optional

< PropertyValueInfo > array

reportedBy
optional

string

status
optional

string

summary
optional

string

version
optional

integer (int32)

3.6. DefectHistoryPage

Name Schema

content
optional

< DefectHistoryResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.7. DefectHistoryResource

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

defectHistoryId
optional

integer (int64)

defectId
optional

integer (int64)

defectReasonLevel1Id
optional

string

defectReasonLevel2Id
optional

string

defectReasonLevel3Id
optional

string

defectReasonLevel4Id
optional

string

defectTypeId
optional

integer (int64)

defectTypeName
optional

string

description
optional

string

dispositionActionTreeId
optional

string

dispositionActionsHistory
optional

< DispositionActionHistoryInfo > array

dispostionActionId
optional

< integer (int64) > array

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

links
optional

< Link > array

locationId
optional

string

locationType
optional

string

modifiedOn
optional

string (date-time)

nonConformanceId
optional

integer (int64)

nonConformanceType
optional

string

nonConformanceTypeId
optional

integer (int64)

nonconformanceDescription
optional

string

nonconformanceName
optional

string

parentId
optional

integer (int64)

propertyValuesHistory
optional

< PropertyValueInfo > array

reportedBy
optional

string

status
optional

string

summary
optional

string

version
optional

integer (int32)

3.8. DefectInfo

Name Schema

affectedObjectId
optional

string

affectedObjectType
optional

string

affectedQuantity
optional

number (double)

affectedQuantityUnitOfMeasure
optional

string

commentId
optional

string

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

defectCauseTreeId
optional
read-only

string

defectContextType
optional

string

defectId
optional
read-only

integer (int64)

defectReasonLevel1Id
optional

string

defectReasonLevel2Id
optional

string

defectReasonLevel3Id
optional

string

defectReasonLevel4Id
optional

string

defectTypeId
optional

integer (int64)

defectTypeName
optional
read-only

string

description
optional

string

dispositionActionTreeId
optional
read-only

string

dispositionActions
optional

< DispositionActionInfo > array

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

locationId
optional

string

locationType
optional

string

ncLastModifiedBy
optional
read-only

string

ncLastModifiedOn
optional
read-only

string (date-time)

nonConformanceType
optional
read-only

string

nonconformanceDescription
optional
read-only

string

nonconformanceId
optional
read-only

integer (int64)

nonconformanceName
optional
read-only

string

nonconformanceTypeId
optional
read-only

integer (int64)

parentId
optional
read-only

integer (int64)

propertyValues
optional

< DefectPropertyValueInfo > array

reportedBy
optional

string

status
optional

string

summary
optional

string

version
optional
read-only

integer (int32)

3.9. DefectPage

Name Schema

content
optional

< DefectResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.10. DefectPropertyValueInfo

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

originId
optional
read-only

integer (int64)

propertyDefinitionId
optional

string

propertyValueId
optional
read-only

integer (int64)

value
optional

string

version
optional
read-only

integer (int32)

3.11. DefectResource

Name Schema

affectedObjectId
optional

string

affectedObjectType
optional

string

affectedQuantity
optional

number (double)

affectedQuantityUnitOfMeasure
optional

string

commentId
optional

string

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

defectCauseTreeId
optional
read-only

string

defectContextType
optional

string

defectId
optional
read-only

integer (int64)

defectReasonLevel1Id
optional

string

defectReasonLevel2Id
optional

string

defectReasonLevel3Id
optional

string

defectReasonLevel4Id
optional

string

defectTypeId
optional

integer (int64)

defectTypeName
optional
read-only

string

description
optional

string

dispositionActionTreeId
optional
read-only

string

dispositionActions
optional

< DispositionActionInfo > array

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

locationId
optional

string

locationType
optional

string

ncLastModifiedBy
optional
read-only

string

ncLastModifiedOn
optional
read-only

string (date-time)

nonConformanceType
optional
read-only

string

nonconformanceDescription
optional
read-only

string

nonconformanceId
optional
read-only

integer (int64)

nonconformanceName
optional
read-only

string

nonconformanceTypeId
optional
read-only

integer (int64)

parentId
optional
read-only

integer (int64)

propertyValues
optional

< DefectPropertyValueInfo > array

reportedBy
optional

string

status
optional

string

summary
optional

string

version
optional
read-only

integer (int32)

3.12. DefectTypeInfo

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

defectCauseTreeId
optional

string

defectTypeId
optional
read-only

integer (int64)

defectTypeName
optional

string

dispositionActionTreeId
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

version
optional
read-only

integer (int32)

3.13. DefectTypePage

Name Schema

content
optional

< DefectTypeResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.14. DefectTypeResource

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

defectCauseTreeId
optional

string

defectTypeId
optional
read-only

integer (int64)

defectTypeName
optional

string

dispositionActionTreeId
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

version
optional
read-only

integer (int32)

3.15. DispositionActionHistoryInfo

Name Schema

actionNote
optional

string

affectedObjectId
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

defectContextType
optional

string

defectId
optional

integer (int64)

dispositionActionHistoryId
optional

integer (int64)

dispositionActionId
optional

integer (int64)

dispositionActionPropertyValues
optional

< PropertyValueInfo > array

dispositionPlanId
optional

integer (int64)

dispositionTypeId
optional

integer (int64)

elapsedTime
optional

integer (int32)

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

lastModifiedOperation
optional

string

modifiedOn
optional

string (date-time)

name
optional

string

quantity
optional

number (double)

status
optional

string

version
optional

integer (int32)

3.16. DispositionActionHistoryPage

Name Schema

content
optional

< DispositionActionHistoryResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.17. DispositionActionHistoryResource

Name Schema

actionNote
optional

string

affectedObjectId
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

defectContextType
optional

string

defectId
optional

integer (int64)

dispositionActionHistoryId
optional

integer (int64)

dispositionActionId
optional

integer (int64)

dispositionActionPropertyValues
optional

< PropertyValueInfo > array

dispositionPlanId
optional

integer (int64)

dispositionTypeId
optional

integer (int64)

elapsedTime
optional

integer (int32)

id
optional

integer (int64)

lastModifiedBy
optional

string

lastModifiedOn
optional

string (date-time)

lastModifiedOperation
optional

string

links
optional

< Link > array

modifiedOn
optional

string (date-time)

name
optional

string

quantity
optional

number (double)

status
optional

string

version
optional

integer (int32)

3.18. DispositionActionInfo

Name Schema

actionNote
optional

string

commentId
optional

string

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

daReasonLevel1Id
optional

string

daReasonLevel2Id
optional

string

daReasonLevel3Id
optional

string

daReasonLevel4Id
optional

string

dispositionActionId
optional
read-only

integer (int64)

dispositionPlan
optional

DispositionPlanInfo

dispositionPlanId
optional
read-only

integer (int64)

dispositionTypeId
optional

integer (int64)

dispositionTypeName
optional
read-only

string

dispositionTypeNameGlobal
optional
read-only

string

elapsedTime
optional

integer (int32)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

lastModifiedOperation
optional

string

name
optional

string

parentId
optional
read-only

integer (int64)

properties
optional

< PropertyValueInfo > array

quantity
optional

number (double)

status
optional

string

version
optional
read-only

integer (int32)

3.19. DispositionActionPage

Name Schema

content
optional

< DispositionActionResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.20. DispositionActionResource

Name Schema

actionNote
optional

string

commentId
optional

string

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

daReasonLevel1Id
optional

string

daReasonLevel2Id
optional

string

daReasonLevel3Id
optional

string

daReasonLevel4Id
optional

string

dispositionActionId
optional
read-only

integer (int64)

dispositionPlan
optional

DispositionPlanInfo

dispositionPlanId
optional
read-only

integer (int64)

dispositionTypeId
optional

integer (int64)

dispositionTypeName
optional
read-only

string

dispositionTypeNameGlobal
optional
read-only

string

elapsedTime
optional

integer (int32)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

lastModifiedOperation
optional

string

links
optional

< Link > array

name
optional

string

parentId
optional
read-only

integer (int64)

properties
optional

< PropertyValueInfo > array

quantity
optional

number (double)

status
optional

string

version
optional
read-only

integer (int32)

3.21. DispositionPatch

Name Schema

defectId
optional

integer (int64)

dispositionActionId
optional

integer (int64)

dispositionPlanId
optional

integer (int64)

nonconformanceId
optional

integer (int64)

3.22. DispositionPlanInfo

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

dispositionPlanId
optional
read-only

integer (int64)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

name
optional

string

requiresReview
optional

boolean

reviewed
optional

boolean

reviewedBy
optional

string

reviewedOn
optional

string (date-time)

source
optional

string

status
optional
read-only

string

version
optional
read-only

integer (int32)

3.23. DispositionPlanPage

Name Schema

content
optional

< DispositionPlanResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.24. DispositionPlanResource

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

dispositionPlanId
optional
read-only

integer (int64)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

name
optional

string

requiresReview
optional

boolean

reviewed
optional

boolean

reviewedBy
optional

string

reviewedOn
optional

string (date-time)

source
optional

string

status
optional
read-only

string

version
optional
read-only

integer (int32)

3.25. DispositionTypeInfo

Name Schema

contextType
optional

< ContextType > array

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

dispositionTypeId
optional
read-only

integer (int64)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

name
optional

string

nameGlobal
optional

string

requiresReview
optional

boolean

version
optional
read-only

integer (int32)

3.26. DispositionTypeInfoExtend

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

dispositionTypeId
optional
read-only

integer (int64)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

name
optional

string

nameGlobal
optional

string

requiresReview
optional

boolean

version
optional
read-only

integer (int32)

3.27. DispositionTypePage

Name Schema

content
optional

< DispositionTypeResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.28. DispositionTypePatch

Name Schema

contextTypeId
optional

integer (int64)

dispositionTypeId
optional

integer (int64)

3.29. DispositionTypeResource

Name Schema

contextType
optional

< ContextType > array

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

dispositionTypeId
optional
read-only

integer (int64)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

name
optional

string

nameGlobal
optional

string

requiresReview
optional

boolean

version
optional
read-only

integer (int32)

Name Schema

href
optional

string

rel
optional

string

templated
optional

boolean

3.31. NonConformanceInfo

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

defectInfo
optional

< DefectInfo > array

description
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

name
optional

string

nonConformanceId
optional
read-only

integer (int64)

nonConformanceType
optional
read-only

string

nonConformanceTypeId
optional

integer (int64)

propertyValues
optional

< PropertyValueInfo > array

source
optional

string

status
optional
read-only

string

version
optional
read-only

integer (int32)

3.32. NonConformancePage

Name Schema

content
optional

< NonConformanceResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.33. NonConformanceResource

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

defectInfo
optional

< DefectInfo > array

description
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

name
optional

string

nonConformanceId
optional
read-only

integer (int64)

nonConformanceType
optional
read-only

string

nonConformanceTypeId
optional

integer (int64)

propertyValues
optional

< PropertyValueInfo > array

source
optional

string

status
optional
read-only

string

version
optional
read-only

integer (int32)

3.34. NonConformanceTypeInfo

Name Description Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

deleted
optional
read-only

Example : false

boolean

description
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

nonConformanceType
optional

string

nonConformanceTypeId
optional
read-only

integer (int64)

templates
optional

< string > array

version
optional
read-only

integer (int32)

3.35. NonConformanceTypePage

Name Schema

content
optional

< NonConformanceTypeResource > array

links
optional

< Link > array

page
optional

PageMetadata

3.36. NonConformanceTypeResource

Name Description Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

deleted
optional
read-only

Example : false

boolean

description
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

nonConformanceType
optional

string

nonConformanceTypeId
optional
read-only

integer (int64)

templates
optional

< string > array

version
optional
read-only

integer (int32)

3.37. PageMetadata

Name Schema

number
optional

integer (int64)

size
optional

integer (int64)

totalElements
optional

integer (int64)

totalPages
optional

integer (int64)

3.38. Page«long»

Name Schema

content
optional

< integer (int64) > array

first
optional

boolean

last
optional

boolean

number
optional

integer (int32)

numberOfElements
optional

integer (int32)

size
optional

integer (int32)

sort
optional

Sort

totalElements
optional

integer (int64)

totalPages
optional

integer (int32)

3.39. PropertyValueInfo

Name Schema

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

dispositionActionHistoryId
optional

integer (int64)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

originId
optional
read-only

integer (int64)

propertyDefinitionId
optional

string

propertyValueId
optional
read-only

integer (int64)

value
optional

string

version
optional
read-only

integer (int32)

3.40. Resource«ContextTypeInfo»

Name Schema

contextTypeId
optional

integer (int64)

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

displayName
optional

string

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

name
optional

string

requiresReview
optional

boolean

version
optional
read-only

integer (int32)

3.41. Resource«DefectInfo»

Name Schema

affectedObjectId
optional

string

affectedObjectType
optional

string

affectedQuantity
optional

number (double)

affectedQuantityUnitOfMeasure
optional

string

commentId
optional

string

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

defectCauseTreeId
optional
read-only

string

defectContextType
optional

string

defectId
optional
read-only

integer (int64)

defectReasonLevel1Id
optional

string

defectReasonLevel2Id
optional

string

defectReasonLevel3Id
optional

string

defectReasonLevel4Id
optional

string

defectTypeId
optional

integer (int64)

defectTypeName
optional
read-only

string

description
optional

string

dispositionActionTreeId
optional
read-only

string

dispositionActions
optional

< DispositionActionInfo > array

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

links
optional

< Link > array

locationId
optional

string

locationType
optional

string

ncLastModifiedBy
optional
read-only

string

ncLastModifiedOn
optional
read-only

string (date-time)

nonConformanceType
optional
read-only

string

nonconformanceDescription
optional
read-only

string

nonconformanceId
optional
read-only

integer (int64)

nonconformanceName
optional
read-only

string

nonconformanceTypeId
optional
read-only

integer (int64)

parentId
optional
read-only

integer (int64)

propertyValues
optional

< DefectPropertyValueInfo > array

reportedBy
optional

string

status
optional

string

summary
optional

string

version
optional
read-only

integer (int32)

3.42. Resource«DispositionActionInfo»

Name Schema

actionNote
optional

string

commentId
optional

string

createdBy
optional
read-only

string

createdOn
optional
read-only

string (date-time)

daReasonLevel1Id
optional

string

daReasonLevel2Id
optional

string

daReasonLevel3Id
optional

string

daReasonLevel4Id
optional

string

dispositionActionId
optional
read-only

integer (int64)

dispositionPlan
optional

DispositionPlanInfo

dispositionPlanId
optional
read-only

integer (int64)

dispositionTypeId
optional

integer (int64)

dispositionTypeName
optional
read-only

string

dispositionTypeNameGlobal
optional
read-only

string

elapsedTime
optional

integer (int32)

id
optional
read-only

integer (int64)

lastModifiedBy
optional
read-only

string

lastModifiedOn
optional
read-only

string (date-time)

lastModifiedOperation
optional

string

links
optional

< Link > array

name
optional

string

parentId
optional
read-only

integer (int64)

properties
optional

< PropertyValueInfo > array

quantity
optional

number (double)

status
optional

string

version
optional
read-only

integer (int32)

3.43. ResponseEntity

Name Schema

body
optional

object

statusCode
optional

enum (100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511)

statusCodeValue
optional

integer (int32)

3.44. Sort

Type : object

4. Security

4.1. access_token

Type : oauth2
Flow : accessCode
Token URL : http://localhost:8443/uaa/oauth/authorize
Token URL : http://localhost:8443/uaa/oauth/token

Name Description

default

Default oauth2 scope.

4.2. resource_owner

Type : oauth2
Flow : password
Token URL : http://localhost:8443/uaa/oauth/token

Name Description

default

Default oauth2 scope.

4.3. implicit_grant

Type : oauth2
Flow : implicit
Token URL : http://localhost:8443/uaa/oauth/authorize

Name Description

default

Default oauth2 scope.

4.4. client_creds

Type : oauth2
Flow : application
Token URL : http://localhost:8443/uaa/oauth/token

Name Description

default

Default oauth2 scope.