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": "fb586bda-2fcb-4f49-89cc-09012767e047",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-14T14:05:43.9980623+00:00",
  "Registration": {
    "Id": "00884bfb-fb8b-44a0-9645-4db788ba0b67",
    "UserId": "e0d0f74f-7bb1-4347-b4e6-a75917cd55ab",
    "IsCurrent": true,
    "CenterId": "fff38e6b-084a-4224-a087-c418022e6897",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "9a21a410-bcc2-4c7b-97c7-ecc718ecc421",
    "EndDate": "2026-06-14T14:05:43.9980623+00:00",
    "StartDate": "2026-06-14T14:05:43.9980623+00:00",
    "SchedulePreferenceDate": "2026-06-14T14:05:43.9980623+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-06-14T14:05:43.9980623+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3c2df861-fbb8-478b-b5fa-728161b6d7bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "59061d08-cced-4eac-ba0a-6a35e49b0fde",
      "Sequence": 1,
      "AncestorCategoryId": "1d6e41c3-a554-4cac-aa52-0d705934dc58",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "3c2df861-fbb8-478b-b5fa-728161b6d7bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "59061d08-cced-4eac-ba0a-6a35e49b0fde",
      "Sequence": 1,
      "AncestorCategoryId": "1d6e41c3-a554-4cac-aa52-0d705934dc58",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "d2ec4c2c-20e9-4bab-88f6-fbd3dcf9e2f6",
    "CategoryId": "f11a287f-f786-4ea7-9710-9d337ea3de2b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "22b46908-7617-44d3-83fc-c5645feed40b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "22b46908-7617-44d3-83fc-c5645feed40b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f4b83c02-05dc-47b5-9159-1b7027ee206e",
      "Questions": [
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f4b83c02-05dc-47b5-9159-1b7027ee206e",
      "Questions": [
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d91aee21-69c4-4717-9ce1-b8f856cd6e64",
      "ContentItemId": "e7363c98-4192-41c3-bfe9-5107cb42b599",
      "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-06-14T14:05:43.9980623+00:00",
      "RescheduleDate": "2026-06-14T14:05:43.9980623+00:00"
    },
    {
      "Id": "d91aee21-69c4-4717-9ce1-b8f856cd6e64",
      "ContentItemId": "e7363c98-4192-41c3-bfe9-5107cb42b599",
      "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-06-14T14:05:43.9980623+00:00",
      "RescheduleDate": "2026-06-14T14:05:43.9980623+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}

text/json

Sample:
{
  "UserId": "fb586bda-2fcb-4f49-89cc-09012767e047",
  "IsNewUser": true,
  "UserName": "sample string 3",
  "PrivacyPolicyApprove": true,
  "ServerTime": "2026-06-14T14:05:44.0293042+00:00",
  "Registration": {
    "Id": "00884bfb-fb8b-44a0-9645-4db788ba0b67",
    "UserId": "e0d0f74f-7bb1-4347-b4e6-a75917cd55ab",
    "IsCurrent": true,
    "CenterId": "fff38e6b-084a-4224-a087-c418022e6897",
    "CenterZone": 5,
    "ContractId": "sample string 6",
    "CurrentContentItemId": "9a21a410-bcc2-4c7b-97c7-ecc718ecc421",
    "EndDate": "2026-06-14T14:05:43.9980623+00:00",
    "StartDate": "2026-06-14T14:05:43.9980623+00:00",
    "SchedulePreferenceDate": "2026-06-14T14:05:43.9980623+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-06-14T14:05:43.9980623+00:00"
  },
  "Bookmarks": {
    "sample string 1": {
      "Id": "3c2df861-fbb8-478b-b5fa-728161b6d7bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "59061d08-cced-4eac-ba0a-6a35e49b0fde",
      "Sequence": 1,
      "AncestorCategoryId": "1d6e41c3-a554-4cac-aa52-0d705934dc58",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "3c2df861-fbb8-478b-b5fa-728161b6d7bd",
      "Description": "sample string 2",
      "Duration": 1,
      "IsSkippable": true,
      "Url": "sample string 3",
      "CourseId": "59061d08-cced-4eac-ba0a-6a35e49b0fde",
      "Sequence": 1,
      "AncestorCategoryId": "1d6e41c3-a554-4cac-aa52-0d705934dc58",
      "TypeId": 5,
      "TypeName": "sample string 6",
      "Hierarchy": [
        {
          "Id": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "0ce2c731-c44b-42eb-a918-2908d403b253",
          "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": "d2ec4c2c-20e9-4bab-88f6-fbd3dcf9e2f6",
    "CategoryId": "f11a287f-f786-4ea7-9710-9d337ea3de2b",
    "DisclaimerConfirmed": true
  },
  "Lessons": [
    {
      "Id": "22b46908-7617-44d3-83fc-c5645feed40b",
      "Score": 1.0,
      "State": 1
    },
    {
      "Id": "22b46908-7617-44d3-83fc-c5645feed40b",
      "Score": 1.0,
      "State": 1
    }
  ],
  "Surveys": [
    {
      "Id": "f4b83c02-05dc-47b5-9159-1b7027ee206e",
      "Questions": [
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        }
      ]
    },
    {
      "Id": "f4b83c02-05dc-47b5-9159-1b7027ee206e",
      "Questions": [
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        },
        {
          "Id": "313ee83b-96db-436b-8c26-d161bf73d1d1",
          "Answers": "sample string 2"
        }
      ]
    }
  ],
  "Sessions": [
    {
      "Id": "d91aee21-69c4-4717-9ce1-b8f856cd6e64",
      "ContentItemId": "e7363c98-4192-41c3-bfe9-5107cb42b599",
      "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-06-14T14:05:43.9980623+00:00",
      "RescheduleDate": "2026-06-14T14:05:43.9980623+00:00"
    },
    {
      "Id": "d91aee21-69c4-4717-9ce1-b8f856cd6e64",
      "ContentItemId": "e7363c98-4192-41c3-bfe9-5107cb42b599",
      "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-06-14T14:05:43.9980623+00:00",
      "RescheduleDate": "2026-06-14T14:05:43.9980623+00:00"
    }
  ],
  "TotalRescheduleCount": 4,
  "StudentLevelInfo": {
    "StartLevel": "sample string 1",
    "EndLevel": "sample string 2",
    "CurrentLevel": "sample string 3"
  }
}