The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/Course HTTP/1.1
Host: api.bryan.edu
Content-Type: text/jsv
Content-Length: length
{
id: 0,
username: String,
role: String,
action: String,
studentUID: 0,
termID: 0,
term: 0,
master:
{
id: 0,
departmentCode: ,
number: ,
typeCode: ,
name: ,
credits: 0,
facultyApprovalRequired: False,
code: ,
prerequisiteFormula:
{
courseMasterID: 0,
formula: ,
description:
}
},
courseMaster:
{
id: 0,
departmentCode: ,
number: ,
typeCode: ,
name: ,
credits: 0,
facultyApprovalRequired: False,
code: ,
prerequisiteFormula:
{
courseMasterID: 0,
formula: ,
description:
}
},
departmentCode: String,
number: String,
typeCode: String,
section: String,
name: String,
enrollment: 0,
maximumEnrollment: 0,
currentEnrollment: 0,
credits: 0,
start: 0001-01-01,
end: 0001-01-01,
labFee: 0,
costTypeID: 0,
variableCredit: False,
canRepeat: False,
facultyApprovalRequired: False,
displayInPortal: False,
allowDropInPortal: False,
code: StringStringStringString,
longName: StringStringStringString - String,
full: True,
faculty: [],
textbook:
[
{
termID: 0,
id: 2664,
courseid: 0,
isbnNumber: ,
publisher: ,
bookTitle: ,
bookCost: 0,
author: ,
required: False,
comment: ,
noBook: True,
courseComment: ,
notAvailableOnlinePartner: False,
notAvailableBookstore: False,
isNull: False
}
],
students: [],
activeStudents: [],
meetingTimes: []
}