| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/SlotDistrict/School/{DistrictId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DistrictId | path | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| SlotDistrictSchool | form | List<School> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SchoolId | form | long | No | |
| SchoolName | form | string | No | |
| DistrictId | form | int | No | |
| DistrictName | form | string | No | |
| CountyId | form | int | No | |
| CountyName | form | string | No | |
| StateId | form | int | No | |
| StateName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/SlotDistrict/School/{DistrictId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"SlotDistrictSchool":[{"SchoolId":0,"SchoolName":"String","DistrictId":0,"DistrictName":"String","CountyId":0,"CountyName":"String","StateId":0,"StateName":"String"}]}