GET v1/PolicySources/GetList?locationID={locationID}
Get a list of policy sources
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationID |
Id of the location |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of policy sources
Collection of PolicySourceDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PolicySourceID | integer |
None. |
|
| PolicySourceName | string |
None. |
|
| SystemDefined | boolean |
None. |
|
| Visible | boolean |
None. |
|
| LocationID | integer |
None. |
|
| AppCreated | string |
None. |
|
| ThirdPartyAppCode | 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>