curl --request GET \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/{delegationHistoryId}/conditions-history \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T10:47:33.420Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
"delegationId": "2sf90da4-0634-40b9-abf5-6e97a222rds8",
"conditionId": "7sf90da4-0634-40b9-abf5-6e97a222ttt8",
"isActive": "true/false",
"updatedAt": "2025-03-05T11:49:50.577Z",
"createdAt": "2025-03-05T11:49:50.577Z",
"conditionDetails": {
"id": "7sf90da4-0634-40b9-abf5-6e97a222ttt8",
"conditionName": "test condition",
"conditionDescription": "description of condition",
"updatedAt": "2025-03-05T11:49:50.577Z",
"createdAt": "2025-03-05T11:49:50.577Z"
}
}
]
}
}
curl --request GET \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/{delegationHistoryId}/conditions-history \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T10:47:33.420Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
"delegationId": "2sf90da4-0634-40b9-abf5-6e97a222rds8",
"conditionId": "7sf90da4-0634-40b9-abf5-6e97a222ttt8",
"isActive": "true/false",
"updatedAt": "2025-03-05T11:49:50.577Z",
"createdAt": "2025-03-05T11:49:50.577Z",
"conditionDetails": {
"id": "7sf90da4-0634-40b9-abf5-6e97a222ttt8",
"conditionName": "test condition",
"conditionDescription": "description of condition",
"updatedAt": "2025-03-05T11:49:50.577Z",
"createdAt": "2025-03-05T11:49:50.577Z"
}
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Page number
x >= 1
1
Number of items per page
1 <= x <= 100
10
Status of condition Delegation.
true
Criteria for sorting delegation condition list
conditionName
, conditionDescription
, updatedAt
Criteria for order delegation conditions
asc
, desc
Conditions list retrieved successfully for Delegation history
The response is of type object
.