Logout in: 0 min and 0 sec

List Private Schools

POST - https://rest.triand.com/Access/adminPrivateSchools

List Example

CURL

curl -X POST https://rest.triand.com/Access/adminPrivateSchools        \
     -H "Authorization: Bearer eyJ....really long string...ItCJA"     \
     -H "Accept: application/json"

Javascript fetch

let url = 'https://rest.triand.com/Access/adminPrivateSchools';
let parameters = { }
let opts = { 
  method: 'POST',
  headers: {
    'Authorization' = 'Bearer eyJ....really long string...ItCJA'
    'Accept': 'application/json'
  },
  body:  JSON.stringify(parameters),
  withCredentials: false,
  credentials: 'include',
  }
let response = await fetch(url, opts);

JSON Response

Private Schools do not have extensive metadata available through the API like Public Schools do.

A sample response is listed below.

{ "params": {
  "actionOk": true,
  "error": [],
  "schools": [
      {
          "school": {
              "lea": "9099001",
              "name": "Clear Spring School"
          },
          "district": {
              "lea": "9099000",
              "name": "Private School District"
          }
      },
      ...more schools...
  ]
}}