Login / New Session
In order to use any other API calls, you will first need to make a call to the login in order to create a session token which you will then include in your later calls.
URL: https://api.engrade.com/api/
Input Fields:
apitask = login
apikey = contact us for your API key
usr = the user's Engrade account username
pwd = the user's Engrade account password
Output Fields:
ses - The new session token ID
***** Request *****
POST /api HTTP/1.1
Host: api.engrade.com
Content-length: x
apitask=login&usr=jondoe&pwd=Password123
***** 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>
<values>
<usr>jondoe</usr>
<pwd>Password123</pwd>
<ses>9888304868921308840o4h07chple88d7a863c1n724pfa697emf2bfnof3hd11a</ses>
</values>
<time>1286222925</time>
</engrade>
URL: https://api.engrade.com/api/
Input Fields:
apitask = login
apikey = contact us for your API key
usr = the user's Engrade account username
pwd = the user's Engrade account password
Output Fields:
ses - The new session token ID
***** Request *****
POST /api HTTP/1.1
Host: api.engrade.com
Content-length: x
apitask=login&usr=jondoe&pwd=Password123
***** 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>
<values>
<usr>jondoe</usr>
<pwd>Password123</pwd>
<ses>9888304868921308840o4h07chple88d7a863c1n724pfa697emf2bfnof3hd11a</ses>
</values>
<time>1286222925</time>
</engrade>
