GET v1/Locations/{locationID}/Policies/CancellationReasons

Get a list of cancellation reasons

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

Id of the loaction

string

Required

Body Parameters

None.

Response Information

Resource Description

List of cancellation reasons

Collection of PolicyCancellationReasonDTO
NameDescriptionTypeAdditional information
CancellationReasonID

integer

None.

CancellationReasonName

string

None.

SystemDefined

boolean

None.

LocationId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CancellationReasonID": 1,
    "CancellationReasonName": "sample string 2",
    "SystemDefined": true,
    "LocationId": 1
  },
  {
    "CancellationReasonID": 1,
    "CancellationReasonName": "sample string 2",
    "SystemDefined": true,
    "LocationId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPolicyCancellationReasonDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <PolicyCancellationReasonDTO>
    <CancellationReasonID>1</CancellationReasonID>
    <CancellationReasonName>sample string 2</CancellationReasonName>
    <LocationId>1</LocationId>
    <SystemDefined>true</SystemDefined>
  </PolicyCancellationReasonDTO>
  <PolicyCancellationReasonDTO>
    <CancellationReasonID>1</CancellationReasonID>
    <CancellationReasonName>sample string 2</CancellationReasonName>
    <LocationId>1</LocationId>
    <SystemDefined>true</SystemDefined>
  </PolicyCancellationReasonDTO>
</ArrayOfPolicyCancellationReasonDTO>