API endpoint that represents editing the location of intervention record
-
URL Endpoint:
/api/v1/interventions/{id}/location -
Method:
PATCH -
URL Params:
Name Type Required Description idinteger✅ The intervention's id -
Header Options:
- Authorization: Bearer
access_token
- Authorization: Bearer
-
Request Body:
Name Type Required Description locationstring✅ Proposed location -
Success Response
- Code:
200 OK - Content:
{ "status": 200, "data": [ { "id": 3, "message": "Updated intervention record's location" } ] } - Code: