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": "4f0e2a81-e7ef-4ecd-979f-2fb9b2957a62",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-02T23:53:00.7445443+00:00",
"Registration": {
"Id": "404d390f-0b90-4be5-833f-5cd2bf747475",
"UserId": "fe549139-2d20-4417-a1e3-5340fa8da8a0",
"IsCurrent": true,
"CenterId": "ac7c52a5-2840-43ef-90ed-b380251b44da",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "3f9c16f1-6d48-4ec7-b5a4-95d7ea3b7e9d",
"EndDate": "2026-11-02T23:53:00.7289171+00:00",
"StartDate": "2026-11-02T23:53:00.7289171+00:00",
"SchedulePreferenceDate": "2026-11-02T23:53:00.7289171+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-02T23:53:00.7289171+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "0737bbad-2be6-489e-b566-7abc65fab1d4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cdc1176b-ba71-4ce7-8e7c-3405bc75dd9a",
"Sequence": 1,
"AncestorCategoryId": "e0c6418c-29f9-42ed-9849-0a143e02d126",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "0737bbad-2be6-489e-b566-7abc65fab1d4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cdc1176b-ba71-4ce7-8e7c-3405bc75dd9a",
"Sequence": 1,
"AncestorCategoryId": "e0c6418c-29f9-42ed-9849-0a143e02d126",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "5c910710-ff44-4aa5-a7b8-645702244e88",
"CategoryId": "52fbd324-5349-419f-8b53-7b25b0925a4b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "3c7ac8e0-0ca8-4cb4-86ff-6ccc93bb6042",
"Score": 1.0,
"State": 1
},
{
"Id": "3c7ac8e0-0ca8-4cb4-86ff-6ccc93bb6042",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "72743133-cb01-42d5-ac8a-85f04e9c613c",
"Questions": [
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
},
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
}
]
},
{
"Id": "72743133-cb01-42d5-ac8a-85f04e9c613c",
"Questions": [
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
},
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "4e80279f-2f35-49b7-8003-94c8db4af131",
"ContentItemId": "26dfa960-1974-40d8-97d1-537c466800a6",
"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-02T23:53:00.7289171+00:00",
"RescheduleDate": "2026-11-02T23:53:00.7289171+00:00"
},
{
"Id": "4e80279f-2f35-49b7-8003-94c8db4af131",
"ContentItemId": "26dfa960-1974-40d8-97d1-537c466800a6",
"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-02T23:53:00.7289171+00:00",
"RescheduleDate": "2026-11-02T23:53:00.7289171+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "4f0e2a81-e7ef-4ecd-979f-2fb9b2957a62",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-02T23:53:00.7601831+00:00",
"Registration": {
"Id": "404d390f-0b90-4be5-833f-5cd2bf747475",
"UserId": "fe549139-2d20-4417-a1e3-5340fa8da8a0",
"IsCurrent": true,
"CenterId": "ac7c52a5-2840-43ef-90ed-b380251b44da",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "3f9c16f1-6d48-4ec7-b5a4-95d7ea3b7e9d",
"EndDate": "2026-11-02T23:53:00.7289171+00:00",
"StartDate": "2026-11-02T23:53:00.7289171+00:00",
"SchedulePreferenceDate": "2026-11-02T23:53:00.7289171+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-02T23:53:00.7289171+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "0737bbad-2be6-489e-b566-7abc65fab1d4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cdc1176b-ba71-4ce7-8e7c-3405bc75dd9a",
"Sequence": 1,
"AncestorCategoryId": "e0c6418c-29f9-42ed-9849-0a143e02d126",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "0737bbad-2be6-489e-b566-7abc65fab1d4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cdc1176b-ba71-4ce7-8e7c-3405bc75dd9a",
"Sequence": 1,
"AncestorCategoryId": "e0c6418c-29f9-42ed-9849-0a143e02d126",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "dae55afb-b905-4d0e-812b-d1b14749d191",
"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": "5c910710-ff44-4aa5-a7b8-645702244e88",
"CategoryId": "52fbd324-5349-419f-8b53-7b25b0925a4b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "3c7ac8e0-0ca8-4cb4-86ff-6ccc93bb6042",
"Score": 1.0,
"State": 1
},
{
"Id": "3c7ac8e0-0ca8-4cb4-86ff-6ccc93bb6042",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "72743133-cb01-42d5-ac8a-85f04e9c613c",
"Questions": [
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
},
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
}
]
},
{
"Id": "72743133-cb01-42d5-ac8a-85f04e9c613c",
"Questions": [
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
},
{
"Id": "139b4044-b619-4687-a38d-f0f9c2b0eee6",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "4e80279f-2f35-49b7-8003-94c8db4af131",
"ContentItemId": "26dfa960-1974-40d8-97d1-537c466800a6",
"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-02T23:53:00.7289171+00:00",
"RescheduleDate": "2026-11-02T23:53:00.7289171+00:00"
},
{
"Id": "4e80279f-2f35-49b7-8003-94c8db4af131",
"ContentItemId": "26dfa960-1974-40d8-97d1-537c466800a6",
"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-02T23:53:00.7289171+00:00",
"RescheduleDate": "2026-11-02T23:53:00.7289171+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}