Required role: | REGISUserRole |
POST | /StudentGraduation/{uuid}/{year}/Update |
---|
"use strict";
export class StudentGraduationProgramResponse {
/** @param {{program_code?:string,concentration_code?:string,program_details?:string,comments?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
program_code;
/** @type {string} */
concentration_code;
/** @type {string} */
program_details;
/** @type {string} */
comments;
}
export class StudentGraduationUpdateRequest {
/** @param {{uuid?:string,authorizing_uuid?:string,year?:number,first_name?:string,middle_name?:string,last_name?:string,phonetic_first_name?:string,phonetic_middle_name?:string,phonetic_last_name?:string,placement?:string,placement_other?:string,previous_degrees?:string,gown_size?:number,project_title?:string,supervisor?:string,is_attending?:boolean,is_hood_requested?:boolean,is_hood_paid?:boolean,is_paid?:boolean,is_late?:boolean,comments?:string,current_status?:string,added_date?:string,applied_programs?:StudentGraduationProgramResponse[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
uuid;
/** @type {string} */
authorizing_uuid;
/** @type {?number} */
year;
/** @type {string} */
first_name;
/** @type {string} */
middle_name;
/** @type {string} */
last_name;
/** @type {string} */
phonetic_first_name;
/** @type {string} */
phonetic_middle_name;
/** @type {string} */
phonetic_last_name;
/** @type {string} */
placement;
/** @type {string} */
placement_other;
/** @type {string} */
previous_degrees;
/** @type {?number} */
gown_size;
/** @type {string} */
project_title;
/** @type {string} */
supervisor;
/** @type {boolean} */
is_attending;
/** @type {boolean} */
is_hood_requested;
/** @type {boolean} */
is_hood_paid;
/** @type {boolean} */
is_paid;
/** @type {boolean} */
is_late;
/** @type {string} */
comments;
/** @type {string} */
current_status;
/** @type {?string} */
added_date;
/** @type {StudentGraduationProgramResponse[]} */
applied_programs;
}
JavaScript StudentGraduationUpdateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /StudentGraduation/{uuid}/{year}/Update HTTP/1.1
Host: data.regent-college.edu
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"uuid":"String","authorizing_uuid":"String","year":0,"first_name":"String","middle_name":"String","last_name":"String","phonetic_first_name":"String","phonetic_middle_name":"String","phonetic_last_name":"String","placement":"String","placement_other":"String","previous_degrees":"String","gown_size":0,"project_title":"String","supervisor":"String","is_attending":false,"is_hood_requested":false,"is_hood_paid":false,"is_paid":false,"is_late":false,"comments":"String","current_status":"String","added_date":"0001-01-01T00:00:00.0000000","applied_programs":[{"program_code":"String","concentration_code":"String","program_details":"String","comments":"String"}]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}