Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Un-assign a user to a Service Request

Description

This method un-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

  • int id: Service Request Id of the Service Request that has been assigned to a user.

  • int userId: The UserId the ServiceRequest has been assigned to.

Returns

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

Example

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

  • No labels