List Time and Actions
GET/api/v1/time-and-actions
List Time and Actions
Request​
Query Parameters
Number of the purchase order
Possible values: >= 1
and <= 100
Default value: 10
Limit result of list
End date of the range when time and actions were created
End date of the range when time and actions were updated
Default value: 0
Start date of the range when time and actions were updated
Start date of the range when time and actions were created
Possible values: [UPCOMING
, NEW
, IN-PROGRESS
, CANCELED
, ABORTED
, COMPLETED
]
Status of the Time and Action
Responses​
- 200
- 400
- 401
- 422
- 429
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
Time and Action data
Creation date of the Time and Action
Unique identifier of the Time and Action
Number of the Time and Actions
List of purchase order numbers of the Time and Action
Status of the Time and Action
Last updated date of the Time and Action
Possible values: >= 1
and <= 100
{
"data": [
{
"createdDate": "2021-06-03 07:18:05.372000+00:00",
"id": "34c75453-3ec6-4822-9e9a-9addc6076b3c",
"number": "TA1",
"poNumbers": [
"PO1",
"PO2"
],
"status": "NEW",
"updatedDate": "2021-06-03 08:27:21.316000+00:00"
}
],
"limit": 0,
"offset": 0,
"total": 0
}
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"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"type": [
"Input type is not valid"
]
},
"message": "Validation error"
}
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"
}