Get Attendance
Get Attendance by Week
URL: https://api.engrade.com/api/Input Fields:
apitask = attendance
apikey = Your API key
ses = The session token ID
clid = Engrade Class ID
ymd = the date of the Monday of the given week in the format YYYYMMDD
***** Request *****
POST /api/ HTTP/1.1
Host: api.engrade.com
Content-length: x
apikey=1234&apitask=attendance&clid=5000000001&ymd=20101101&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>
<attendance>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>17406</stuid>
<mark>p</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>460798</stuid>
<mark>p</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>55678</stuid>
<mark>t</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>95956</stuid>
<mark>p</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>99010</stuid>
<mark>a</mark>
</item>
</attendance>
<success>true</success>
<time>1289055431</time>
</engrade>
POST /api/ HTTP/1.1
Host: api.engrade.com
Content-length: x
apikey=1234&apitask=attendance&clid=5000000001&ymd=20101101&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>
<attendance>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>17406</stuid>
<mark>p</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>460798</stuid>
<mark>p</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>55678</stuid>
<mark>t</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>95956</stuid>
<mark>p</mark>
</item>
<item>
<clid>5000001001388</clid>
<date>20101105</date>
<stuid>99010</stuid>
<mark>a</mark>
</item>
</attendance>
<success>true</success>
<time>1289055431</time>
</engrade>
Get Attendance Totals
URL: https://api.engrade.com/apiInput Fields:
apitask = attendance-totals
apikey = Your API key
ses = The session token ID
clid = Engrade Class ID
