EngradeWikisEngrade API › Get Admin's Schools

Get Admin's Schools

List the schools to which an admin belongs.

URL: https://api.engrade.com/api/

Input Fields:
apitask = admin-schools
apikey = Your API key
ses = The session token ID

Response fields
schools = will provide a list of classes in <item> tags

In each <item> tag:
subid = the Engrade user ID (UID) of the school (you'll need this to get the school's classes, etc.)
joined = Unix timestamp of the date the admin joined the school
role = the role of the admin at the school
name = the name of the school
usr = the Engrade username of the school
***** Request *****
POST /api/ HTTP/1.1
Host: api.engrade.com
Content-length: x

apikey=1234&apitask=admin-schools&ses=abc1234



***** Response *****
HTTP/1.0 200 OK
Date: Sat, 15 Jan 2000 14:37:12 GMT
Content-Type: text/xml
Content-Length: x

<?xml version="1.0" encoding="utf-8" ?>
<engrade>
<success>true</success>
<schools>
<item>
<superid>1000003121245</superid>
<subid>1000002850886</subid>
<supertype>admin</supertype>
<subtype>school</subtype>
<auth>6</auth>
<joined>1280957508</joined>
<role>Admin</role>
<name>Demo School</name>
<usr>school</usr>
<pic>1</pic>
</item>
</schools>
<time>1289246466</time>

</engrade>
Close