POST api/v1/cancelreasons/departmentsReasonsUpdate
Simple model for saving
Request Information
URI Parameters
None.
Body Parameters
Collection of CancelReasonDepartmentUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| facilityId | integer |
None. |
|
| isChanged | integer |
None. |
|
| reasonIsExcludedFromStaffReports | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"id": 1,
"facilityId": 2,
"isChanged": 3,
"reasonIsExcludedFromStaffReports": true
},
{
"id": 1,
"facilityId": 2,
"isChanged": 3,
"reasonIsExcludedFromStaffReports": true
}
]
Response Information
Resource Description
ApiResponseModelOfBaseResults| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfBaseResults |
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": {
"IsSuccessful": true,
"Message": "sample string 2"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}