| Requires any of the roles: | Worker, Agent, Administrator |
| GET, OPTIONS | /v1/Organization/GetSingleBySchoolID/{schoolID} | ||
|---|---|---|---|
| GET, OPTIONS | /v1/Organization/GetSingleByDistrictID/{districtID} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| schoolID | path | long | No | |
| districtID | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| org | form | Organization | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrganizationId | form | long | No | |
| OrganizationTypeId | form | int | No | |
| StateID | form | int | No | |
| StateName | form | string | No | |
| DistrictID | form | int | No | |
| DistrictName | form | string | No | |
| CountyID | form | int | No | |
| CountyName | form | string | No | |
| SchoolID | form | long | No | |
| SchoolName | form | string | No | |
| EntityName | form | string | No | |
| EntityId | form | string | No | |
| Source | form | string | No | |
| Pera_ListId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Organization/GetSingleBySchoolID/{schoolID} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"org":{"OrganizationId":0,"OrganizationTypeId":0,"StateID":0,"StateName":"String","DistrictID":0,"DistrictName":"String","CountyID":0,"CountyName":"String","SchoolID":0,"SchoolName":"String","EntityName":"String","EntityId":"String","Source":"String","Pera_ListId":0}}