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": "7df40734-558e-4925-bcc9-b1f1a63d35fe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-30T04:49:46.2399066+00:00",
  "Registration": [
    {
      "Id": "30eb98c4-01ee-4484-89d3-b392c8dcee2a",
      "UserId": "189f36d7-dcd2-41ec-90ea-72688356f939",
      "IsCurrent": true,
      "CenterId": "9b484368-f73b-4e91-8391-3ef1ad616ee2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "689c5333-f0e7-4581-bc7b-bf38d88052de",
      "EndDate": "2026-04-30T04:49:46.2399066+00:00",
      "StartDate": "2026-04-30T04:49:46.2399066+00:00",
      "SchedulePreferenceDate": "2026-04-30T04:49:46.2399066+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": "30eb98c4-01ee-4484-89d3-b392c8dcee2a",
      "UserId": "189f36d7-dcd2-41ec-90ea-72688356f939",
      "IsCurrent": true,
      "CenterId": "9b484368-f73b-4e91-8391-3ef1ad616ee2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "689c5333-f0e7-4581-bc7b-bf38d88052de",
      "EndDate": "2026-04-30T04:49:46.2399066+00:00",
      "StartDate": "2026-04-30T04:49:46.2399066+00:00",
      "SchedulePreferenceDate": "2026-04-30T04:49:46.2399066+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-04-30T04:49:46.2399066+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ef63d606-ddda-4087-b87d-ced4834a1064",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea54ce08-1230-4a3f-9485-125447115b43",
      "Sequence": 1,
      "AncestorCategoryId": "a07a0e4e-cba5-43a8-8a28-bf8fdba7952b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "ef63d606-ddda-4087-b87d-ced4834a1064",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea54ce08-1230-4a3f-9485-125447115b43",
      "Sequence": 1,
      "AncestorCategoryId": "a07a0e4e-cba5-43a8-8a28-bf8fdba7952b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "7d5c9ce0-4557-4082-a6ed-4ccb59fe1b7c",
    "CategoryId": "1b18fe62-8da8-439b-80d8-61ba0fbb5a8d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "35247c78-171d-463c-8115-516ffdd6508e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "35247c78-171d-463c-8115-516ffdd6508e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3771a2cf-cdc8-4a0c-be96-9487f8242767",
      "Questions": [
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        },
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3771a2cf-cdc8-4a0c-be96-9487f8242767",
      "Questions": [
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        },
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "674b9eb1-60f6-48dd-bbd5-23b252ebdbff",
      "ContentItemId": "6b9a9caa-3344-406b-b967-b12c8e234b3d",
      "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-04-30T04:49:46.2399066+00:00",
      "RescheduleDate": "2026-04-30T04:49:46.2399066+00:00"
    },
    {
      "Id": "674b9eb1-60f6-48dd-bbd5-23b252ebdbff",
      "ContentItemId": "6b9a9caa-3344-406b-b967-b12c8e234b3d",
      "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-04-30T04:49:46.2399066+00:00",
      "RescheduleDate": "2026-04-30T04:49:46.2399066+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": "7df40734-558e-4925-bcc9-b1f1a63d35fe",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-04-30T04:49:46.2711509+00:00",
  "Registration": [
    {
      "Id": "30eb98c4-01ee-4484-89d3-b392c8dcee2a",
      "UserId": "189f36d7-dcd2-41ec-90ea-72688356f939",
      "IsCurrent": true,
      "CenterId": "9b484368-f73b-4e91-8391-3ef1ad616ee2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "689c5333-f0e7-4581-bc7b-bf38d88052de",
      "EndDate": "2026-04-30T04:49:46.2399066+00:00",
      "StartDate": "2026-04-30T04:49:46.2399066+00:00",
      "SchedulePreferenceDate": "2026-04-30T04:49:46.2399066+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": "30eb98c4-01ee-4484-89d3-b392c8dcee2a",
      "UserId": "189f36d7-dcd2-41ec-90ea-72688356f939",
      "IsCurrent": true,
      "CenterId": "9b484368-f73b-4e91-8391-3ef1ad616ee2",
      "CenterZone": 5,
      "ContractId": "sample string 6",
      "CurrentContentItemId": "689c5333-f0e7-4581-bc7b-bf38d88052de",
      "EndDate": "2026-04-30T04:49:46.2399066+00:00",
      "StartDate": "2026-04-30T04:49:46.2399066+00:00",
      "SchedulePreferenceDate": "2026-04-30T04:49:46.2399066+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-04-30T04:49:46.2399066+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "ef63d606-ddda-4087-b87d-ced4834a1064",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea54ce08-1230-4a3f-9485-125447115b43",
      "Sequence": 1,
      "AncestorCategoryId": "a07a0e4e-cba5-43a8-8a28-bf8fdba7952b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "ef63d606-ddda-4087-b87d-ced4834a1064",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "ea54ce08-1230-4a3f-9485-125447115b43",
      "Sequence": 1,
      "AncestorCategoryId": "a07a0e4e-cba5-43a8-8a28-bf8fdba7952b",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "61440eeb-84a7-40aa-905d-f72be9d75779",
          "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": "7d5c9ce0-4557-4082-a6ed-4ccb59fe1b7c",
    "CategoryId": "1b18fe62-8da8-439b-80d8-61ba0fbb5a8d",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "35247c78-171d-463c-8115-516ffdd6508e",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "35247c78-171d-463c-8115-516ffdd6508e",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "3771a2cf-cdc8-4a0c-be96-9487f8242767",
      "Questions": [
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        },
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "3771a2cf-cdc8-4a0c-be96-9487f8242767",
      "Questions": [
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        },
        {
          "Id": "902f9e25-71aa-4903-bb37-93c5d612912f",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "674b9eb1-60f6-48dd-bbd5-23b252ebdbff",
      "ContentItemId": "6b9a9caa-3344-406b-b967-b12c8e234b3d",
      "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-04-30T04:49:46.2399066+00:00",
      "RescheduleDate": "2026-04-30T04:49:46.2399066+00:00"
    },
    {
      "Id": "674b9eb1-60f6-48dd-bbd5-23b252ebdbff",
      "ContentItemId": "6b9a9caa-3344-406b-b967-b12c8e234b3d",
      "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-04-30T04:49:46.2399066+00:00",
      "RescheduleDate": "2026-04-30T04:49:46.2399066+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  },
  "StudentSpeakPlusLevelInfo": "sample string 5"
}