Assign a user to a given Service Request
Description
This method assign a user to a given Service Request
Package Details
Interface
IAddressManager
Syntax
IAddressManager.AddUserAssignment(ServiceRequestUserAssignmentCreationDto serviceRequestUserAssignment);
API
[POST] /api/v1/servicerequests/user-assignments
Parameter
...
ServiceRequestUserAssignmentCreationDto: Service Request User Assignment data
Returns
200 OK - he the Service Request User Assignment data that was assigned to the Service Request
Example
Code Block | ||
---|---|---|
| ||
ServiceRequestUserAssignmentCreationDto serviceRequestUserAssignment |
...
{ |
...
ServiceRequestId = 7919, |
...
UserId = 2757, |
...
Description = “string“ |
...
} |
...
var userAssignment = await _serviceRequestManager.AddUserAssignment(serviceRequestUserAssignment); |