POST api/{version}/Students/UpdateCommonMaterialDownloadStatus

This post method used to update the download status of common material for the materials available to student schedule

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

StudentDownloadFileStatus
NameDescriptionTypeAdditional information
RegistrationId

Gets or sets the registration Id

integer

None.

StudentId

Gets or sets the student Id

integer

None.

FileDownloaded

Gets or sets the status of file download. The values will be 'Y'-Yes or 'N'-No or 'D' - Don't know

string

None.

FileId

Gets or sets the file Id for the download material

string

None.

ScheduleId

Gets or sets the schedule Id

string

None.

SolutionId

Gets or sets the solution Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RegistrationId": 1,
  "StudentId": 2,
  "FileDownloaded": "sample string 3",
  "FileId": "sample string 4",
  "ScheduleId": "sample string 5",
  "SolutionId": "sample string 6"
}

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

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