| Required role: | REGISUserRole |
| POST | /Sections/{reporting_term}/Rate/{section_rate_uuid} |
|---|
"use strict";
export class SectionRateResponse {
/** @param {{responseStatus?:ResponseStatus,uuid?:string,secUUID?:string,section_id?:number,course_name?:string,section_code?:string,title?:string,reporting_term?:string,rate_code?:string,rate_description?:string,is_override_credit_rate?:boolean,is_override_audit_rate?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
responseStatus;
/** @type {string} */
uuid;
/** @type {string} */
secUUID;
/** @type {number} */
section_id;
/** @type {string} */
course_name;
/** @type {string} */
section_code;
/** @type {string} */
title;
/** @type {string} */
reporting_term;
/** @type {string} */
rate_code;
/** @type {string} */
rate_description;
/** @type {boolean} */
is_override_credit_rate;
/** @type {boolean} */
is_override_audit_rate;
}
export class SectionRateRequest {
/** @param {{reporting_term?:string,section_rate_uuid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
reporting_term;
/** @type {string} */
section_rate_uuid;
}
JavaScript SectionRateRequest 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 /Sections/{reporting_term}/Rate/{section_rate_uuid} HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
reporting_term: String,
section_rate_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
}
},
uuid: String,
secUUID: String,
section_id: 0,
course_name: String,
section_code: String,
title: String,
reporting_term: String,
rate_code: String,
rate_description: String,
is_override_credit_rate: False,
is_override_audit_rate: False
}