...
[GET] /api/v1/users/{id}/servicerequests
Parameter
Parameter | Description | Type |
---|---|---|
serviceId | id of the service | int |
organizationId | id of the organization | int |
pageNumber | Page number | int |
pageSize | Page size | int |
Returns
200 - Ok
Example
Code Block | ||
---|---|---|
| ||
using MTOA.BLL.Interfaces; int myServiceIdserviceId = 123; int myOrganizationIdorganizationId = 567; int pageNumber = 1; int pageSize = 20; var serviceRequests = await _serviceRequestManager.Get<ServiceRequest>(myServiceIdserviceId, myOrganizationIdorganizationId, CurrentUser.Id, pageNumber, pageSize); |
...