POST api/HostelRegister/ProcessHostelRegister
Request Information
URI Parameters
None.
Body Parameters
HostelRegisterReq| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentId | integer |
Required |
|
| SessionId | integer |
Required |
|
| TermId | integer |
Required |
|
| SignInDate | date |
Required |
|
| SignInTime | time interval |
Required |
|
| username | string |
Required |
|
| accesskey | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"StudentId": 1,
"SessionId": 2,
"TermId": 3,
"SignInDate": "2026-01-10T12:44:06.1893481-08:00",
"SignInTime": "00:00:00.1234567",
"username": "sample string 6",
"accesskey": "sample string 7"
}
text/html
Sample:
{"StudentId":1,"SessionId":2,"TermId":3,"SignInDate":"2026-01-10T12:44:06.1893481-08:00","SignInTime":"00:00:00.1234567","username":"sample string 6","accesskey":"sample string 7"}
application/xml, text/xml
Sample:
<HostelRegisterReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolDockAPI.Models.RequestModel"> <SessionId>2</SessionId> <SignInDate>2026-01-10T12:44:06.1893481-08:00</SignInDate> <SignInTime>PT0.1234567S</SignInTime> <StudentId>1</StudentId> <TermId>3</TermId> <accesskey>sample string 7</accesskey> <username>sample string 6</username> </HostelRegisterReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.