ケース・アクティビティの取得
get
/cases/{id}/activities
ケース・アクティビティのリストを取得します。
リクエスト
問合せパラメータ
- filter
-
フィルタの基準
- orderBy
並替えの基準- orderColumn
ソートの基準となる列- sortOrder
ソートする順序- whereClause
追加のWHERE句フィルタレスポンス
サポートされているメディア・タイプ- application/json
- application/xml
200 レスポンス成功本文ルート・スキーマ: /paths/~1cases~1{id}~1activities/get/responses/200/schemaapplication/jsonの例
{ "type":"activities", "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/activities" } ], "activity":{ "activity":[ { "name":"GetCar", "displayName":"Find an available car", "definitionId":"default/EURent!1.0/GetCar", "isRequired":true, "isRepeatable":true, "isManual":true, "relevance":"NONE", "state":"AVAILABLE" }, { "name":"EmailActivity", "displayName":"Send Email", "definitionId":"http://xmlns.example.com/bpm/case/activity/EmailActivityDefinition", "isRequired":false, "isRepeatable":true, "isManual":true, "relevance":"NONE", "state":"AVAILABLE" }, { "name":"SimpleWorkflowActivity", "displayName":"Create Task", "definitionId":"http://xmlns.example.com/bpm/case/activity/SimpleWFActivityDefinition", "isRequired":false, "isRepeatable":true, "isManual":true, "relevance":"NONE", "state":"AVAILABLE" } ] } }
例
次の例に、ケース・アクティビティのリストを取得する場合のレスポンス本文を示します。
{ "type": "activities", "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/activities" }], "activity": { "activity": [{ "name": "GetCar", "displayName": "Find an available car", "definitionId": "default/EURent!1.0/GetCar", "isRequired": true, "isRepeatable": true, "isManual": true, "relevance": "NONE", "state": "AVAILABLE" }, { "name": "EmailActivity", "displayName": "Send Email", "definitionId": "http://xmlns.example.com/bpm/case/activity/EmailActivityDefinition", "isRequired": false, "isRepeatable": true, "isManual": true, "relevance": "NONE", "state": "AVAILABLE" }, { "name": "SimpleWorkflowActivity", "displayName": "Create Task", "definitionId": "http://xmlns.example.com/bpm/case/activity/SimpleWFActivityDefinition", "isRequired": false, "isRepeatable": true, "isManual": true, "relevance": "NONE", "state": "AVAILABLE" }] } }
cURLの詳細は、「cURLの使用」を参照してください