2120: Get data requests
Fetch all data requests for an entity
Endpoint ID: | 2120 | |
Method: | GET | |
URL: | /permissions/entity/id/{entityID}/datarequest /permissions/entity/ext-key/{ext-key}/{ext-type}/datarequest | |
entityID | dialogportal™ master key that uniquely identifies the entity | |
ext-key | External key that uniquely identifies the entity | |
ext-type | Type of external key | |
Request body: | None | |
Response body: | JSON data describing the data requests. Two data requests have been made for this entity { "requests": [ { "id": 3, "dataRequestID": "ee017cd4-35bd-48d4-9eca-2361740acf2b", "state": "Processing", "source": "f9198a1c-19b7-4572-870a-810debf80326", "requested": "2018-01-31T07:20:16", "started": "2018-01-31T07:23:56" }, { "id": 1, "dataRequestID": "ee017cd4-35bd-48d4-9eca-2361740acf2b", "state": "Closed", "source": "f9198a1c-19b7-4572-870a-810debf80326", "requested": "2017-09-11T11:01:44", "started": "2017-09-11T11:02:15", "completed": "2017-09-11T11:03:43", "closed": "2017-09-14T12:00:03" } ] } No data requests exist for this entity { "requests": [] } | |
Status codes: | 200 | OK |