Required role: | REGISUserRole |
POST | /StudentAcademicCredential/{uuid}/History/{stacUUID} |
---|
"use strict";
export class StudentAcademicCredentialGradeHistoryEntryResponse {
/** @param {{grade?:string,last_changed_by?:string,date?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
grade;
/** @type {string} */
last_changed_by;
/** @type {string} */
date;
}
export class StudentAcademicCredentialGradeHistoryResponse {
/** @param {{responseStatus?:ResponseStatus,regent_id?:number,uuid?:string,stacUUID?:string,course_name?:string,title?:string,term?:string,student_academic_credential_history_entry?:StudentAcademicCredentialGradeHistoryEntryResponse[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
responseStatus;
/** @type {number} */
regent_id;
/** @type {string} */
uuid;
/** @type {string} */
stacUUID;
/** @type {string} */
course_name;
/** @type {string} */
title;
/** @type {string} */
term;
/** @type {StudentAcademicCredentialGradeHistoryEntryResponse[]} */
student_academic_credential_history_entry;
}
export class StudentAcademicCredentialHistoryRequest {
/** @param {{uuid?:string,stacUUID?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
uuid;
/** @type {string} */
stacUUID;
}
JavaScript StudentAcademicCredentialHistoryRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /StudentAcademicCredential/{uuid}/History/{stacUUID} HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"uuid":"String","stacUUID":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"uuid":"String","stacUUID":"String","course_name":"String","title":"String","term":"String","student_academic_credential_history_entry":[{"grade":"String","last_changed_by":"String","date":"0001-01-01T00:00:00.0000000"}]}