POST api/Hostel/ProcessHostel
Request Information
URI Parameters
None.
Body Parameters
HostelReqName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
HostelName | string |
Required |
|
username | string |
Required |
|
accesskey | string |
Required |
|
processop | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "HostelName": "sample string 2", "username": "sample string 3", "accesskey": "sample string 4", "processop": "sample string 5" }
text/html
Sample:
{"Id":1,"HostelName":"sample string 2","username":"sample string 3","accesskey":"sample string 4","processop":"sample string 5"}
application/xml, text/xml
Sample:
<HostelReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolDockAPI.Models.RequestModel"> <HostelName>sample string 2</HostelName> <Id>1</Id> <accesskey>sample string 4</accesskey> <processop>sample string 5</processop> <username>sample string 3</username> </HostelReq>
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.