PUT api/StudentFactor

Request Information

URI Parameters

None.

Body Parameters

Collection of StudentFactor
NameDescriptionTypeAdditional information
RecordNo

integer

None.

StudentFK

integer

None.

FactorFK

integer

None.

Factor

Factor

None.

SortOrder

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "RecordNo": 1,
    "StudentFK": 2,
    "FactorFK": 3,
    "Factor": {
      "RecordNo": 1,
      "FactorName": "sample string 2",
      "CreatedOn": "2024-12-21T21:26:52.1889442+00:00",
      "UpdatedOn": "2024-12-21T21:26:52.1889442+00:00",
      "IsDeleted": true,
      "SortOrder": 5
    },
    "SortOrder": 4,
    "CreatedOn": "2024-12-21T21:26:52.1889442+00:00",
    "UpdatedOn": "2024-12-21T21:26:52.2045709+00:00",
    "IsDeleted": true
  },
  {
    "RecordNo": 1,
    "StudentFK": 2,
    "FactorFK": 3,
    "Factor": {
      "RecordNo": 1,
      "FactorName": "sample string 2",
      "CreatedOn": "2024-12-21T21:26:52.1889442+00:00",
      "UpdatedOn": "2024-12-21T21:26:52.1889442+00:00",
      "IsDeleted": true,
      "SortOrder": 5
    },
    "SortOrder": 4,
    "CreatedOn": "2024-12-21T21:26:52.1889442+00:00",
    "UpdatedOn": "2024-12-21T21:26:52.2045709+00:00",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfStudentFactor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <StudentFactor>
    <CreatedOn>2024-12-21T21:26:52.1889442+00:00</CreatedOn>
    <Factor>
      <CreatedOn>2024-12-21T21:26:52.1889442+00:00</CreatedOn>
      <FactorName>sample string 2</FactorName>
      <IsDeleted>true</IsDeleted>
      <RecordNo>1</RecordNo>
      <SortOrder>5</SortOrder>
      <UpdatedOn>2024-12-21T21:26:52.1889442+00:00</UpdatedOn>
    </Factor>
    <FactorFK>3</FactorFK>
    <IsDeleted>true</IsDeleted>
    <RecordNo>1</RecordNo>
    <SortOrder>4</SortOrder>
    <StudentFK>2</StudentFK>
    <UpdatedOn>2024-12-21T21:26:52.2045709+00:00</UpdatedOn>
  </StudentFactor>
  <StudentFactor>
    <CreatedOn>2024-12-21T21:26:52.1889442+00:00</CreatedOn>
    <Factor>
      <CreatedOn>2024-12-21T21:26:52.1889442+00:00</CreatedOn>
      <FactorName>sample string 2</FactorName>
      <IsDeleted>true</IsDeleted>
      <RecordNo>1</RecordNo>
      <SortOrder>5</SortOrder>
      <UpdatedOn>2024-12-21T21:26:52.1889442+00:00</UpdatedOn>
    </Factor>
    <FactorFK>3</FactorFK>
    <IsDeleted>true</IsDeleted>
    <RecordNo>1</RecordNo>
    <SortOrder>4</SortOrder>
    <StudentFK>2</StudentFK>
    <UpdatedOn>2024-12-21T21:26:52.2045709+00:00</UpdatedOn>
  </StudentFactor>
</ArrayOfStudentFactor>

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.