Required permission: | ReadSections |
POST | /Sections/Timetable/{reporting_term} |
---|
namespace regis.ClassLibrary.Requests
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type SectionTimetableNoteResponse() =
member val Heading:String = null with get,set
member val Body:String = null with get,set
[<AllowNullLiteral>]
type SectionTimetableInstructorResponse() =
member val InstructorName:String = null with get,set
member val InstructorSlug:String = null with get,set
[<AllowNullLiteral>]
type SectionTimetableResponse() =
member val Time:String = null with get,set
member val SortTime:Nullable<Int32> = new Nullable<Int32>() with get,set
member val Course:String = null with get,set
member val CourseSlug:String = null with get,set
member val Desc:String = null with get,set
member val Instructors:ResizeArray<SectionTimetableInstructorResponse> = new ResizeArray<SectionTimetableInstructorResponse>() with get,set
member val RegistrationInfo:String = null with get,set
member val Room:String = null with get,set
member val CreditMinimum:Decimal = new Decimal() with get,set
member val CreditMaximum:Decimal = new Decimal() with get,set
member val AuditMinimum:Decimal = new Decimal() with get,set
member val AuditMaximum:Decimal = new Decimal() with get,set
[<AllowNullLiteral>]
type SectionsTimetableResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val Term:String = null with get,set
member val Notes:ResizeArray<SectionTimetableNoteResponse> = new ResizeArray<SectionTimetableNoteResponse>() with get,set
member val Monday:ResizeArray<SectionTimetableResponse> = new ResizeArray<SectionTimetableResponse>() with get,set
member val Tuesday:ResizeArray<SectionTimetableResponse> = new ResizeArray<SectionTimetableResponse>() with get,set
member val Wednesday:ResizeArray<SectionTimetableResponse> = new ResizeArray<SectionTimetableResponse>() with get,set
member val Thursday:ResizeArray<SectionTimetableResponse> = new ResizeArray<SectionTimetableResponse>() with get,set
member val Friday:ResizeArray<SectionTimetableResponse> = new ResizeArray<SectionTimetableResponse>() with get,set
member val Saturday:ResizeArray<SectionTimetableResponse> = new ResizeArray<SectionTimetableResponse>() with get,set
member val Sunday:ResizeArray<SectionTimetableResponse> = new ResizeArray<SectionTimetableResponse>() with get,set
[<AllowNullLiteral>]
type SectionsTimetableRequest() =
member val reporting_term:String = null with get,set
F# SectionsTimetableRequest 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 /Sections/Timetable/{reporting_term} HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"reporting_term":"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"}},"term":"String","notes":[{"heading":"String","body":"String"}],"monday":[{"time":"String","sortTime":0,"course":"String","courseSlug":"String","desc":"String","instructors":[{"instructorName":"String","instructorSlug":"String"}],"registrationInfo":"String","room":"String","creditMinimum":0,"creditMaximum":0,"auditMinimum":0,"auditMaximum":0}],"tuesday":[{"time":"String","sortTime":0,"course":"String","courseSlug":"String","desc":"String","instructors":[{"instructorName":"String","instructorSlug":"String"}],"registrationInfo":"String","room":"String","creditMinimum":0,"creditMaximum":0,"auditMinimum":0,"auditMaximum":0}],"wednesday":[{"time":"String","sortTime":0,"course":"String","courseSlug":"String","desc":"String","instructors":[{"instructorName":"String","instructorSlug":"String"}],"registrationInfo":"String","room":"String","creditMinimum":0,"creditMaximum":0,"auditMinimum":0,"auditMaximum":0}],"thursday":[{"time":"String","sortTime":0,"course":"String","courseSlug":"String","desc":"String","instructors":[{"instructorName":"String","instructorSlug":"String"}],"registrationInfo":"String","room":"String","creditMinimum":0,"creditMaximum":0,"auditMinimum":0,"auditMaximum":0}],"friday":[{"time":"String","sortTime":0,"course":"String","courseSlug":"String","desc":"String","instructors":[{"instructorName":"String","instructorSlug":"String"}],"registrationInfo":"String","room":"String","creditMinimum":0,"creditMaximum":0,"auditMinimum":0,"auditMaximum":0}],"saturday":[{"time":"String","sortTime":0,"course":"String","courseSlug":"String","desc":"String","instructors":[{"instructorName":"String","instructorSlug":"String"}],"registrationInfo":"String","room":"String","creditMinimum":0,"creditMaximum":0,"auditMinimum":0,"auditMaximum":0}],"sunday":[{"time":"String","sortTime":0,"course":"String","courseSlug":"String","desc":"String","instructors":[{"instructorName":"String","instructorSlug":"String"}],"registrationInfo":"String","room":"String","creditMinimum":0,"creditMaximum":0,"auditMinimum":0,"auditMaximum":0}]}