GET {version}/GetDistrictTypes
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DistrictType| Name | Description | Type | Additional information |
|---|---|---|---|
| GUID | globally unique identifier |
None. |
|
| gdl_GUID | globally unique identifier |
None. |
|
| Text | string |
None. |
|
| Code | string |
None. |
|
| LegislatorType | string |
None. |
|
| Default | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"GUID": "3f6b7c0b-110e-4a4e-8e45-96f81ed635a8",
"gdl_GUID": "efc2b12e-9807-47d1-ab44-a70ae5c90c82",
"Text": "sample string 3",
"Code": "sample string 4",
"LegislatorType": "sample string 5",
"Default": true
},
{
"GUID": "3f6b7c0b-110e-4a4e-8e45-96f81ed635a8",
"gdl_GUID": "efc2b12e-9807-47d1-ab44-a70ae5c90c82",
"Text": "sample string 3",
"Code": "sample string 4",
"LegislatorType": "sample string 5",
"Default": true
}
]
application/xml, text/xml
Sample:
<ArrayOfDistrictType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model">
<DistrictType>
<Code>sample string 4</Code>
<Default>true</Default>
<GUID>3f6b7c0b-110e-4a4e-8e45-96f81ed635a8</GUID>
<LegislatorType>sample string 5</LegislatorType>
<Text>sample string 3</Text>
<gdl_GUID>efc2b12e-9807-47d1-ab44-a70ae5c90c82</gdl_GUID>
</DistrictType>
<DistrictType>
<Code>sample string 4</Code>
<Default>true</Default>
<GUID>3f6b7c0b-110e-4a4e-8e45-96f81ed635a8</GUID>
<LegislatorType>sample string 5</LegislatorType>
<Text>sample string 3</Text>
<gdl_GUID>efc2b12e-9807-47d1-ab44-a70ae5c90c82</gdl_GUID>
</DistrictType>
</ArrayOfDistrictType>