Versions Compared

Key

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

...

[POST] /api/v1/servicerequests

Parameters

...

Parameter

Description

Type

serviceRequestId

The service id to verify

...

int

userId

...

The user id that should match the service id

...

int

serviceId

...

Id of the service used to validate the requests

...

int

Returns

200 - Ok

Example

Code Block
languagec#
using MTOA.BLL.Interfaces;

int myServiceRequestId = 12345
int myServiceId = 123;

_serviceRequestManager.ValidateByOrganizationsBoundToUser(myServiceIdRequestId, CurrentUser.Id, myServiceId);
        

...