Versions Compared

Key

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

Un-assign a user to a Service Request

Description

This method Unun-assign assigns a user to a Service Request

Package Details

Interface

IAddressManager

Syntax

IAddressManager.RemoveUserAssignment(int serviceRequestId, int userId)

API

[DELETE] /api/v1/servicerequests/{id}/user-assignments/{userId}

Parameters

Parameter

...

Description

Type

...

id

...

Service Request Id of the Service Request that has been assigned to a user.

int

userId

...

The

...

user id the

...

Request has been assigned to

...

int

Returns

200 OK - The Service Request User Assignment data that was assigned to the Service Request before it got deleted

Example

Code Block
languagec#
int id = 7919

...


int userId = 2757

...


var userAssignment = await _serviceRequestManager.RemoveUserAssignment(id, userId);