POST api/Students

Request Information

URI Parameters

None.

Body Parameters

StudentsModel
NameDescriptionTypeAdditional information
first_name

string

Required

middle_name

string

Required

last_name

string

Required

date_of_birth

string

Required

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>