Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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}/updatestatusParameter:

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

Code Block
languagec#
int id = 7150;
usreId = 4127;
status = Submitted;
await _serviceRequestManager.UpdateStatus(id, userId, status);