GET/production-api/status/getprojectsforstatusvalue

Retrieves all ProductionProjects that have a ProductionPolygon with the specified status value

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Query Parameters

statusValue*integer

The value of a ProductionPolygonStatus (not the ID)

statusAssignedBefore?string

The value of a delay for the ProductionPolygonStatus

Response Body

application/json

curl -X GET "https://example.com/production-api/status/getprojectsforstatusvalue?statusValue=0"
[  {    "id": 0,    "projectId": 0,    "hubApplicationId": 0,    "polygons": [      {        "id": 0,        "polygonId": 0,        "productionProjectId": 0,        "subnumber": 0,        "productionPackageId": 0,        "finishAt": "2019-08-24T14:15:22Z",        "deliverAt": "2019-08-24T14:15:22Z",        "productionValue": 0,        "statuses": [          {            "id": 0,            "productionPolygonId": 0,            "productionStatusId": 0,            "productionStatusValue": 0,            "hubEmployeeId": 0,            "remarks": "string",            "assignedAt": "2019-08-24T14:15:22Z"          }        ],        "materials": [          {            "id": 0,            "polygonProjectMaterialId": 0,            "hasDefect": true,            "hadDefect": true,            "isMatched": true,            "matchedAt": "2019-08-24T14:15:22Z"          }        ]      }    ]  }]
Empty
Empty
GET/production-api/status/getpolygonsforstatusvalue

Retrieves all ProductionPolygons that have the specified status value

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Query Parameters

statusValue*integer

The value of a ProductionPolygonStatus (not the ID)

statusAssignedBefore?string

Response Body

application/json

curl -X GET "https://example.com/production-api/status/getpolygonsforstatusvalue?statusValue=0"
[  {    "id": 0,    "polygonId": 0,    "productionProjectId": 0,    "subnumber": 0,    "productionPackageId": 0,    "finishAt": "2019-08-24T14:15:22Z",    "deliverAt": "2019-08-24T14:15:22Z",    "productionValue": 0,    "statuses": [      {        "id": 0,        "productionPolygonId": 0,        "productionStatusId": 0,        "productionStatusValue": 0,        "hubEmployeeId": 0,        "remarks": "string",        "assignedAt": "2019-08-24T14:15:22Z"      }    ],    "materials": [      {        "id": 0,        "polygonProjectMaterialId": 0,        "hasDefect": true,        "hadDefect": true,        "isMatched": true,        "matchedAt": "2019-08-24T14:15:22Z"      }    ]  }]
Empty
Empty
POST/production-api/status/setstatusforproject

Sets the status value for all ProductionPolygons of the specified ProductionProject

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Request Body

The request containing the ProductionProject ID and the desired status value

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/production-api/status/setstatusforproject" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
POST/production-api/status/setstatusforpolygons

Sets the status value for one or more ProductionPolygons

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Request Body

The request containing the ProductionPolygon IDs and the desired status value

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/production-api/status/setstatusforpolygons" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
POST/production-api/status/setstatusforwtpolygons

Sets the status value for one or more ProductionPolygons by their WT ID

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Request Body

The request containing the ProductionProject IDs, the WT polygon IDs and the desired status value

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/production-api/status/setstatusforwtpolygons" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
POST/production-api/status/setstatusforwtpolygonlinenumbers

Sets the status value for one or more ProductionPolygons by their WT ProjectNumber and LineNumbers

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Request Body

The request containing the ProductionProject IDs, the WT polygon IDs and the desired status value

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/production-api/status/setstatusforwtpolygonlinenumbers" \  -H "Content-Type: application/json" \  -d '{}'
[  0]
Empty
Empty
POST/production-api/status/getpolygonstatusinfoforwtpolygons

Retrieves the status information for all ProductionPolygons that are associated with specified WT polygon IDs

AuthorizationBearer <token>

Access Token used to access this API (JWT bearer token).

In: header

Request Body

The request containing the WT polygon IDs

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/production-api/status/getpolygonstatusinfoforwtpolygons" \  -H "Content-Type: application/json" \  -d '{}'
[  {    "id": 0,    "polygonId": 0,    "productionProjectId": 0,    "subnumber": 0,    "productionPackageId": 0,    "finishAt": "2019-08-24T14:15:22Z",    "deliverAt": "2019-08-24T14:15:22Z",    "productionValue": 0,    "statuses": [      {        "id": 0,        "productionPolygonId": 0,        "productionStatusId": 0,        "productionStatusValue": 0,        "hubEmployeeId": 0,        "remarks": "string",        "assignedAt": "2019-08-24T14:15:22Z"      }    ],    "materials": [      {        "id": 0,        "polygonProjectMaterialId": 0,        "hasDefect": true,        "hadDefect": true,        "isMatched": true,        "matchedAt": "2019-08-24T14:15:22Z"      }    ]  }]
Empty

On this page