PUT api/Student/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

createstudent
NameDescriptionTypeAdditional information
studentid

integer

None.

name

string

None.

address

string

None.

mobno

string

None.

status

boolean

None.

classname

string

None.

sectionname

string

None.

admissionno

string

None.

studentpassword

string

None.

upload

boolean

None.

sessadm

string

None.

Request Formats

application/json, text/json

Sample:
{
  "studentid": 1,
  "name": "sample string 2",
  "address": "sample string 3",
  "mobno": "sample string 4",
  "status": true,
  "classname": "sample string 6",
  "sectionname": "sample string 7",
  "admissionno": "sample string 8",
  "studentpassword": "sample string 9",
  "upload": true,
  "sessadm": "sample string 11"
}

application/xml, text/xml

Sample:
<Student.createstudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudentsApi.Models">
  <address>sample string 3</address>
  <admissionno>sample string 8</admissionno>
  <classname>sample string 6</classname>
  <mobno>sample string 4</mobno>
  <name>sample string 2</name>
  <sectionname>sample string 7</sectionname>
  <sessadm>sample string 11</sessadm>
  <status>true</status>
  <studentid>1</studentid>
  <studentpassword>sample string 9</studentpassword>
  <upload>true</upload>
</Student.createstudent>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'createstudent'.

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>