PUT api/StudentAttribute

Request Information

URI Parameters

None.

Body Parameters

Collection of vmStudentAttribute
NameDescriptionTypeAdditional information
GroupName

string

None.

AttributeNameFK

integer

None.

AttributeName

string

None.

AttributeValue

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "GroupName": "sample string 1",
    "AttributeNameFK": 2,
    "AttributeName": "sample string 3",
    "AttributeValue": "sample string 4"
  },
  {
    "GroupName": "sample string 1",
    "AttributeNameFK": 2,
    "AttributeName": "sample string 3",
    "AttributeValue": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfvmStudentAttribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.ViewModel">
  <vmStudentAttribute>
    <AttributeName>sample string 3</AttributeName>
    <AttributeNameFK>2</AttributeNameFK>
    <AttributeValue>sample string 4</AttributeValue>
    <GroupName>sample string 1</GroupName>
  </vmStudentAttribute>
  <vmStudentAttribute>
    <AttributeName>sample string 3</AttributeName>
    <AttributeNameFK>2</AttributeNameFK>
    <AttributeValue>sample string 4</AttributeValue>
    <GroupName>sample string 1</GroupName>
  </vmStudentAttribute>
</ArrayOfvmStudentAttribute>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.