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": "4fb327f2-0afe-436e-a4d5-9002d524f106",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-24T02:37:03.0446708+00:00",
"Registration": {
"Id": "1e212973-91b9-4164-ac9c-f8e1a934ef27",
"UserId": "77de0161-962e-4336-b761-efd5bf0f4051",
"IsCurrent": true,
"CenterId": "e396bb43-e48a-42e5-a15a-f4cb5d3ad193",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "8c392dd8-ed7c-4ba3-af4f-c32dbcf3c479",
"EndDate": "2026-11-24T02:37:03.0446708+00:00",
"StartDate": "2026-11-24T02:37:03.0446708+00:00",
"SchedulePreferenceDate": "2026-11-24T02:37:03.0446708+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-24T02:37:03.0446708+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "f3221721-4b1f-45a9-959b-0f799aa21956",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef05fc4-7ae4-4f82-8cb9-5e4a2eeebdac",
"Sequence": 1,
"AncestorCategoryId": "b0e99c66-dcfa-43f0-93c7-8e0dc1eb0ea1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "f3221721-4b1f-45a9-959b-0f799aa21956",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef05fc4-7ae4-4f82-8cb9-5e4a2eeebdac",
"Sequence": 1,
"AncestorCategoryId": "b0e99c66-dcfa-43f0-93c7-8e0dc1eb0ea1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "9e1868ea-6928-4fe5-9778-2006de43ad2f",
"CategoryId": "7f2ab002-6de0-41cb-8947-1d76fbef326b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "5a375dfb-be71-4d06-a930-6e611dea8026",
"Score": 1.0,
"State": 1
},
{
"Id": "5a375dfb-be71-4d06-a930-6e611dea8026",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "9366ab65-d4e8-48e8-8225-0b1a65b9c0f4",
"Questions": [
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
},
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
}
]
},
{
"Id": "9366ab65-d4e8-48e8-8225-0b1a65b9c0f4",
"Questions": [
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
},
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "3eb9b142-6cde-4ddc-b962-159dcff0834e",
"ContentItemId": "ffcb1087-7ca1-4535-9b7b-e89184ff0c6a",
"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-24T02:37:03.0446708+00:00",
"RescheduleDate": "2026-11-24T02:37:03.0446708+00:00"
},
{
"Id": "3eb9b142-6cde-4ddc-b962-159dcff0834e",
"ContentItemId": "ffcb1087-7ca1-4535-9b7b-e89184ff0c6a",
"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-24T02:37:03.0446708+00:00",
"RescheduleDate": "2026-11-24T02:37:03.0446708+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "4fb327f2-0afe-436e-a4d5-9002d524f106",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-24T02:37:03.0759115+00:00",
"Registration": {
"Id": "1e212973-91b9-4164-ac9c-f8e1a934ef27",
"UserId": "77de0161-962e-4336-b761-efd5bf0f4051",
"IsCurrent": true,
"CenterId": "e396bb43-e48a-42e5-a15a-f4cb5d3ad193",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "8c392dd8-ed7c-4ba3-af4f-c32dbcf3c479",
"EndDate": "2026-11-24T02:37:03.0446708+00:00",
"StartDate": "2026-11-24T02:37:03.0446708+00:00",
"SchedulePreferenceDate": "2026-11-24T02:37:03.0446708+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-24T02:37:03.0446708+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "f3221721-4b1f-45a9-959b-0f799aa21956",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef05fc4-7ae4-4f82-8cb9-5e4a2eeebdac",
"Sequence": 1,
"AncestorCategoryId": "b0e99c66-dcfa-43f0-93c7-8e0dc1eb0ea1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "f3221721-4b1f-45a9-959b-0f799aa21956",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef05fc4-7ae4-4f82-8cb9-5e4a2eeebdac",
"Sequence": 1,
"AncestorCategoryId": "b0e99c66-dcfa-43f0-93c7-8e0dc1eb0ea1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "9f043ac1-d24d-448c-a673-068a1582bb36",
"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": "9e1868ea-6928-4fe5-9778-2006de43ad2f",
"CategoryId": "7f2ab002-6de0-41cb-8947-1d76fbef326b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "5a375dfb-be71-4d06-a930-6e611dea8026",
"Score": 1.0,
"State": 1
},
{
"Id": "5a375dfb-be71-4d06-a930-6e611dea8026",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "9366ab65-d4e8-48e8-8225-0b1a65b9c0f4",
"Questions": [
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
},
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
}
]
},
{
"Id": "9366ab65-d4e8-48e8-8225-0b1a65b9c0f4",
"Questions": [
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
},
{
"Id": "eff5133d-ffa1-49dd-b2cf-7d5719a56cc2",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "3eb9b142-6cde-4ddc-b962-159dcff0834e",
"ContentItemId": "ffcb1087-7ca1-4535-9b7b-e89184ff0c6a",
"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-24T02:37:03.0446708+00:00",
"RescheduleDate": "2026-11-24T02:37:03.0446708+00:00"
},
{
"Id": "3eb9b142-6cde-4ddc-b962-159dcff0834e",
"ContentItemId": "ffcb1087-7ca1-4535-9b7b-e89184ff0c6a",
"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-24T02:37:03.0446708+00:00",
"RescheduleDate": "2026-11-24T02:37:03.0446708+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}