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": "3668ec95-5179-4de8-ab92-ccd91d8af089",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-01-05T03:11:27.7462712+00:00",
"Registration": {
"Id": "e9437fac-92e7-4a74-ac3f-1ac25084710e",
"UserId": "dbd24cb7-c2d6-4392-b747-6446ffe9ba08",
"IsCurrent": true,
"CenterId": "13086a8f-b762-4c4a-842b-42f50240b5ea",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "0f4008b3-ca04-4b91-a79d-11c1ddf2d92c",
"EndDate": "2026-01-05T03:11:27.7462712+00:00",
"StartDate": "2026-01-05T03:11:27.7462712+00:00",
"SchedulePreferenceDate": "2026-01-05T03:11:27.7462712+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-01-05T03:11:27.7462712+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "e50a0a90-9742-431a-92ca-416e069d8ad2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "97281236-9d81-450a-b9df-b641dc7e09c1",
"Sequence": 1,
"AncestorCategoryId": "95f919a9-0832-403e-9c87-4d7be7e90c25",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "e50a0a90-9742-431a-92ca-416e069d8ad2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "97281236-9d81-450a-b9df-b641dc7e09c1",
"Sequence": 1,
"AncestorCategoryId": "95f919a9-0832-403e-9c87-4d7be7e90c25",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "eb51a72f-5beb-486a-ad0b-886814d68535",
"CategoryId": "ef6166f2-8ee3-4ef7-b1ee-288fad782b38",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "31c6cd69-162d-40b2-b81c-03f56cbda9b7",
"Score": 1.0,
"State": 1
},
{
"Id": "31c6cd69-162d-40b2-b81c-03f56cbda9b7",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "e0c2b860-cec7-4db9-b8fa-a840acb8a071",
"Questions": [
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
},
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
}
]
},
{
"Id": "e0c2b860-cec7-4db9-b8fa-a840acb8a071",
"Questions": [
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
},
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "4ff8cc2e-b06b-429b-a5a4-8941eb59615b",
"ContentItemId": "c384b7ad-c162-45cd-863d-a638466931ed",
"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-01-05T03:11:27.7462712+00:00",
"RescheduleDate": "2026-01-05T03:11:27.7462712+00:00"
},
{
"Id": "4ff8cc2e-b06b-429b-a5a4-8941eb59615b",
"ContentItemId": "c384b7ad-c162-45cd-863d-a638466931ed",
"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-01-05T03:11:27.7462712+00:00",
"RescheduleDate": "2026-01-05T03:11:27.7462712+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "3668ec95-5179-4de8-ab92-ccd91d8af089",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-01-05T03:11:27.7931498+00:00",
"Registration": {
"Id": "e9437fac-92e7-4a74-ac3f-1ac25084710e",
"UserId": "dbd24cb7-c2d6-4392-b747-6446ffe9ba08",
"IsCurrent": true,
"CenterId": "13086a8f-b762-4c4a-842b-42f50240b5ea",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "0f4008b3-ca04-4b91-a79d-11c1ddf2d92c",
"EndDate": "2026-01-05T03:11:27.7462712+00:00",
"StartDate": "2026-01-05T03:11:27.7462712+00:00",
"SchedulePreferenceDate": "2026-01-05T03:11:27.7462712+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-01-05T03:11:27.7462712+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "e50a0a90-9742-431a-92ca-416e069d8ad2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "97281236-9d81-450a-b9df-b641dc7e09c1",
"Sequence": 1,
"AncestorCategoryId": "95f919a9-0832-403e-9c87-4d7be7e90c25",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "e50a0a90-9742-431a-92ca-416e069d8ad2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "97281236-9d81-450a-b9df-b641dc7e09c1",
"Sequence": 1,
"AncestorCategoryId": "95f919a9-0832-403e-9c87-4d7be7e90c25",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "cce3231b-388c-40d1-88c9-98d6e52199db",
"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": "eb51a72f-5beb-486a-ad0b-886814d68535",
"CategoryId": "ef6166f2-8ee3-4ef7-b1ee-288fad782b38",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "31c6cd69-162d-40b2-b81c-03f56cbda9b7",
"Score": 1.0,
"State": 1
},
{
"Id": "31c6cd69-162d-40b2-b81c-03f56cbda9b7",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "e0c2b860-cec7-4db9-b8fa-a840acb8a071",
"Questions": [
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
},
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
}
]
},
{
"Id": "e0c2b860-cec7-4db9-b8fa-a840acb8a071",
"Questions": [
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
},
{
"Id": "ffbeb50b-ad2b-4a35-bf44-5023fb8e539c",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "4ff8cc2e-b06b-429b-a5a4-8941eb59615b",
"ContentItemId": "c384b7ad-c162-45cd-863d-a638466931ed",
"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-01-05T03:11:27.7462712+00:00",
"RescheduleDate": "2026-01-05T03:11:27.7462712+00:00"
},
{
"Id": "4ff8cc2e-b06b-429b-a5a4-8941eb59615b",
"ContentItemId": "c384b7ad-c162-45cd-863d-a638466931ed",
"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-01-05T03:11:27.7462712+00:00",
"RescheduleDate": "2026-01-05T03:11:27.7462712+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}