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": "67d6e919-8dd9-4f3a-b145-eb1b28d0ecf4",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-30T15:39:06.7856845+00:00",
"Registration": {
"Id": "83d2aad3-5cb0-4b88-9c47-6454009ac16f",
"UserId": "53523713-83ec-4d59-801c-2798d12a7af5",
"IsCurrent": true,
"CenterId": "0b01800b-c2b3-4249-836d-86a79a21a125",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "13ecfb90-e8cb-4d06-829a-1e779dae36b9",
"EndDate": "2026-07-30T15:39:06.7700515+00:00",
"StartDate": "2026-07-30T15:39:06.7700515+00:00",
"SchedulePreferenceDate": "2026-07-30T15:39:06.7700515+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-07-30T15:39:06.7700515+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7e4214f4-aa27-4060-adc7-4c9bc2f982d7",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7966c3dd-b1c4-491e-9b8f-f1b2990f3bd7",
"Sequence": 1,
"AncestorCategoryId": "95e62fad-98e8-42ea-8dfc-22e0c332a363",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "7e4214f4-aa27-4060-adc7-4c9bc2f982d7",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7966c3dd-b1c4-491e-9b8f-f1b2990f3bd7",
"Sequence": 1,
"AncestorCategoryId": "95e62fad-98e8-42ea-8dfc-22e0c332a363",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "d9f2ac6d-a5b0-4a23-8fee-44868db3f5ec",
"CategoryId": "01ac9ceb-f654-4aee-9d88-a8c02f744af7",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "ed85cc90-fe46-4490-a3bd-1d4f8d797fd1",
"Score": 1.0,
"State": 1
},
{
"Id": "ed85cc90-fe46-4490-a3bd-1d4f8d797fd1",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "d457e6d0-cfdb-455c-9acc-c8916ec00387",
"Questions": [
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
},
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
}
]
},
{
"Id": "d457e6d0-cfdb-455c-9acc-c8916ec00387",
"Questions": [
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
},
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "5fe03090-0e99-43b5-89ce-de03385b579d",
"ContentItemId": "101452eb-da1b-491d-9779-fddaa79b181f",
"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-07-30T15:39:06.7700515+00:00",
"RescheduleDate": "2026-07-30T15:39:06.7700515+00:00"
},
{
"Id": "5fe03090-0e99-43b5-89ce-de03385b579d",
"ContentItemId": "101452eb-da1b-491d-9779-fddaa79b181f",
"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-07-30T15:39:06.7700515+00:00",
"RescheduleDate": "2026-07-30T15:39:06.7700515+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "67d6e919-8dd9-4f3a-b145-eb1b28d0ecf4",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-30T15:39:06.8169274+00:00",
"Registration": {
"Id": "83d2aad3-5cb0-4b88-9c47-6454009ac16f",
"UserId": "53523713-83ec-4d59-801c-2798d12a7af5",
"IsCurrent": true,
"CenterId": "0b01800b-c2b3-4249-836d-86a79a21a125",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "13ecfb90-e8cb-4d06-829a-1e779dae36b9",
"EndDate": "2026-07-30T15:39:06.7700515+00:00",
"StartDate": "2026-07-30T15:39:06.7700515+00:00",
"SchedulePreferenceDate": "2026-07-30T15:39:06.7700515+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-07-30T15:39:06.7700515+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7e4214f4-aa27-4060-adc7-4c9bc2f982d7",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7966c3dd-b1c4-491e-9b8f-f1b2990f3bd7",
"Sequence": 1,
"AncestorCategoryId": "95e62fad-98e8-42ea-8dfc-22e0c332a363",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "7e4214f4-aa27-4060-adc7-4c9bc2f982d7",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7966c3dd-b1c4-491e-9b8f-f1b2990f3bd7",
"Sequence": 1,
"AncestorCategoryId": "95e62fad-98e8-42ea-8dfc-22e0c332a363",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "d870162c-8ce5-4205-8a54-f893bfa369a0",
"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": "d9f2ac6d-a5b0-4a23-8fee-44868db3f5ec",
"CategoryId": "01ac9ceb-f654-4aee-9d88-a8c02f744af7",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "ed85cc90-fe46-4490-a3bd-1d4f8d797fd1",
"Score": 1.0,
"State": 1
},
{
"Id": "ed85cc90-fe46-4490-a3bd-1d4f8d797fd1",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "d457e6d0-cfdb-455c-9acc-c8916ec00387",
"Questions": [
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
},
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
}
]
},
{
"Id": "d457e6d0-cfdb-455c-9acc-c8916ec00387",
"Questions": [
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
},
{
"Id": "c2ce1be6-96b9-4a09-abc9-83b61a605eab",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "5fe03090-0e99-43b5-89ce-de03385b579d",
"ContentItemId": "101452eb-da1b-491d-9779-fddaa79b181f",
"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-07-30T15:39:06.7700515+00:00",
"RescheduleDate": "2026-07-30T15:39:06.7700515+00:00"
},
{
"Id": "5fe03090-0e99-43b5-89ce-de03385b579d",
"ContentItemId": "101452eb-da1b-491d-9779-fddaa79b181f",
"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-07-30T15:39:06.7700515+00:00",
"RescheduleDate": "2026-07-30T15:39:06.7700515+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}