regis

<back to all web services

StudentAcademicCredentialHistoryRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	uuid: String,
	stacUUID: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01
		}
	]
}