Retrieve Case Milestones
get
/cases/{id}/milestones
Retrieves case milestones.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Success
Root Schema : schema
Type:
objectExamples
The following example shows a response body when retrieving case milestones.
{
"type": "milestones",
"levels": 0,
"links": [{
"rel": "back",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c"
},
{
"rel": "self",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/milestones"
}],
"milestone": {
"milestone": [{
"name": "Lost",
"state": "NOT_ATTAINED",
"attain": {
"rel": "attain",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/milestones/Lost?action=attain"
}
},
{
"name": "Authorized",
"state": "NOT_ATTAINED",
"attain": {
"rel": "attain",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/milestones/Authorized?action=attain"
}
},
{
"name": "Returned",
"state": "NOT_ATTAINED",
"attain": {
"rel": "attain",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/milestones/Returned?action=attain"
}
},
{
"name": "InReservation",
"state": "NOT_ATTAINED",
"attain": {
"rel": "attain",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/milestones/InReservation?action=attain"
}
},
{
"name": "InRental",
"state": "NOT_ATTAINED",
"attain": {
"rel": "attain",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/milestones/InRental?action=attain"
}
},
{
"name": "InAccident",
"state": "NOT_ATTAINED",
"attain": {
"rel": "attain",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/milestones/InAccident?action=attain"
}
}]
}
}
For more information about cURL, see Use cURL