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": "31e4d7ac-9f5d-4d4c-b844-53081142831c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-31T19:40:56.1750819+00:00",
  "Registration": {
    "Id": "fe85409b-da64-4d70-92a8-bf8a76f5b0ca",
    "UserId": "71ec55d5-9cf3-444b-8337-a144b4101f25",
    "IsCurrent": true,
    "CenterId": "0ad29df1-4ff0-4150-b14e-fb8d54865fd6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "4c7358da-875b-4e83-806f-d5779a299166",
    "EndDate": "2026-07-31T19:40:56.1594569+00:00",
    "StartDate": "2026-07-31T19:40:56.1594569+00:00",
    "SchedulePreferenceDate": "2026-07-31T19:40:56.1594569+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-07-31T19:40:56.1594569+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3ea79e04-7b8b-4d5c-ade1-46562a290647",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e6ab0496-734a-4371-bce5-12c9cb410b92",
      "Sequence": 1,
      "AncestorCategoryId": "0a230d23-0109-454c-90d6-3bf54b0bdd68",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "3ea79e04-7b8b-4d5c-ade1-46562a290647",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e6ab0496-734a-4371-bce5-12c9cb410b92",
      "Sequence": 1,
      "AncestorCategoryId": "0a230d23-0109-454c-90d6-3bf54b0bdd68",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "e38b5c50-4cdc-4704-9d13-39fe7448af09",
    "CategoryId": "f5bebce6-e638-44a5-b8f8-3f0d7d79342a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "05946619-d178-4ffb-95b2-dbeb8107bd3d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "05946619-d178-4ffb-95b2-dbeb8107bd3d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "12371cd6-e909-422b-becb-abe83337ace2",
      "Questions": [
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        },
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "12371cd6-e909-422b-becb-abe83337ace2",
      "Questions": [
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        },
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1afdb1e6-b224-426d-a4eb-135eec4b2027",
      "ContentItemId": "1370aa5e-3828-40a3-80f7-59ac34cf87e5",
      "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-07-31T19:40:56.1594569+00:00",
      "RescheduleDate": "2026-07-31T19:40:56.1594569+00:00"
    },
    {
      "Id": "1afdb1e6-b224-426d-a4eb-135eec4b2027",
      "ContentItemId": "1370aa5e-3828-40a3-80f7-59ac34cf87e5",
      "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-07-31T19:40:56.1594569+00:00",
      "RescheduleDate": "2026-07-31T19:40:56.1594569+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "31e4d7ac-9f5d-4d4c-b844-53081142831c",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-07-31T19:40:56.2063338+00:00",
  "Registration": {
    "Id": "fe85409b-da64-4d70-92a8-bf8a76f5b0ca",
    "UserId": "71ec55d5-9cf3-444b-8337-a144b4101f25",
    "IsCurrent": true,
    "CenterId": "0ad29df1-4ff0-4150-b14e-fb8d54865fd6",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "4c7358da-875b-4e83-806f-d5779a299166",
    "EndDate": "2026-07-31T19:40:56.1594569+00:00",
    "StartDate": "2026-07-31T19:40:56.1594569+00:00",
    "SchedulePreferenceDate": "2026-07-31T19:40:56.1594569+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-07-31T19:40:56.1594569+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3ea79e04-7b8b-4d5c-ade1-46562a290647",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e6ab0496-734a-4371-bce5-12c9cb410b92",
      "Sequence": 1,
      "AncestorCategoryId": "0a230d23-0109-454c-90d6-3bf54b0bdd68",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "3ea79e04-7b8b-4d5c-ade1-46562a290647",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "e6ab0496-734a-4371-bce5-12c9cb410b92",
      "Sequence": 1,
      "AncestorCategoryId": "0a230d23-0109-454c-90d6-3bf54b0bdd68",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "d38a3b0b-b80f-4a99-bcfb-5c8341259509",
          "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": "e38b5c50-4cdc-4704-9d13-39fe7448af09",
    "CategoryId": "f5bebce6-e638-44a5-b8f8-3f0d7d79342a",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "05946619-d178-4ffb-95b2-dbeb8107bd3d",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "05946619-d178-4ffb-95b2-dbeb8107bd3d",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "12371cd6-e909-422b-becb-abe83337ace2",
      "Questions": [
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        },
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "12371cd6-e909-422b-becb-abe83337ace2",
      "Questions": [
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        },
        {
          "Id": "812a90db-b3ba-4616-b34f-71b13db4dfda",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "1afdb1e6-b224-426d-a4eb-135eec4b2027",
      "ContentItemId": "1370aa5e-3828-40a3-80f7-59ac34cf87e5",
      "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-07-31T19:40:56.1594569+00:00",
      "RescheduleDate": "2026-07-31T19:40:56.1594569+00:00"
    },
    {
      "Id": "1afdb1e6-b224-426d-a4eb-135eec4b2027",
      "ContentItemId": "1370aa5e-3828-40a3-80f7-59ac34cf87e5",
      "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-07-31T19:40:56.1594569+00:00",
      "RescheduleDate": "2026-07-31T19:40:56.1594569+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}