Update Time and Actions Production status
PUT/api/v1/time-and-actions/:ta_id/production-status
Update Time and Actions Production status
Request​
Path Parameters
Id of a Time and Action
- application/json
Body
Array [
Array [
]
]
Id of a Time and Action
milestones
object[]
nullable
Milestones information
The actual end date of a milestone
The actual start date of a milestone
Possible values: non-empty
ID of a milestone
items
object[]
nullable
Items information
Possible values: non-empty
Item IDs included in the Time and Action
completed order quantity of a item for a milestone
Possible values: non-empty
Purchase order number linked with the Time and Action
Completed order quantity in a milestone
Possible values: [poLevel
, itemLevel
]
Update production status by PO or item level
Time when the production status data is valid. If it is empty system will pre-fill it with the current date. Only past and current dates are allowed
Responses​
- 200
- 400
- 401
- 429
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object
Time and Action data
Id of a Time and Action
milestones
object[]
nullable
Milestones information
The actual end date of a milestone
The actual start date of a milestone
Possible values: non-empty
ID of a milestone
items
object[]
nullable
Items information
Possible values: non-empty
Item IDs included in the Time and Action
completed order quantity of a item for a milestone
Possible values: non-empty
Purchase order number linked with the Time and Action
Completed order quantity in a milestone
Possible values: [poLevel
, itemLevel
]
Update production status by PO or item level
Time when the production status data is valid. If it is empty system will pre-fill it with the current date. Only past and current dates are allowed
{
"data": {
"id": "34c75453-3ec6-4822-9e9a-9addc6076b3c",
"milestones": [
{
"actualEndDate": "2022-12-12",
"actualStartDate": "2022-12-12",
"id": "1234f24e-54f6-4326-b4d3-402d52af291a",
"items": [
{
"itemId": "120-230-1234",
"itemQty": 100
}
],
"poNumber": "8124125",
"quantity": 100
}
],
"productionStatusLevel": "poLevel",
"productionStatusUntil": "2022-12-12"
}
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Rate-limiting Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}