GET v1/PolicySources/GetList?locationID={locationID}

Get a list of policy sources

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

Id of the location

string

Required

Body Parameters

None.

Response Information

Resource Description

List of policy sources

Collection of PolicySourceDTO
NameDescriptionTypeAdditional information
PolicySourceID

Id of the policy source

integer

None.

PolicySourceName

Name of the policy source

string

None.

SystemDefined

Signifies whether the policy source is system defined

boolean

None.

Visible

Signifies whether the policy source is visible

boolean

None.

LocationID

Id of the location

integer

None.

AppCreated

App created

string

None.

ThirdPartyAppCode

Third party app code

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PolicySourceID": 1,
    "PolicySourceName": "sample string 2",
    "SystemDefined": true,
    "Visible": true,
    "LocationID": 1,
    "AppCreated": "sample string 4",
    "ThirdPartyAppCode": "sample string 5"
  },
  {
    "PolicySourceID": 1,
    "PolicySourceName": "sample string 2",
    "SystemDefined": true,
    "Visible": true,
    "LocationID": 1,
    "AppCreated": "sample string 4",
    "ThirdPartyAppCode": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPolicySourceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <PolicySourceDTO>
    <AppCreated>sample string 4</AppCreated>
    <LocationID>1</LocationID>
    <PolicySourceID>1</PolicySourceID>
    <PolicySourceName>sample string 2</PolicySourceName>
    <SystemDefined>true</SystemDefined>
    <ThirdPartyAppCode>sample string 5</ThirdPartyAppCode>
    <Visible>true</Visible>
  </PolicySourceDTO>
  <PolicySourceDTO>
    <AppCreated>sample string 4</AppCreated>
    <LocationID>1</LocationID>
    <PolicySourceID>1</PolicySourceID>
    <PolicySourceName>sample string 2</PolicySourceName>
    <SystemDefined>true</SystemDefined>
    <ThirdPartyAppCode>sample string 5</ThirdPartyAppCode>
    <Visible>true</Visible>
  </PolicySourceDTO>
</ArrayOfPolicySourceDTO>