Update an existing service request status.
Description
Update the status of an existing service request by it's id.
Package Details
Interface
IAddressManager
Syntax
IAddressManager.UpdateStatus(int serviceRequestId, int userId, ServiceRequestStatus statusCode);
API
[POST] /api/v1/servicerequests/{id}/updatestatus
Parameters
id: Service request id
userId: User id
status: Service request status
Returns
200 OK
Example
await _serviceRequestManager.UpdateStatus(id, userId, status);