POST api/v1/cancelreasons/departments
Returns cancel reason departments for a List of department IDs
Request Information
URI Parameters
None.
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
Response Information
Resource Description
ApiResponseModelOfListOfCancelReasonModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfCancelReasonModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PageSize": 1,
"Page": 2,
"TotalPages": 3,
"TotalResults": 4,
"Results": [
{
"Id": 1,
"ReasonId": 2,
"Reason": "sample string 3",
"DepartmentId": 4,
"DepartmentName": "sample string 5",
"DepartmentCode": "sample string 6",
"IsAssociated": true,
"CategoryId": 8,
"Category": "sample string 9",
"ExcludeCategoryFromReporting": true,
"ExcludeReasonFromReporting": true,
"CategoryIsDisabled": true,
"CategoryIsSystem": true,
"ReasonIsDisabled": true,
"ReasonIsSystem": true,
"ReasonIsExcludedFromStaffReports": true
},
{
"Id": 1,
"ReasonId": 2,
"Reason": "sample string 3",
"DepartmentId": 4,
"DepartmentName": "sample string 5",
"DepartmentCode": "sample string 6",
"IsAssociated": true,
"CategoryId": 8,
"Category": "sample string 9",
"ExcludeCategoryFromReporting": true,
"ExcludeReasonFromReporting": true,
"CategoryIsDisabled": true,
"CategoryIsSystem": true,
"ReasonIsDisabled": true,
"ReasonIsSystem": true,
"ReasonIsExcludedFromStaffReports": true
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}