GET api/admin/system/ListAgencies?includeSuspended={includeSuspended}
Lists the name and ID of all agencies in the system.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
includeSuspended |
if set to true [include suspended]. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of Dezrez.Core.DataContracts.External.Api.Agency.Query.Get.AgencyReferenceDataContractName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Id": 2 }, { "Name": "sample string 1", "Id": 2 } ]