POST api/studentsDetails

Request Information

URI Parameters

None.

Body Parameters

studentsDetail
NameDescriptionTypeAdditional information
id

integer

None.

first_name

string

None.

middle_name

string

None.

last_name

string

None.

date_of_birth

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "first_name": "sample string 2",
  "middle_name": "sample string 3",
  "last_name": "sample string 4",
  "date_of_birth": "sample string 5"
}

application/xml, text/xml

Sample:
<studentsDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOauth2.Models">
  <date_of_birth>sample string 5</date_of_birth>
  <first_name>sample string 2</first_name>
  <id>1</id>
  <last_name>sample string 4</last_name>
  <middle_name>sample string 3</middle_name>
</studentsDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

studentsDetail
NameDescriptionTypeAdditional information
id

integer

None.

first_name

string

None.

middle_name

string

None.

last_name

string

None.

date_of_birth

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "first_name": "sample string 2",
  "middle_name": "sample string 3",
  "last_name": "sample string 4",
  "date_of_birth": "sample string 5"
}

application/xml, text/xml

Sample:
<studentsDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOauth2.Models">
  <date_of_birth>sample string 5</date_of_birth>
  <first_name>sample string 2</first_name>
  <id>1</id>
  <last_name>sample string 4</last_name>
  <middle_name>sample string 3</middle_name>
</studentsDetail>