...
Code | Description | |||||
200 | Created application/json
| |||||
400 | Invalid request | |||||
403 | Lacks sufficient authority for operation | |||||
500 | Internal Server error |
...
Status | ||||
---|---|---|---|---|
|
Delete case record
...
Code | Description | |||||
200 | Return points of concern associated with the case. application/json
| |||||
400 | Invalid request | |||||
403 | Lacks sufficient authority for operation | |||||
500 | Internal Server error |
...
Code | Description | |||||
200 | Returns the points of concern now associated with the case. application/json
| |||||
202 | Upload In Progress | |||||
400 | Invalid request | |||||
401 | Unauthorized Client | |||||
403 | Invalid Access Code | |||||
451 | Consent Not Granted | |||||
500 | Internal Server error |
...
Code Block |
---|
{ "caseId": 12, "point": { "longitude": 14.91328448, "latitude": 41.24060321, "time": "2020-05-30T18:25:43.511Z", "duration": 5 } } |
Responses
Code | Description | |||||
200 | Returns the created point of concern application/json
| |||||
400 | Invalid request | |||||
403 | Lacks sufficient authority for operation | |||||
500 | Internal Server error |
...
Status | |||
---|---|---|---|
|
...
|
Captures user consent to having their data published in the aggregated anonymized JSON file that is available to public.
...
Code | Description | |||||
---|---|---|---|---|---|---|
200 |
| |||||
400 | Invalid request | |||||
403 | Lacks sufficient authority for operation | |||||
500 | Server Error |
...
Status | ||||
---|---|---|---|---|
|
Updates an existing point of concern
...
Code Block |
---|
{ "pointId" : 123, "longitude": 12.91328448, "latitude": 39.24060321, "time": "2020-05-21T18:25:43.511Z", "duration": 5 } |
Responses
Code | Description | |||||
200 | Point was updated application/json
| |||||
400 | Invalid request | |||||
403 | Lacks sufficient authority for operation | |||||
500 | Server Error |
...
Status | ||||
---|---|---|---|---|
|
Deletes the point of concern having the ID corresponding with the pointID
param.
...