CompleteTransfer()

Complete transfer

Description

Completes the service request transfer process.

Package Details

Interface

IServiceRequestTransferManager

Syntax

await ServiceRequestTransferManager.CompleteTransfer(string code, int userId, ServiceRequestTransferAction action);

Returns

Task<ServiceRequestTransferStatus>

API

POST
/api/v1/servicerequests/transfer

Parameters

Querystring
code: The service request code
userId: User id to be transferred to
action: Accept or Cancel (can only be these 2 values)

Returns

200 OK - Service request transfer status

Example

const string code = "code"; const int userId = 100; var action = ServiceRequestTransferAction.Accept; await _serviceRequestTransferManager.CompleteTransfer(code, userId, action);