GET api/School?districtId={districtId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
districtId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SchoolDto
NameDescriptionTypeAdditional 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": "2025-08-09T01:25:59.6741237+00:00",
    "ActivateOneToOne": true,
    "DistrictId": 8
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "CustomerId": 3,
    "AlertCustomerId": "sample string 4",
    "Active": true,
    "DataEndDate": "2025-08-09T01:25:59.6741237+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>2025-08-09T01:25:59.6741237+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>2025-08-09T01:25:59.6741237+00:00</DataEndDate>
    <DistrictId>8</DistrictId>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </SchoolDto>
</ArrayOfSchoolDto>