OPTIONS District/get/all

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of District
NameDescriptionTypeAdditional information
ID

integer

None.

DistrictKey

string

None.

DistrictAbbr

string

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "DistrictKey": "sample string 2",
    "DistrictAbbr": "sample string 3",
    "Name": "sample string 4"
  },
  {
    "ID": 1,
    "DistrictKey": "sample string 2",
    "DistrictAbbr": "sample string 3",
    "Name": "sample string 4"
  }
]

text/html

Sample:
[{"ID":1,"DistrictKey":"sample string 2","DistrictAbbr":"sample string 3","Name":"sample string 4"},{"ID":1,"DistrictKey":"sample string 2","DistrictAbbr":"sample string 3","Name":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistrictAPI.Models">
  <District>
    <DistrictAbbr>sample string 3</DistrictAbbr>
    <DistrictKey>sample string 2</DistrictKey>
    <ID>1</ID>
    <Name>sample string 4</Name>
  </District>
  <District>
    <DistrictAbbr>sample string 3</DistrictAbbr>
    <DistrictKey>sample string 2</DistrictKey>
    <ID>1</ID>
    <Name>sample string 4</Name>
  </District>
</ArrayOfDistrict>