The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/AcademicYear HTTP/1.1
Host: api.bryan.edu
Content-Type: text/jsv
Content-Length: length
{
id: 0,
termid: 0,
name: String,
start: 0001-01-01,
end: 0001-01-01,
terms:
[
{
id: 762,
uid: 0,
code: B10_1202_13B,
name: G2-10-MB13,
userDefined: ,
start: 2010-12-02,
end: 2011-06-02,
active: False,
allowFacultyRegistration: False,
displayInApplyPortal: True,
allowStudentRegistration: False
},
{
id: 758,
uid: 0,
code: B10_0603_13A,
name: G1-10-MB13,
userDefined: 06/03/2010 - Krystal Building (Thursday Nights),
start: 2010-06-10,
end: 2010-11-18,
active: False,
allowFacultyRegistration: False,
displayInApplyPortal: False,
allowStudentRegistration: False
}
],
monthsLong: 0
}