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
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier |
user's identifier |
PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PearsonEnglish.LearningServices.Core.Models.Views.UserStateBackwardCompatibleViewModel| Name | Description | Type | Additional 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": "ebd22a9f-c3f3-41f5-bb39-3bd296fc0815",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-07T02:16:02.2461039+00:00",
"Registration": {
"Id": "716c1cff-f8cb-4407-b662-e804e8836592",
"UserId": "74ac67c6-e0c2-4a20-83ba-a75972af4b5b",
"IsCurrent": true,
"CenterId": "17f481e7-8b34-4b25-a6b0-b7ab3d5444a2",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "0c19bbf0-fb57-4f0f-b36e-4fa0d4097214",
"EndDate": "2026-11-07T02:16:02.2461039+00:00",
"StartDate": "2026-11-07T02:16:02.2461039+00:00",
"SchedulePreferenceDate": "2026-11-07T02:16:02.2461039+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-11-07T02:16:02.2461039+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "74b7c0b9-6624-49cd-b855-9a2f1cb1ab3e",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3715292f-953e-4d27-8d5f-8e8a8e385d05",
"Sequence": 1,
"AncestorCategoryId": "5c815e96-91a5-4f5e-816c-eaf69324d4c7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "74b7c0b9-6624-49cd-b855-9a2f1cb1ab3e",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3715292f-953e-4d27-8d5f-8e8a8e385d05",
"Sequence": 1,
"AncestorCategoryId": "5c815e96-91a5-4f5e-816c-eaf69324d4c7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "d289e93b-7057-4e0a-b6df-6500304caa7c",
"CategoryId": "a99b43bf-621a-4bee-ab9a-e17dd80ffe42",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "730b909f-c23a-4b4e-a9e6-d4c3410356f2",
"Score": 1.0,
"State": 1
},
{
"Id": "730b909f-c23a-4b4e-a9e6-d4c3410356f2",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "f9c7499d-113d-470f-863d-3319f749fb25",
"Questions": [
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
},
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
}
]
},
{
"Id": "f9c7499d-113d-470f-863d-3319f749fb25",
"Questions": [
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
},
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "9614b337-578e-4e46-8e76-ce3573f458e2",
"ContentItemId": "051f5bd8-aeb6-402d-95b0-86cdf77e6c80",
"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-11-07T02:16:02.2461039+00:00",
"RescheduleDate": "2026-11-07T02:16:02.2461039+00:00"
},
{
"Id": "9614b337-578e-4e46-8e76-ce3573f458e2",
"ContentItemId": "051f5bd8-aeb6-402d-95b0-86cdf77e6c80",
"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-11-07T02:16:02.2461039+00:00",
"RescheduleDate": "2026-11-07T02:16:02.2461039+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "ebd22a9f-c3f3-41f5-bb39-3bd296fc0815",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-07T02:16:02.277353+00:00",
"Registration": {
"Id": "716c1cff-f8cb-4407-b662-e804e8836592",
"UserId": "74ac67c6-e0c2-4a20-83ba-a75972af4b5b",
"IsCurrent": true,
"CenterId": "17f481e7-8b34-4b25-a6b0-b7ab3d5444a2",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "0c19bbf0-fb57-4f0f-b36e-4fa0d4097214",
"EndDate": "2026-11-07T02:16:02.2461039+00:00",
"StartDate": "2026-11-07T02:16:02.2461039+00:00",
"SchedulePreferenceDate": "2026-11-07T02:16:02.2461039+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-11-07T02:16:02.2461039+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "74b7c0b9-6624-49cd-b855-9a2f1cb1ab3e",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3715292f-953e-4d27-8d5f-8e8a8e385d05",
"Sequence": 1,
"AncestorCategoryId": "5c815e96-91a5-4f5e-816c-eaf69324d4c7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "74b7c0b9-6624-49cd-b855-9a2f1cb1ab3e",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3715292f-953e-4d27-8d5f-8e8a8e385d05",
"Sequence": 1,
"AncestorCategoryId": "5c815e96-91a5-4f5e-816c-eaf69324d4c7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "3eb89181-3414-40dc-a3c8-84a750394eb9",
"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": "d289e93b-7057-4e0a-b6df-6500304caa7c",
"CategoryId": "a99b43bf-621a-4bee-ab9a-e17dd80ffe42",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "730b909f-c23a-4b4e-a9e6-d4c3410356f2",
"Score": 1.0,
"State": 1
},
{
"Id": "730b909f-c23a-4b4e-a9e6-d4c3410356f2",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "f9c7499d-113d-470f-863d-3319f749fb25",
"Questions": [
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
},
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
}
]
},
{
"Id": "f9c7499d-113d-470f-863d-3319f749fb25",
"Questions": [
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
},
{
"Id": "0cafb46f-b557-426c-83ad-ffcc40a5f669",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "9614b337-578e-4e46-8e76-ce3573f458e2",
"ContentItemId": "051f5bd8-aeb6-402d-95b0-86cdf77e6c80",
"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-11-07T02:16:02.2461039+00:00",
"RescheduleDate": "2026-11-07T02:16:02.2461039+00:00"
},
{
"Id": "9614b337-578e-4e46-8e76-ce3573f458e2",
"ContentItemId": "051f5bd8-aeb6-402d-95b0-86cdf77e6c80",
"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-11-07T02:16:02.2461039+00:00",
"RescheduleDate": "2026-11-07T02:16:02.2461039+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}