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": "5290788f-b735-4a7f-84af-1ba2087df492",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-06T18:28:06.9930398+00:00",
"Registration": {
"Id": "4d775f4e-54fb-4fb4-903c-597303d93298",
"UserId": "761933ed-3549-43a7-8d7d-927dfe352a81",
"IsCurrent": true,
"CenterId": "0990a9eb-e6a4-4514-9c2a-3df06e152a49",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "ab14063a-ea15-46f9-b639-7873a07e6a89",
"EndDate": "2026-07-06T18:28:06.9930398+00:00",
"StartDate": "2026-07-06T18:28:06.9930398+00:00",
"SchedulePreferenceDate": "2026-07-06T18:28:06.9930398+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-06T18:28:06.9930398+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "a6a8406b-5661-4d62-a69d-f877d3bf2e3c",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "570bce19-61ff-48ad-b54f-68866095ba11",
"Sequence": 1,
"AncestorCategoryId": "5dad950d-5621-460c-82ce-7b3f45135660",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "a6a8406b-5661-4d62-a69d-f877d3bf2e3c",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "570bce19-61ff-48ad-b54f-68866095ba11",
"Sequence": 1,
"AncestorCategoryId": "5dad950d-5621-460c-82ce-7b3f45135660",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "3f03b0ce-c6bf-487e-a063-e0d37aaaf065",
"CategoryId": "285b62b1-bf2f-480e-9f31-50c6c32d0bec",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "4c80be7b-830e-4215-87a0-ea7538952c8a",
"Score": 1.0,
"State": 1
},
{
"Id": "4c80be7b-830e-4215-87a0-ea7538952c8a",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "b4ba3867-bb26-493e-a131-71b7ff731d94",
"Questions": [
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
},
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
}
]
},
{
"Id": "b4ba3867-bb26-493e-a131-71b7ff731d94",
"Questions": [
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
},
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "310367ad-6e55-4ddc-9ede-7260735731a8",
"ContentItemId": "e8fbe74e-523c-4a8b-999d-68cd8e668ab0",
"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-06T18:28:06.9930398+00:00",
"RescheduleDate": "2026-07-06T18:28:06.9930398+00:00"
},
{
"Id": "310367ad-6e55-4ddc-9ede-7260735731a8",
"ContentItemId": "e8fbe74e-523c-4a8b-999d-68cd8e668ab0",
"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-06T18:28:06.9930398+00:00",
"RescheduleDate": "2026-07-06T18:28:06.9930398+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "5290788f-b735-4a7f-84af-1ba2087df492",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-06T18:28:07.0399154+00:00",
"Registration": {
"Id": "4d775f4e-54fb-4fb4-903c-597303d93298",
"UserId": "761933ed-3549-43a7-8d7d-927dfe352a81",
"IsCurrent": true,
"CenterId": "0990a9eb-e6a4-4514-9c2a-3df06e152a49",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "ab14063a-ea15-46f9-b639-7873a07e6a89",
"EndDate": "2026-07-06T18:28:06.9930398+00:00",
"StartDate": "2026-07-06T18:28:06.9930398+00:00",
"SchedulePreferenceDate": "2026-07-06T18:28:06.9930398+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-06T18:28:06.9930398+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "a6a8406b-5661-4d62-a69d-f877d3bf2e3c",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "570bce19-61ff-48ad-b54f-68866095ba11",
"Sequence": 1,
"AncestorCategoryId": "5dad950d-5621-460c-82ce-7b3f45135660",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "a6a8406b-5661-4d62-a69d-f877d3bf2e3c",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "570bce19-61ff-48ad-b54f-68866095ba11",
"Sequence": 1,
"AncestorCategoryId": "5dad950d-5621-460c-82ce-7b3f45135660",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "eef5581a-fe18-4223-8e6c-8c924d28571f",
"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": "3f03b0ce-c6bf-487e-a063-e0d37aaaf065",
"CategoryId": "285b62b1-bf2f-480e-9f31-50c6c32d0bec",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "4c80be7b-830e-4215-87a0-ea7538952c8a",
"Score": 1.0,
"State": 1
},
{
"Id": "4c80be7b-830e-4215-87a0-ea7538952c8a",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "b4ba3867-bb26-493e-a131-71b7ff731d94",
"Questions": [
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
},
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
}
]
},
{
"Id": "b4ba3867-bb26-493e-a131-71b7ff731d94",
"Questions": [
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
},
{
"Id": "c3889803-3dfc-48ff-8768-38f80695a303",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "310367ad-6e55-4ddc-9ede-7260735731a8",
"ContentItemId": "e8fbe74e-523c-4a8b-999d-68cd8e668ab0",
"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-06T18:28:06.9930398+00:00",
"RescheduleDate": "2026-07-06T18:28:06.9930398+00:00"
},
{
"Id": "310367ad-6e55-4ddc-9ede-7260735731a8",
"ContentItemId": "e8fbe74e-523c-4a8b-999d-68cd8e668ab0",
"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-06T18:28:06.9930398+00:00",
"RescheduleDate": "2026-07-06T18:28:06.9930398+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}