POST api/{version}/FlashCard/UpdateFlashCard

Update Flash card details for one flash card

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

FlashCardInputModel
NameDescriptionTypeAdditional information
StudentId

Get or set the student Id

integer

None.

StudentCourseMaterialId

Get or set the StudentCourseMaterialId

integer

None.

FlashcardSetAttemptsId

Get or set the FlashcardSetAttemptsId

integer

None.

VersionId

Get or set the VersionId

string

None.

FlashCardSetId

Get or set the FlashCardSetId

integer

None.

FlashCardId

Get or set the FlashCardId

integer

None.

CardNo

Get or set the CardNo of the flash card

string

None.

OrderSequence

Get or set the OrderSequence of the flash card

integer

None.

StartTime

Get or set the StartTime of the flash card

date

None.

EndTime

Get or set the EndTime of the flash card

date

None.

DurationSpendInSeconds

Get or set the DurationSpendInSeconds

decimal number

None.

IsFrontViewed

Get or set that the front side of the card is viewed

boolean

None.

IsBackViewed

Get or set that the back side of the card is viewed

boolean

None.

IsCompleted

Get or set the flash card is completed or not

boolean

None.

Comment

Get or set the Comment given by the student for each flash card

string

None.

Rating

Get or set the Rating given by the student for each flash card

integer

None.

Notes

Get or set the Notes entered by the student

string

None.

DeviceType

Get or set the DeviceType of the student

string

None.

DeviceIdOrIP

Get or set the DeviceIdOrIP of the Student

string

None.

DirectoryId

Get or set the DirectoryId of the Flash card set

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentId": 1,
  "StudentCourseMaterialId": 2,
  "FlashcardSetAttemptsId": 3,
  "VersionId": "sample string 4",
  "FlashCardSetId": 5,
  "FlashCardId": 6,
  "CardNo": "sample string 7",
  "OrderSequence": 8,
  "StartTime": "2026-04-02T23:45:43.9033614-04:00",
  "EndTime": "2026-04-02T23:45:43.9033614-04:00",
  "DurationSpendInSeconds": 11.1,
  "IsFrontViewed": true,
  "IsBackViewed": true,
  "IsCompleted": true,
  "Comment": "sample string 15",
  "Rating": 16,
  "Notes": "sample string 17",
  "DeviceType": "sample string 18",
  "DeviceIdOrIP": "sample string 19",
  "DirectoryId": 20
}

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>