InitiateTransfer()
Initiate transfer
Description
Initiates a service request transfer to another user.
Package Details
Interface
IServiceRequestTransferManager
Syntax
await ServiceRequestTransferManager.InitiateTransfer(int serviceRequestId, int userId);
Returns
Task<string>
API
POST
/api/v1/servicerequests/{id}/transfer
Parameters
Path
Id: The service request id
Querystring
userId: user id who initiated the transfer
Returns
200 OK - Service request transfer code
Example
const int serviceRequestId = 123;
const int userId = 100;
await _serviceRequestTransferManager.InitiateTransfer(serviceRequestId, userId);