POST api/Student/PostStudents
Request Information
URI Parameters
None.
Body Parameters
Collection of StudentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FullName | string |
None. |
|
Age | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "FullName": "sample string 2", "Age": 3 }, { "Id": 1, "FullName": "sample string 2", "Age": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfStudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainEntityModel"> <Student> <Age>3</Age> <FullName>sample string 2</FullName> <Id>1</Id> </Student> <Student> <Age>3</Age> <FullName>sample string 2</FullName> <Id>1</Id> </Student> </ArrayOfStudent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.