PUT followUpActivities/{followUpActivityId}

Update follow up activity.

Authorization

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

  • Authenticated user is a staff member and is assigned to the same center as a user who matches a student who is assigned to follow up activity specified by "followUpActivityId" uri parameter or by content of request.
  • Authenticated user who is either StaffMember

Request Information

URI Parameters

NameDescriptionTypeAdditional information
followUpActivityId

Follow up activity id.

globally unique identifier

Required

Body Parameters

Follow up activity parameters.

PearsonEnglish.LearningServices.Core.Models.Views.FollowUpActivityViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

StudentId

globally unique identifier

None.

ReporterId

globally unique identifier

None.

ReporterFullName

string

None.

LocalDate

date

None.

Result

string

None.

HasReachedStudent

boolean

None.

StaffMemberPhotoUris

Dictionary of Nse.ServiceBus.DataContracts.ImageResolution [key] and string [value]

None.

FollowUpActivityType

PearsonEnglish.LearningServices.Core.Models.Views.FollowUpActivityTypeViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "a9222311-65b8-4e55-9699-4655a4feb231",
  "StudentId": "ce3339ec-a558-4871-87d6-ea2ff9c04125",
  "ReporterId": "4e89e112-dc86-4ae3-81cb-7d6fe857459a",
  "ReporterFullName": "sample string 4",
  "LocalDate": "2024-10-05T09:23:10.6816695+00:00",
  "Result": "sample string 6",
  "HasReachedStudent": true,
  "StaffMemberPhotoUris": {
    "Small": "sample string 1"
  },
  "FollowUpActivityType": {
    "Id": "12dc973b-d601-4bed-9d06-017b610dc2ca",
    "Name": "sample string 2"
  }
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.