GET api/School?districtId={districtId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| districtId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SchoolDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| CustomerId | integer |
None. |
|
| AlertCustomerId | string |
None. |
|
| Active | boolean |
None. |
|
| DataEndDate | date |
None. |
|
| ActivateOneToOne | boolean |
None. |
|
| DistrictId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"CustomerId": 3,
"AlertCustomerId": "sample string 4",
"Active": true,
"DataEndDate": "2026-02-03T21:50:20.1347644+00:00",
"ActivateOneToOne": true,
"DistrictId": 8
},
{
"Id": 1,
"Name": "sample string 2",
"CustomerId": 3,
"AlertCustomerId": "sample string 4",
"Active": true,
"DataEndDate": "2026-02-03T21:50:20.1347644+00:00",
"ActivateOneToOne": true,
"DistrictId": 8
}
]
application/xml, text/xml
Sample:
<ArrayOfSchoolDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects.Organization">
<SchoolDto>
<ActivateOneToOne>true</ActivateOneToOne>
<Active>true</Active>
<AlertCustomerId>sample string 4</AlertCustomerId>
<CustomerId>3</CustomerId>
<DataEndDate>2026-02-03T21:50:20.1347644+00:00</DataEndDate>
<DistrictId>8</DistrictId>
<Id>1</Id>
<Name>sample string 2</Name>
</SchoolDto>
<SchoolDto>
<ActivateOneToOne>true</ActivateOneToOne>
<Active>true</Active>
<AlertCustomerId>sample string 4</AlertCustomerId>
<CustomerId>3</CustomerId>
<DataEndDate>2026-02-03T21:50:20.1347644+00:00</DataEndDate>
<DistrictId>8</DistrictId>
<Id>1</Id>
<Name>sample string 2</Name>
</SchoolDto>
</ArrayOfSchoolDto>