Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Parameter

Description

Type

id

the id of the service request

int

userId

the id of the user removing the service request

int

Returns

200 - Ok

Example

Code Block
languagec#
using MTOA.BLL.Interfaces;

int myServiceRequestId = 123;

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