GET users/{userIdentifier}/state

Gets the User's state information.

Authorization

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

  • Authenticated user passes at least one of the following conditions: Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the online center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
  • Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
  • Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, FocusTool, ProspectWithTrial, User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userIdentifier

user's identifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Core.Models.Views.UserStateBackwardCompatibleViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

PearsonEnglish.LearningServices.Core.Models.Views.RegistrationViewModel

None.

TimeZone

PearsonEnglish.LearningServices.Core.Models.Views.TimeZoneViewModel

None.

Bookmarks

Dictionary of string [key] and PearsonEnglish.LearningServices.Core.Models.Views.ContentItemViewModel [value]

None.

CurrentCourse

PearsonEnglish.LearningServices.Core.Models.CurrentCourse

None.

Lessons

Collection of PearsonEnglish.LearningServices.Core.Models.Views.ContentItemResultViewModel

None.

Surveys

Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSurveyViewModel

None.

Sessions

Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSessionStateViewModel

None.

TotalRescheduleCount

integer

None.

StudentLevelInfo

PearsonEnglish.LearningServices.Core.Models.StudentLevelInfo

None.

Response Formats

application/json

Sample:
{
  "UserId": "02b6a594-f2f6-4124-83a9-833fe835e727",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-05T17:03:07.020547+00:00",
  "Registration": {
    "Id": "4f775841-d34b-48cf-8f51-6298e37bf304",
    "UserId": "0daf372d-2e07-47d7-aca6-6228e7c4e5a2",
    "IsCurrent": true,
    "CenterId": "eddbd45a-9697-40c1-826d-841348c6c0e3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "f487e2b1-6ce4-49e3-997e-53440ae3040b",
    "EndDate": "2026-09-05T17:03:07.0049232+00:00",
    "StartDate": "2026-09-05T17:03:07.0049232+00:00",
    "SchedulePreferenceDate": "2026-09-05T17:03:07.0049232+00:00",
    "TypeName": "sample string 10",
    "WorkbookType": 0,
    "EnglishAnytime": true,
    "AllowSelfBooking": true,
    "RegistrationStatus": "sample string 12",
    "CourseStatus": "sample string 13",
    "StudentCurrentContractStatus": "sample string 14",
    "OnlineClassAccess": true,
    "InCenterClassAccess": true,
    "IsMembership": true,
    "IsPromo": true,
    "OnboardingAccess": true,
    "IsCrossCenterBooking": true,
    "IsTeen": true,
    "IsGroupContract": true,
    "IsB2B": true,
    "ServiceType": 1,
    "LabTeacherReferenceId": "sample string 24",
    "ConsultantReferenceId": "sample string 25"
  },
  "TimeZone": {
    "Name": "sample string 1",
    "IanaName": "sample string 2",
    "LocalUtcOffset": "00:00:00.1234567",
    "LocalDateTime": "2026-09-05T17:03:07.0049232+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "97ce078d-42b1-4dec-a0e3-7f601826d628",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12e96112-1ba0-4c94-8032-6478db03f9f6",
      "Sequence": 1,
      "AncestorCategoryId": "b61ecba0-e6a6-4d76-92f1-ba41cfa370d5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    },
    "sample string 2": {
      "Id": "97ce078d-42b1-4dec-a0e3-7f601826d628",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12e96112-1ba0-4c94-8032-6478db03f9f6",
      "Sequence": 1,
      "AncestorCategoryId": "b61ecba0-e6a6-4d76-92f1-ba41cfa370d5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    }
  },
  "CurrentCourse": {
    "Id": "29fe569f-01ff-4564-8f5a-5c584fb444e8",
    "CategoryId": "e7cc2982-fdd5-42c3-b7de-609d2af3c846",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "277b5390-4324-4c80-8b1f-22e4bd7cdf87",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "277b5390-4324-4c80-8b1f-22e4bd7cdf87",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "25965421-b288-4452-afe9-266ce5efb088",
      "Questions": [
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        },
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "25965421-b288-4452-afe9-266ce5efb088",
      "Questions": [
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        },
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "71811ca9-41cc-41a9-aa51-c0bda8f594e1",
      "ContentItemId": "1b172afa-901e-49ca-bf49-fe216cfe3334",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-09-05T17:03:07.0049232+00:00",
      "RescheduleDate": "2026-09-05T17:03:07.0049232+00:00"
    },
    {
      "Id": "71811ca9-41cc-41a9-aa51-c0bda8f594e1",
      "ContentItemId": "1b172afa-901e-49ca-bf49-fe216cfe3334",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-09-05T17:03:07.0049232+00:00",
      "RescheduleDate": "2026-09-05T17:03:07.0049232+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "02b6a594-f2f6-4124-83a9-833fe835e727",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-09-05T17:03:07.051793+00:00",
  "Registration": {
    "Id": "4f775841-d34b-48cf-8f51-6298e37bf304",
    "UserId": "0daf372d-2e07-47d7-aca6-6228e7c4e5a2",
    "IsCurrent": true,
    "CenterId": "eddbd45a-9697-40c1-826d-841348c6c0e3",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "f487e2b1-6ce4-49e3-997e-53440ae3040b",
    "EndDate": "2026-09-05T17:03:07.0049232+00:00",
    "StartDate": "2026-09-05T17:03:07.0049232+00:00",
    "SchedulePreferenceDate": "2026-09-05T17:03:07.0049232+00:00",
    "TypeName": "sample string 10",
    "WorkbookType": 0,
    "EnglishAnytime": true,
    "AllowSelfBooking": true,
    "RegistrationStatus": "sample string 12",
    "CourseStatus": "sample string 13",
    "StudentCurrentContractStatus": "sample string 14",
    "OnlineClassAccess": true,
    "InCenterClassAccess": true,
    "IsMembership": true,
    "IsPromo": true,
    "OnboardingAccess": true,
    "IsCrossCenterBooking": true,
    "IsTeen": true,
    "IsGroupContract": true,
    "IsB2B": true,
    "ServiceType": 1,
    "LabTeacherReferenceId": "sample string 24",
    "ConsultantReferenceId": "sample string 25"
  },
  "TimeZone": {
    "Name": "sample string 1",
    "IanaName": "sample string 2",
    "LocalUtcOffset": "00:00:00.1234567",
    "LocalDateTime": "2026-09-05T17:03:07.0049232+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "97ce078d-42b1-4dec-a0e3-7f601826d628",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12e96112-1ba0-4c94-8032-6478db03f9f6",
      "Sequence": 1,
      "AncestorCategoryId": "b61ecba0-e6a6-4d76-92f1-ba41cfa370d5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    },
    "sample string 2": {
      "Id": "97ce078d-42b1-4dec-a0e3-7f601826d628",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "12e96112-1ba0-4c94-8032-6478db03f9f6",
      "Sequence": 1,
      "AncestorCategoryId": "b61ecba0-e6a6-4d76-92f1-ba41cfa370d5",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        },
        {
          "Id": "7a42ff2b-e63e-4452-8f74-14f214e73973",
          "Type": "sample string 2",
          "Sequence": 1,
          "Path": "sample string 3",
          "Attributes": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          },
          "ChildCategories": []
        }
      ],
      "ContentOptimizationLevelId": 7,
      "ContentOptimizationLevelName": "sample string 8"
    }
  },
  "CurrentCourse": {
    "Id": "29fe569f-01ff-4564-8f5a-5c584fb444e8",
    "CategoryId": "e7cc2982-fdd5-42c3-b7de-609d2af3c846",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "277b5390-4324-4c80-8b1f-22e4bd7cdf87",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "277b5390-4324-4c80-8b1f-22e4bd7cdf87",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "25965421-b288-4452-afe9-266ce5efb088",
      "Questions": [
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        },
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "25965421-b288-4452-afe9-266ce5efb088",
      "Questions": [
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        },
        {
          "Id": "a6bd1fb2-ca5e-4eea-af75-5a5412676eb2",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "71811ca9-41cc-41a9-aa51-c0bda8f594e1",
      "ContentItemId": "1b172afa-901e-49ca-bf49-fe216cfe3334",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-09-05T17:03:07.0049232+00:00",
      "RescheduleDate": "2026-09-05T17:03:07.0049232+00:00"
    },
    {
      "Id": "71811ca9-41cc-41a9-aa51-c0bda8f594e1",
      "ContentItemId": "1b172afa-901e-49ca-bf49-fe216cfe3334",
      "Status": "sample string 3",
      "TeacherFeedbacks": [
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        },
        {
          "Type": "sample string 1",
          "Value1": "sample string 2",
          "Value2": "sample string 3"
        }
      ],
      "RatingDate": "2026-09-05T17:03:07.0049232+00:00",
      "RescheduleDate": "2026-09-05T17:03:07.0049232+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}