GET api/GetDistricts?SID={SID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VDistrict
NameDescriptionTypeAdditional information
DistrictName

string

None.

DistrictID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "DistrictName": "sample string 1",
    "DistrictID": 2
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLibraryController.VDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Controllers">
  <LibraryController.VDistrict>
    <DistrictID>2</DistrictID>
    <DistrictName>sample string 1</DistrictName>
  </LibraryController.VDistrict>
  <LibraryController.VDistrict>
    <DistrictID>2</DistrictID>
    <DistrictName>sample string 1</DistrictName>
  </LibraryController.VDistrict>
</ArrayOfLibraryController.VDistrict>