PUT api/Student/PutStudent

Request Information

URI Parameters

None.

Body Parameters

StudentModelAPI
NameDescriptionTypeAdditional information
studentid

integer

None.

name

string

None.

condition

string

None.

level

string

None.

group

string

None.

modifiedby

integer

None.

modifiedbyname

string

None.

modifiedbydate

date

None.

archiveddate

date

None.

createddate

date

None.

active

integer

None.

status

string

None.

profile

string

None.

hasdownload

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "studentid": 1,
  "name": "sample string 2",
  "condition": "sample string 3",
  "level": "sample string 4",
  "group": "sample string 5",
  "modifiedby": 1,
  "modifiedbyname": "sample string 6",
  "modifiedbydate": "2025-12-06T03:50:37.5586205+00:00",
  "archiveddate": "2025-12-06T03:50:37.5586205+00:00",
  "createddate": "2025-12-06T03:50:37.5586205+00:00",
  "active": 8,
  "status": "sample string 9",
  "profile": "sample string 10",
  "hasdownload": true
}

application/xml, text/xml

Sample:
<StudentModelAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SultryWeb.API.Models">
  <active>8</active>
  <archiveddate>2025-12-06T03:50:37.5586205+00:00</archiveddate>
  <condition>sample string 3</condition>
  <createddate>2025-12-06T03:50:37.5586205+00:00</createddate>
  <group>sample string 5</group>
  <hasdownload>true</hasdownload>
  <level>sample string 4</level>
  <modifiedby>1</modifiedby>
  <modifiedbydate>2025-12-06T03:50:37.5586205+00:00</modifiedbydate>
  <modifiedbyname>sample string 6</modifiedbyname>
  <name>sample string 2</name>
  <profile>sample string 10</profile>
  <status>sample string 9</status>
  <studentid>1</studentid>
</StudentModelAPI>

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 'StudentModelAPI'.

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>