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": "1ff86480-0078-4a38-b1db-df3eaaf1f248",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-10T19:39:17.6649434+00:00",
"Registration": {
"Id": "e81bbe98-d4db-4978-aca7-0eeffdc5c2db",
"UserId": "90d5073e-13f9-4059-b48a-a3de16cfb3e6",
"IsCurrent": true,
"CenterId": "6e455718-efb1-4328-aad3-a1a5f31c4493",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "00dbe5c8-d30b-44e6-8a47-039606b82f15",
"EndDate": "2026-11-10T19:39:17.6493194+00:00",
"StartDate": "2026-11-10T19:39:17.6493194+00:00",
"SchedulePreferenceDate": "2026-11-10T19:39:17.6493194+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-10T19:39:17.6493194+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "4a984e95-f409-4bfb-9d46-df116a0162e0",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "6fa3d87a-29e4-447d-a749-24aa9da8f70f",
"Sequence": 1,
"AncestorCategoryId": "372b4c02-a848-4f45-8a3c-38d868f739da",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "4a984e95-f409-4bfb-9d46-df116a0162e0",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "6fa3d87a-29e4-447d-a749-24aa9da8f70f",
"Sequence": 1,
"AncestorCategoryId": "372b4c02-a848-4f45-8a3c-38d868f739da",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "414f6cdf-b57d-424f-9e63-0be750c07a6c",
"CategoryId": "cffe1379-999b-4fbb-b027-b12f8a488cd8",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "5f3dd979-64e0-4e80-afa0-2357a4318b9c",
"Score": 1.0,
"State": 1
},
{
"Id": "5f3dd979-64e0-4e80-afa0-2357a4318b9c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "4234d344-9d49-4bad-92b7-90443e76510f",
"Questions": [
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
},
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
}
]
},
{
"Id": "4234d344-9d49-4bad-92b7-90443e76510f",
"Questions": [
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
},
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f6fa423e-4a52-4270-9e53-2532198cf598",
"ContentItemId": "e8bd89bd-b719-46a9-b296-95b6ff26d6d6",
"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-10T19:39:17.6493194+00:00",
"RescheduleDate": "2026-11-10T19:39:17.6493194+00:00"
},
{
"Id": "f6fa423e-4a52-4270-9e53-2532198cf598",
"ContentItemId": "e8bd89bd-b719-46a9-b296-95b6ff26d6d6",
"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-10T19:39:17.6493194+00:00",
"RescheduleDate": "2026-11-10T19:39:17.6493194+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "1ff86480-0078-4a38-b1db-df3eaaf1f248",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-10T19:39:17.6961931+00:00",
"Registration": {
"Id": "e81bbe98-d4db-4978-aca7-0eeffdc5c2db",
"UserId": "90d5073e-13f9-4059-b48a-a3de16cfb3e6",
"IsCurrent": true,
"CenterId": "6e455718-efb1-4328-aad3-a1a5f31c4493",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "00dbe5c8-d30b-44e6-8a47-039606b82f15",
"EndDate": "2026-11-10T19:39:17.6493194+00:00",
"StartDate": "2026-11-10T19:39:17.6493194+00:00",
"SchedulePreferenceDate": "2026-11-10T19:39:17.6493194+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-10T19:39:17.6493194+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "4a984e95-f409-4bfb-9d46-df116a0162e0",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "6fa3d87a-29e4-447d-a749-24aa9da8f70f",
"Sequence": 1,
"AncestorCategoryId": "372b4c02-a848-4f45-8a3c-38d868f739da",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "4a984e95-f409-4bfb-9d46-df116a0162e0",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "6fa3d87a-29e4-447d-a749-24aa9da8f70f",
"Sequence": 1,
"AncestorCategoryId": "372b4c02-a848-4f45-8a3c-38d868f739da",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "81361559-445f-444d-8e69-fe6c604d0e71",
"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": "414f6cdf-b57d-424f-9e63-0be750c07a6c",
"CategoryId": "cffe1379-999b-4fbb-b027-b12f8a488cd8",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "5f3dd979-64e0-4e80-afa0-2357a4318b9c",
"Score": 1.0,
"State": 1
},
{
"Id": "5f3dd979-64e0-4e80-afa0-2357a4318b9c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "4234d344-9d49-4bad-92b7-90443e76510f",
"Questions": [
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
},
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
}
]
},
{
"Id": "4234d344-9d49-4bad-92b7-90443e76510f",
"Questions": [
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
},
{
"Id": "3313d4fa-cea6-40cb-9d6c-9ec7588ecc62",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f6fa423e-4a52-4270-9e53-2532198cf598",
"ContentItemId": "e8bd89bd-b719-46a9-b296-95b6ff26d6d6",
"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-10T19:39:17.6493194+00:00",
"RescheduleDate": "2026-11-10T19:39:17.6493194+00:00"
},
{
"Id": "f6fa423e-4a52-4270-9e53-2532198cf598",
"ContentItemId": "e8bd89bd-b719-46a9-b296-95b6ff26d6d6",
"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-10T19:39:17.6493194+00:00",
"RescheduleDate": "2026-11-10T19:39:17.6493194+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}