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 2 Next »

Removes service requests filtered by service id

Description

This method is used to remove service requests that are filtered by service request ID and user ID.

Package Details

Interface

IServiceRequestManager

Syntax

ServiceRequestManager.Remove(int serviceRequestId, int userId);

Returns

Task

API Endpoint

[GET] /api/v1/users/{id}/servicerequests

Returns

200 - Ok

Example

using MTOA.BLL.Interfaces;

int myServiceRequestId = 123;

var serviceRequests = await _serviceRequestManager.Remove(myServiceRequestId, CurrentUser.Id);
        

  • No labels