UpdateStatuses()
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
Parameter | Description | Type |
---|---|---|
id | id of the Service request | int |
userId | id of the user | int |
status | status of the service request | ServiceRequestStatus enum |
Returns
200 OK
Example
int id = 7150;
usreId = 4127;
status = Submitted;
await _serviceRequestManager.UpdateStatus(id, userId, status);