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": "736c6a21-4b5f-4a54-8c17-4500f32d3e66",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-03T14:04:38.319466+00:00",
"Registration": {
"Id": "d7cc983c-007e-475f-a787-5ceb66c61efe",
"UserId": "4bbe6e9b-5ab0-4ef7-8826-da1260f66a4a",
"IsCurrent": true,
"CenterId": "0009b717-4f90-49c1-80f4-1e71e265bd58",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "b5b94e30-02a9-48e1-922e-ce1640fa7696",
"EndDate": "2026-11-03T14:04:38.319466+00:00",
"StartDate": "2026-11-03T14:04:38.319466+00:00",
"SchedulePreferenceDate": "2026-11-03T14:04:38.319466+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-03T14:04:38.319466+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "385317b9-6024-4205-848d-22dcdec5d2c9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b009de60-20cf-497f-a6f0-96c08593a83c",
"Sequence": 1,
"AncestorCategoryId": "d6cee4f3-b762-4a1f-8d38-42193d190f1c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "385317b9-6024-4205-848d-22dcdec5d2c9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b009de60-20cf-497f-a6f0-96c08593a83c",
"Sequence": 1,
"AncestorCategoryId": "d6cee4f3-b762-4a1f-8d38-42193d190f1c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "05480aca-ef5f-4973-92a2-3885fbb33e95",
"CategoryId": "96f2fd9e-ea0d-4bab-8ecf-146edf6a6a4b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "d98c0fdc-fdaa-428f-99f2-0145287e510b",
"Score": 1.0,
"State": 1
},
{
"Id": "d98c0fdc-fdaa-428f-99f2-0145287e510b",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "c2399acf-b373-4060-9c2d-f0f636a23030",
"Questions": [
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
},
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
}
]
},
{
"Id": "c2399acf-b373-4060-9c2d-f0f636a23030",
"Questions": [
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
},
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a90ac73f-fec9-4918-8790-5a19f7f4c47a",
"ContentItemId": "3018d9de-0a16-4358-a48d-90eb5c148b7a",
"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-03T14:04:38.319466+00:00",
"RescheduleDate": "2026-11-03T14:04:38.319466+00:00"
},
{
"Id": "a90ac73f-fec9-4918-8790-5a19f7f4c47a",
"ContentItemId": "3018d9de-0a16-4358-a48d-90eb5c148b7a",
"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-03T14:04:38.319466+00:00",
"RescheduleDate": "2026-11-03T14:04:38.319466+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "736c6a21-4b5f-4a54-8c17-4500f32d3e66",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-03T14:04:38.3663414+00:00",
"Registration": {
"Id": "d7cc983c-007e-475f-a787-5ceb66c61efe",
"UserId": "4bbe6e9b-5ab0-4ef7-8826-da1260f66a4a",
"IsCurrent": true,
"CenterId": "0009b717-4f90-49c1-80f4-1e71e265bd58",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "b5b94e30-02a9-48e1-922e-ce1640fa7696",
"EndDate": "2026-11-03T14:04:38.319466+00:00",
"StartDate": "2026-11-03T14:04:38.319466+00:00",
"SchedulePreferenceDate": "2026-11-03T14:04:38.319466+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-03T14:04:38.319466+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "385317b9-6024-4205-848d-22dcdec5d2c9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b009de60-20cf-497f-a6f0-96c08593a83c",
"Sequence": 1,
"AncestorCategoryId": "d6cee4f3-b762-4a1f-8d38-42193d190f1c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "385317b9-6024-4205-848d-22dcdec5d2c9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b009de60-20cf-497f-a6f0-96c08593a83c",
"Sequence": 1,
"AncestorCategoryId": "d6cee4f3-b762-4a1f-8d38-42193d190f1c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "90365a25-55e8-4dbb-9c58-d07ad6cbda79",
"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": "05480aca-ef5f-4973-92a2-3885fbb33e95",
"CategoryId": "96f2fd9e-ea0d-4bab-8ecf-146edf6a6a4b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "d98c0fdc-fdaa-428f-99f2-0145287e510b",
"Score": 1.0,
"State": 1
},
{
"Id": "d98c0fdc-fdaa-428f-99f2-0145287e510b",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "c2399acf-b373-4060-9c2d-f0f636a23030",
"Questions": [
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
},
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
}
]
},
{
"Id": "c2399acf-b373-4060-9c2d-f0f636a23030",
"Questions": [
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
},
{
"Id": "844478f7-029b-4bef-b3ab-fb17f22d4338",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a90ac73f-fec9-4918-8790-5a19f7f4c47a",
"ContentItemId": "3018d9de-0a16-4358-a48d-90eb5c148b7a",
"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-03T14:04:38.319466+00:00",
"RescheduleDate": "2026-11-03T14:04:38.319466+00:00"
},
{
"Id": "a90ac73f-fec9-4918-8790-5a19f7f4c47a",
"ContentItemId": "3018d9de-0a16-4358-a48d-90eb5c148b7a",
"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-03T14:04:38.319466+00:00",
"RescheduleDate": "2026-11-03T14:04:38.319466+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}