GET v2/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.View.UserStateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsNewUser

boolean

None.

UserName

string

None.

PrivacyPolicyApprove

boolean

None.

ServerTime

date

None.

Registration

Collection of 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.

StudentSpeakPlusLevelInfo

string

None.

Response Formats

application/json

Sample:
{
  "UserId": "30136d5d-749a-439b-a884-24ae749aac03",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-16T20:52:23.6981046+00:00",
  "Registration": [
    {
      "Id": "290a4fd6-51c0-40a0-8d81-0d4a48f5d75b",
      "UserId": "b943f3c1-a0ee-4ccc-8fda-26560e526373",
      "IsCurrent": true,
      "CenterId": "5bb5c798-52f7-4cc9-b7a7-bc63c4c779e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "984def9c-4bc3-408a-8e50-dd8c5f26e655",
      "EndDate": "2026-01-16T20:52:23.6981046+00:00",
      "StartDate": "2026-01-16T20:52:23.6981046+00:00",
      "SchedulePreferenceDate": "2026-01-16T20:52:23.6981046+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"
    },
    {
      "Id": "290a4fd6-51c0-40a0-8d81-0d4a48f5d75b",
      "UserId": "b943f3c1-a0ee-4ccc-8fda-26560e526373",
      "IsCurrent": true,
      "CenterId": "5bb5c798-52f7-4cc9-b7a7-bc63c4c779e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "984def9c-4bc3-408a-8e50-dd8c5f26e655",
      "EndDate": "2026-01-16T20:52:23.6981046+00:00",
      "StartDate": "2026-01-16T20:52:23.6981046+00:00",
      "SchedulePreferenceDate": "2026-01-16T20:52:23.6981046+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-01-16T20:52:23.6981046+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f68fa7ce-7e32-474d-84ba-4d84f8e6f4c4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1cc0ab68-ebc9-473d-a5b8-7c016bb45301",
      "Sequence": 1,
      "AncestorCategoryId": "0ffe5903-3454-4b39-bba2-9e89cb6f910e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "f68fa7ce-7e32-474d-84ba-4d84f8e6f4c4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1cc0ab68-ebc9-473d-a5b8-7c016bb45301",
      "Sequence": 1,
      "AncestorCategoryId": "0ffe5903-3454-4b39-bba2-9e89cb6f910e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "e4bb4fc2-340d-46a6-b6ed-1182985e8de4",
    "CategoryId": "768671ec-6297-4be4-ab21-cd845013c10f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "70ccfddf-417c-4817-ab10-44bb37af20c7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "70ccfddf-417c-4817-ab10-44bb37af20c7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "be2699ef-a91a-4e7a-bb94-fd4f2f6b0084",
      "Questions": [
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "be2699ef-a91a-4e7a-bb94-fd4f2f6b0084",
      "Questions": [
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4e302219-0825-41b5-9190-d438af7c7ede",
      "ContentItemId": "8d8fbd31-9bf5-4142-bbe3-92b63fb741d8",
      "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-01-16T20:52:23.6981046+00:00",
      "RescheduleDate": "2026-01-16T20:52:23.6981046+00:00"
    },
    {
      "Id": "4e302219-0825-41b5-9190-d438af7c7ede",
      "ContentItemId": "8d8fbd31-9bf5-4142-bbe3-92b63fb741d8",
      "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-01-16T20:52:23.6981046+00:00",
      "RescheduleDate": "2026-01-16T20:52:23.6981046+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}

text/json

Sample:
{
  "UserId": "30136d5d-749a-439b-a884-24ae749aac03",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-01-16T20:52:23.7606039+00:00",
  "Registration": [
    {
      "Id": "290a4fd6-51c0-40a0-8d81-0d4a48f5d75b",
      "UserId": "b943f3c1-a0ee-4ccc-8fda-26560e526373",
      "IsCurrent": true,
      "CenterId": "5bb5c798-52f7-4cc9-b7a7-bc63c4c779e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "984def9c-4bc3-408a-8e50-dd8c5f26e655",
      "EndDate": "2026-01-16T20:52:23.6981046+00:00",
      "StartDate": "2026-01-16T20:52:23.6981046+00:00",
      "SchedulePreferenceDate": "2026-01-16T20:52:23.6981046+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"
    },
    {
      "Id": "290a4fd6-51c0-40a0-8d81-0d4a48f5d75b",
      "UserId": "b943f3c1-a0ee-4ccc-8fda-26560e526373",
      "IsCurrent": true,
      "CenterId": "5bb5c798-52f7-4cc9-b7a7-bc63c4c779e4",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "984def9c-4bc3-408a-8e50-dd8c5f26e655",
      "EndDate": "2026-01-16T20:52:23.6981046+00:00",
      "StartDate": "2026-01-16T20:52:23.6981046+00:00",
      "SchedulePreferenceDate": "2026-01-16T20:52:23.6981046+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-01-16T20:52:23.6981046+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "f68fa7ce-7e32-474d-84ba-4d84f8e6f4c4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1cc0ab68-ebc9-473d-a5b8-7c016bb45301",
      "Sequence": 1,
      "AncestorCategoryId": "0ffe5903-3454-4b39-bba2-9e89cb6f910e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "f68fa7ce-7e32-474d-84ba-4d84f8e6f4c4",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "1cc0ab68-ebc9-473d-a5b8-7c016bb45301",
      "Sequence": 1,
      "AncestorCategoryId": "0ffe5903-3454-4b39-bba2-9e89cb6f910e",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "55b616c5-a870-4075-87e6-8f6584a88d51",
          "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": "e4bb4fc2-340d-46a6-b6ed-1182985e8de4",
    "CategoryId": "768671ec-6297-4be4-ab21-cd845013c10f",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "70ccfddf-417c-4817-ab10-44bb37af20c7",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "70ccfddf-417c-4817-ab10-44bb37af20c7",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "be2699ef-a91a-4e7a-bb94-fd4f2f6b0084",
      "Questions": [
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "be2699ef-a91a-4e7a-bb94-fd4f2f6b0084",
      "Questions": [
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        },
        {
          "Id": "c8b2319a-3772-493d-ab5d-9e2f1c28bf57",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "4e302219-0825-41b5-9190-d438af7c7ede",
      "ContentItemId": "8d8fbd31-9bf5-4142-bbe3-92b63fb741d8",
      "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-01-16T20:52:23.6981046+00:00",
      "RescheduleDate": "2026-01-16T20:52:23.6981046+00:00"
    },
    {
      "Id": "4e302219-0825-41b5-9190-d438af7c7ede",
      "ContentItemId": "8d8fbd31-9bf5-4142-bbe3-92b63fb741d8",
      "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-01-16T20:52:23.6981046+00:00",
      "RescheduleDate": "2026-01-16T20:52:23.6981046+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}