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": "ae2fcac0-02dc-4062-91c7-163e0ae3c64c",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-25T13:59:36.988897+00:00",
"Registration": {
"Id": "32dbb7b6-1796-4690-94cb-d6f5920beb53",
"UserId": "756edfb6-7c89-46f1-9176-43acc6a30828",
"IsCurrent": true,
"CenterId": "36e9ecba-142d-49f4-944c-bf1ab0b84c6a",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2c475965-c44f-4ad5-a513-40bf0abf0a8f",
"EndDate": "2026-11-25T13:59:36.9732718+00:00",
"StartDate": "2026-11-25T13:59:36.9732718+00:00",
"SchedulePreferenceDate": "2026-11-25T13:59:36.9732718+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-25T13:59:36.9732718+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "bc74b3c6-9772-460c-872a-e4e2789169a1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d6c58467-541a-4032-9d85-c65cd5387ce4",
"Sequence": 1,
"AncestorCategoryId": "c6e4ed94-05e7-4ccf-912b-40d553c42b6d",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "bc74b3c6-9772-460c-872a-e4e2789169a1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d6c58467-541a-4032-9d85-c65cd5387ce4",
"Sequence": 1,
"AncestorCategoryId": "c6e4ed94-05e7-4ccf-912b-40d553c42b6d",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "27b37d68-bf74-4cb4-85b0-0ac1a5de47ce",
"CategoryId": "f0613df5-141c-4239-b7a0-f9da00c660a0",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "5d158bb6-2832-4970-99b0-1c552e5a7268",
"Score": 1.0,
"State": 1
},
{
"Id": "5d158bb6-2832-4970-99b0-1c552e5a7268",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "54c16951-d5cb-410f-ab94-ac981bf243a2",
"Questions": [
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
},
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
}
]
},
{
"Id": "54c16951-d5cb-410f-ab94-ac981bf243a2",
"Questions": [
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
},
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "67f3672f-be06-4c63-b991-9b5ea955bf28",
"ContentItemId": "aec9625f-13da-4c13-a2fb-d4e802bef9a0",
"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-25T13:59:36.9732718+00:00",
"RescheduleDate": "2026-11-25T13:59:36.9732718+00:00"
},
{
"Id": "67f3672f-be06-4c63-b991-9b5ea955bf28",
"ContentItemId": "aec9625f-13da-4c13-a2fb-d4e802bef9a0",
"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-25T13:59:36.9732718+00:00",
"RescheduleDate": "2026-11-25T13:59:36.9732718+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "ae2fcac0-02dc-4062-91c7-163e0ae3c64c",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-25T13:59:37.0201459+00:00",
"Registration": {
"Id": "32dbb7b6-1796-4690-94cb-d6f5920beb53",
"UserId": "756edfb6-7c89-46f1-9176-43acc6a30828",
"IsCurrent": true,
"CenterId": "36e9ecba-142d-49f4-944c-bf1ab0b84c6a",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2c475965-c44f-4ad5-a513-40bf0abf0a8f",
"EndDate": "2026-11-25T13:59:36.9732718+00:00",
"StartDate": "2026-11-25T13:59:36.9732718+00:00",
"SchedulePreferenceDate": "2026-11-25T13:59:36.9732718+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-25T13:59:36.9732718+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "bc74b3c6-9772-460c-872a-e4e2789169a1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d6c58467-541a-4032-9d85-c65cd5387ce4",
"Sequence": 1,
"AncestorCategoryId": "c6e4ed94-05e7-4ccf-912b-40d553c42b6d",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "bc74b3c6-9772-460c-872a-e4e2789169a1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d6c58467-541a-4032-9d85-c65cd5387ce4",
"Sequence": 1,
"AncestorCategoryId": "c6e4ed94-05e7-4ccf-912b-40d553c42b6d",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "2982f710-2ca3-4f83-b332-9b41e71e6ca0",
"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": "27b37d68-bf74-4cb4-85b0-0ac1a5de47ce",
"CategoryId": "f0613df5-141c-4239-b7a0-f9da00c660a0",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "5d158bb6-2832-4970-99b0-1c552e5a7268",
"Score": 1.0,
"State": 1
},
{
"Id": "5d158bb6-2832-4970-99b0-1c552e5a7268",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "54c16951-d5cb-410f-ab94-ac981bf243a2",
"Questions": [
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
},
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
}
]
},
{
"Id": "54c16951-d5cb-410f-ab94-ac981bf243a2",
"Questions": [
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
},
{
"Id": "e6d7f643-fdf9-4458-afc7-b6ff19e3ebf5",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "67f3672f-be06-4c63-b991-9b5ea955bf28",
"ContentItemId": "aec9625f-13da-4c13-a2fb-d4e802bef9a0",
"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-25T13:59:36.9732718+00:00",
"RescheduleDate": "2026-11-25T13:59:36.9732718+00:00"
},
{
"Id": "67f3672f-be06-4c63-b991-9b5ea955bf28",
"ContentItemId": "aec9625f-13da-4c13-a2fb-d4e802bef9a0",
"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-25T13:59:36.9732718+00:00",
"RescheduleDate": "2026-11-25T13:59:36.9732718+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}