You will need to use an admin advisor's credentials (username and password) to authenticate the REST transactions. Our API uses Basic Authentication over HTTPS where you take your username and password separated by a colon (e.g.: username:password), Base64 encode it (http://www.base64encode.org/)
There is an extra annual charge to use our APIs.
The API documentation in the link below will provide all the details:
https://guidedpath.mycca.net/api/help/
Example:
<script>
$(function () {
$.ajax
({
type:
"GET"
,
data:jsondata,
url: https:
//www.guidedpath.mycca. net/api/students/A_STUDENT_ID,
cache:
false
,
async:
true
,
crossDomain:
true
,
dataType:
"json"
,
contentType:
"application/json; charset=utf-8"
,
beforeSend: function (xhr) {
xhr.setRequestHeader(
' Authorization'
,
'Basic YOUR_BASE64_ENCODED_STRING_ HERE'
);
},
error: function(jqXHR, exception)
{
alert(jqXHR.status+
" "
+exception);
}
});
});
</script>
Comments
0 comments
Please sign in to leave a comment.