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": "4adf9c65-c332-4965-9dad-5d6890b80a04",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-10T23:50:36.1747664+00:00",
"Registration": {
"Id": "e1a323dc-ca92-497f-b32a-dee69e690b67",
"UserId": "42cb0732-fb3f-4ffd-86ad-279f7a0d17fa",
"IsCurrent": true,
"CenterId": "67c2d970-f5af-412c-ba66-dd804ef2bcef",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "385960bd-e9fd-4101-91db-7c9bafa7c07f",
"EndDate": "2025-12-10T23:50:36.1747664+00:00",
"StartDate": "2025-12-10T23:50:36.1747664+00:00",
"SchedulePreferenceDate": "2025-12-10T23:50:36.1747664+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": "2025-12-10T23:50:36.1747664+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "08dfe4c6-9877-491a-9f44-eca4a7b067cc",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "51a861e5-3827-4e85-975c-1ee40c2e94c6",
"Sequence": 1,
"AncestorCategoryId": "04053dab-41a3-42b0-b9cf-fd7678f378b9",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "08dfe4c6-9877-491a-9f44-eca4a7b067cc",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "51a861e5-3827-4e85-975c-1ee40c2e94c6",
"Sequence": 1,
"AncestorCategoryId": "04053dab-41a3-42b0-b9cf-fd7678f378b9",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "7a2b0b02-0a13-4002-8eb7-a33d9adbb3ba",
"CategoryId": "b5f26d45-8b47-439a-8468-15be3b813214",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "c480f7b1-e135-4ed3-b9e6-04248bd13eb3",
"Score": 1.0,
"State": 1
},
{
"Id": "c480f7b1-e135-4ed3-b9e6-04248bd13eb3",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "95e1c22c-199c-4f97-8833-7bffc0224455",
"Questions": [
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
},
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
}
]
},
{
"Id": "95e1c22c-199c-4f97-8833-7bffc0224455",
"Questions": [
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
},
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "032edb03-4d2b-4984-8281-5b7d3e1947e9",
"ContentItemId": "6ab24a9b-4393-442c-bd2a-cb3daaa3448b",
"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": "2025-12-10T23:50:36.1747664+00:00",
"RescheduleDate": "2025-12-10T23:50:36.1747664+00:00"
},
{
"Id": "032edb03-4d2b-4984-8281-5b7d3e1947e9",
"ContentItemId": "6ab24a9b-4393-442c-bd2a-cb3daaa3448b",
"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": "2025-12-10T23:50:36.1747664+00:00",
"RescheduleDate": "2025-12-10T23:50:36.1747664+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "4adf9c65-c332-4965-9dad-5d6890b80a04",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-10T23:50:36.2216416+00:00",
"Registration": {
"Id": "e1a323dc-ca92-497f-b32a-dee69e690b67",
"UserId": "42cb0732-fb3f-4ffd-86ad-279f7a0d17fa",
"IsCurrent": true,
"CenterId": "67c2d970-f5af-412c-ba66-dd804ef2bcef",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "385960bd-e9fd-4101-91db-7c9bafa7c07f",
"EndDate": "2025-12-10T23:50:36.1747664+00:00",
"StartDate": "2025-12-10T23:50:36.1747664+00:00",
"SchedulePreferenceDate": "2025-12-10T23:50:36.1747664+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": "2025-12-10T23:50:36.1747664+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "08dfe4c6-9877-491a-9f44-eca4a7b067cc",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "51a861e5-3827-4e85-975c-1ee40c2e94c6",
"Sequence": 1,
"AncestorCategoryId": "04053dab-41a3-42b0-b9cf-fd7678f378b9",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "08dfe4c6-9877-491a-9f44-eca4a7b067cc",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "51a861e5-3827-4e85-975c-1ee40c2e94c6",
"Sequence": 1,
"AncestorCategoryId": "04053dab-41a3-42b0-b9cf-fd7678f378b9",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "36932831-e27a-40e5-9684-86caf6656c1a",
"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": "7a2b0b02-0a13-4002-8eb7-a33d9adbb3ba",
"CategoryId": "b5f26d45-8b47-439a-8468-15be3b813214",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "c480f7b1-e135-4ed3-b9e6-04248bd13eb3",
"Score": 1.0,
"State": 1
},
{
"Id": "c480f7b1-e135-4ed3-b9e6-04248bd13eb3",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "95e1c22c-199c-4f97-8833-7bffc0224455",
"Questions": [
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
},
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
}
]
},
{
"Id": "95e1c22c-199c-4f97-8833-7bffc0224455",
"Questions": [
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
},
{
"Id": "75d78d5a-8a50-4251-825a-30864d8a75c2",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "032edb03-4d2b-4984-8281-5b7d3e1947e9",
"ContentItemId": "6ab24a9b-4393-442c-bd2a-cb3daaa3448b",
"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": "2025-12-10T23:50:36.1747664+00:00",
"RescheduleDate": "2025-12-10T23:50:36.1747664+00:00"
},
{
"Id": "032edb03-4d2b-4984-8281-5b7d3e1947e9",
"ContentItemId": "6ab24a9b-4393-442c-bd2a-cb3daaa3448b",
"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": "2025-12-10T23:50:36.1747664+00:00",
"RescheduleDate": "2025-12-10T23:50:36.1747664+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}