GET api/District/GetDistrictByUserId?UserId={UserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
GetDistrictByUserId_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| DistrictID | integer |
None. |
|
| DistrictName | string |
None. |
|
| AgencyID | integer |
None. |
|
| ChangeDateStamp | date |
None. |
|
| Welcome | string |
None. |
|
| LogoURL | string |
None. |
|
| UnitTemplates | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"DistrictID": 1,
"DistrictName": "sample string 2",
"AgencyID": 1,
"ChangeDateStamp": "2025-10-25T23:17:57.4655649+00:00",
"Welcome": "sample string 3",
"LogoURL": "sample string 4",
"UnitTemplates": "sample string 5"
}
application/xml, text/xml
Sample:
<GetDistrictByUserId_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CurriculumCrafter.Data"> <AgencyID>1</AgencyID> <ChangeDateStamp>2025-10-25T23:17:57.4655649+00:00</ChangeDateStamp> <DistrictID>1</DistrictID> <DistrictName>sample string 2</DistrictName> <LogoURL>sample string 4</LogoURL> <UnitTemplates>sample string 5</UnitTemplates> <Welcome>sample string 3</Welcome> </GetDistrictByUserId_Result>