GET api/v1/cancelreasons

Returns all cancel reasons.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ApiResponseModelOfListOfCancelReasonModel
NameDescriptionTypeAdditional 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"
  ]
}