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

Get a list of endorsement reasons

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

Id of the location

string

Required

Body Parameters

None.

Response Information

Resource Description

list of endorsement reasons

Collection of ListEndorsementReasonDTO
NameDescriptionTypeAdditional information
ReasonID

integer

None.

Reason

string

None.

SystemDefined

boolean

None.

LocationId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ReasonID": 1,
    "Reason": "sample string 2",
    "SystemDefined": true,
    "LocationId": 1
  },
  {
    "ReasonID": 1,
    "Reason": "sample string 2",
    "SystemDefined": true,
    "LocationId": 1
  }
]

application/xml, text/xml

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