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=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/oneway/HousingAssignment HTTP/1.1 
Host: api.bryan.edu 
Content-Type: application/json
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":"\/Date(-62135578800000-0500)\/","end":"\/Date(-62135578800000-0500)\/","active":false,"allowFacultyRegistration":false,"displayInApplyPortal":false,"allowStudentRegistration":false},"start":"\/Date(-62135578800000-0500)\/","end":"\/Date(-62135578800000-0500)\/","keyGivenDate":"\/Date(-62135578800000-0500)\/","keyReturnedDate":"\/Date(-62135578800000-0500)\/","keyGiven":true,"keyReturned":true,"keyOut":false,"roomNumber":"","buildingName":"","building":{"id":0,"name":"String","address":"String","type":0},"roommates":[],"username":"String"}