Required role: | REGISUserRole |
POST | /StudentExemptionCredentials/{uuid} |
---|
"use strict";
export class StudentExemptionCredentialResponse {
/** @param {{responseStatus?:ResponseStatus,uuid?:string,exemption_uuid?:string,course_name?:string,title?:string,credit_value?:number,added_by?:string,added_date?:string,changed_by?:string,changed_date?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
responseStatus;
/** @type {string} */
uuid;
/** @type {string} */
exemption_uuid;
/** @type {string} */
course_name;
/** @type {string} */
title;
/** @type {?number} */
credit_value;
/** @type {string} */
added_by;
/** @type {?string} */
added_date;
/** @type {string} */
changed_by;
/** @type {?string} */
changed_date;
}
export class StudentExemptionCredentialsResponse {
/** @param {{responseStatus?:ResponseStatus,regent_id?:number,uuid?:string,studentExemptionCredentials?:StudentExemptionCredentialResponse[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
responseStatus;
/** @type {number} */
regent_id;
/** @type {string} */
uuid;
/** @type {StudentExemptionCredentialResponse[]} */
studentExemptionCredentials;
}
export class StudentExemptionCredentialsRequest {
/** @param {{uuid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
uuid;
}
JavaScript StudentExemptionCredentialsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /StudentExemptionCredentials/{uuid} HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
uuid: 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, studentExemptionCredentials: [ { responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }, uuid: String, exemption_uuid: String, course_name: String, title: String, credit_value: 0, added_by: String, added_date: 0001-01-01, changed_by: String, changed_date: 0001-01-01 } ] }