StarterTemplate ASP.NET Host

<back to all web services

HousingAssignment

The following routes are available for this service:
All Verbs/housingAssignments

To override the Content-type in your clients HTTP Accept Header, append ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/oneway/HousingAssignment HTTP/1.1 
Host: api.bryan.edu 
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	roomID: 0,
	room: 
	{
		id: 0,
		buildingID: 0,
		name: String,
		description: String,
		floor: String,
		available: False,
		notes: 
	},
	studentID: 0,
	termID: 0,
	term: 
	{
		id: 0,
		action: String,
		uid: 0,
		username: String,
		code: String,
		name: String,
		userDefined: String,
		start: 0001-01-01,
		end: 0001-01-01,
		active: False,
		allowFacultyRegistration: False,
		displayInApplyPortal: False,
		allowStudentRegistration: False
	},
	start: 0001-01-01,
	end: 0001-01-01,
	keyGivenDate: 0001-01-01,
	keyReturnedDate: 0001-01-01,
	keyGiven: True,
	keyReturned: True,
	keyOut: False,
	roomNumber: ,
	buildingName: ,
	building: 
	{
		id: 0,
		name: String,
		address: String,
		type: 0
	},
	roommates: [],
	username: String
}