POST students/{studentIdentifier}/digitalBooksAccess

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user who is either StaffMember, Student
  • Authenticated user is a staff member in roles: servicemanager, limitedservicemanager, director, limitedcenterdirector, regionaladministrator and is assigned to the same center as matches identifier given in "studentIdentifier" uri parameter.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
studentIdentifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

Body Parameters

Collection of PearsonEnglish.LearningServices.Wse.Models.DigitalBooks.DigitalBooksAccessSettingsUpdateParameter+Entry
NameDescriptionTypeAdditional information
RegistrationCourseId

globally unique identifier

None.

WorkbookType

PearsonEnglish.LearningServices.Core.Models.Enums.WorkbookType

None.

ReleaseWorkBook

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "RegistrationCourseId": "ecfa4e2f-100b-48ee-8c29-611743c29ea4",
    "WorkbookType": "Digital",
    "ReleaseWorkBook": true
  },
  {
    "RegistrationCourseId": "ecfa4e2f-100b-48ee-8c29-611743c29ea4",
    "WorkbookType": "Digital",
    "ReleaseWorkBook": true
  }
]

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.