PUT api/UserTargetScore

Request Information

URI Parameters

None.

Body Parameters

UserTargetScore
NameDescriptionTypeAdditional information
RecordNo

integer

None.

PreviousListeningScore

decimal number

None.

PreviousSpeakingScore

decimal number

None.

PreviousReadingScore

decimal number

None.

PreviousWritingScore

decimal number

None.

TargetListeningScore

decimal number

None.

TargetSpeakingScore

decimal number

None.

TargetReadingScore

decimal number

None.

TargetWritingScore

decimal number

None.

IsWorkAbroad

boolean

None.

IsRelocateAbroad

boolean

None.

IsStudyAbroad

boolean

None.

Others

string

None.

StudentFK

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "PreviousListeningScore": 2.0,
  "PreviousSpeakingScore": 3.0,
  "PreviousReadingScore": 4.0,
  "PreviousWritingScore": 5.0,
  "TargetListeningScore": 6.0,
  "TargetSpeakingScore": 7.0,
  "TargetReadingScore": 8.0,
  "TargetWritingScore": 9.0,
  "IsWorkAbroad": true,
  "IsRelocateAbroad": true,
  "IsStudyAbroad": true,
  "Others": "sample string 13",
  "StudentFK": 14,
  "CreatedOn": "2024-12-21T20:57:30.2565043+00:00",
  "UpdatedOn": "2024-12-21T20:57:30.2565043+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<UserTargetScore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2024-12-21T20:57:30.2565043+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <IsRelocateAbroad>true</IsRelocateAbroad>
  <IsStudyAbroad>true</IsStudyAbroad>
  <IsWorkAbroad>true</IsWorkAbroad>
  <Others>sample string 13</Others>
  <PreviousListeningScore>2</PreviousListeningScore>
  <PreviousReadingScore>4</PreviousReadingScore>
  <PreviousSpeakingScore>3</PreviousSpeakingScore>
  <PreviousWritingScore>5</PreviousWritingScore>
  <RecordNo>1</RecordNo>
  <StudentFK>14</StudentFK>
  <TargetListeningScore>6</TargetListeningScore>
  <TargetReadingScore>8</TargetReadingScore>
  <TargetSpeakingScore>7</TargetSpeakingScore>
  <TargetWritingScore>9</TargetWritingScore>
  <UpdatedOn>2024-12-21T20:57:30.2565043+00:00</UpdatedOn>
</UserTargetScore>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.