POST api/Register
Request Information
URI Parameters
None.
Body Parameters
Student| Name | Description | Type | Additional information |
|---|---|---|---|
| StudId | integer |
None. |
|
| StudName | string |
None. |
|
| ClassName | string |
None. |
|
| DivisionName | string |
None. |
|
| MobileNo | string |
None. |
|
| Password | string |
None. |
|
| CnfPassword | string |
None. |
|
| Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudId": 1,
"StudName": "sample string 2",
"ClassName": "sample string 3",
"DivisionName": "sample string 4",
"MobileNo": "sample string 5",
"Password": "sample string 6",
"CnfPassword": "sample string 7",
"Status": 8
}
application/xml, text/xml
Sample:
<Student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnFirstWebApi.Models"> <ClassName>sample string 3</ClassName> <CnfPassword>sample string 7</CnfPassword> <DivisionName>sample string 4</DivisionName> <MobileNo>sample string 5</MobileNo> <Password>sample string 6</Password> <Status>8</Status> <StudId>1</StudId> <StudName>sample string 2</StudName> </Student>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| std | string |
None. |
|
| name | string |
None. |
|
| stid | integer |
None. |
|
| Status | integer |
None. |
|
| Content | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"std": "sample string 2",
"name": "sample string 3",
"stid": 4,
"Status": 5,
"Content": {}
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnFirstWebApi.Models"> <Content /> <Message>sample string 1</Message> <Status>5</Status> <name>sample string 3</name> <std>sample string 2</std> <stid>4</stid> </Response>