ケース・マイルストンの取得
get
/cases/{id}/milestones
ケース・マイルストンを取得します。
リクエスト
この操作のリクエスト・パラメータはありません。
この操作にはリクエスト本文はありません。
トップに戻るレスポンス
サポートされているメディア・タイプ
- application/xml
- application/json
200レスポンス
成功
ルート・スキーマ: schema
型:
object
例
次の例に、ケース・マイルストンを取得する場合のレスポンス本文を示します。
{ "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" } }] } }
cURLの詳細は、「cURLの使用」を参照してください