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": "c4cd0cfd-f047-46a9-b70d-42cf2cd27cef",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-11-09T07:34:32.6409856+00:00",
"Registration": {
"Id": "e3aa48c1-51aa-48bf-9599-d624278cb84b",
"UserId": "c28e74dd-31fc-4c49-8bbe-24fd8267858f",
"IsCurrent": true,
"CenterId": "d8c93e74-a0bb-4b93-b3e8-a3f524b7b9b4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "dbc6bf6d-2ddf-4262-b8eb-547c7dc2a183",
"EndDate": "2025-11-09T07:34:32.6110778+00:00",
"StartDate": "2025-11-09T07:34:32.6110778+00:00",
"SchedulePreferenceDate": "2025-11-09T07:34:32.6110778+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-11-09T07:34:32.6110778+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "e452b71c-0921-4fb5-ad18-fba3799724c3",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9b36328a-b5a2-44bb-876a-f016960567c1",
"Sequence": 1,
"AncestorCategoryId": "76a9725f-eac4-4065-937f-5d11f686a897",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "e452b71c-0921-4fb5-ad18-fba3799724c3",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9b36328a-b5a2-44bb-876a-f016960567c1",
"Sequence": 1,
"AncestorCategoryId": "76a9725f-eac4-4065-937f-5d11f686a897",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "43abbc14-f890-43b3-a73d-09e0ee140cf8",
"CategoryId": "df4c7797-edbf-4fa8-a33c-33fce07442b7",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "8b0c9b19-dd27-47cc-ae93-b321eea4a2de",
"Score": 1.0,
"State": 1
},
{
"Id": "8b0c9b19-dd27-47cc-ae93-b321eea4a2de",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "218bb387-18e4-4cab-b524-3d94226096a4",
"Questions": [
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
},
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
}
]
},
{
"Id": "218bb387-18e4-4cab-b524-3d94226096a4",
"Questions": [
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
},
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f1e0890f-0d51-467f-9377-612bafb48b82",
"ContentItemId": "91f35f06-6d58-4fd3-b70e-06cc713c4729",
"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-11-09T07:34:32.6110778+00:00",
"RescheduleDate": "2025-11-09T07:34:32.6110778+00:00"
},
{
"Id": "f1e0890f-0d51-467f-9377-612bafb48b82",
"ContentItemId": "91f35f06-6d58-4fd3-b70e-06cc713c4729",
"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-11-09T07:34:32.6110778+00:00",
"RescheduleDate": "2025-11-09T07:34:32.6110778+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "c4cd0cfd-f047-46a9-b70d-42cf2cd27cef",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-11-09T07:34:32.7375382+00:00",
"Registration": {
"Id": "e3aa48c1-51aa-48bf-9599-d624278cb84b",
"UserId": "c28e74dd-31fc-4c49-8bbe-24fd8267858f",
"IsCurrent": true,
"CenterId": "d8c93e74-a0bb-4b93-b3e8-a3f524b7b9b4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "dbc6bf6d-2ddf-4262-b8eb-547c7dc2a183",
"EndDate": "2025-11-09T07:34:32.6110778+00:00",
"StartDate": "2025-11-09T07:34:32.6110778+00:00",
"SchedulePreferenceDate": "2025-11-09T07:34:32.6110778+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-11-09T07:34:32.6110778+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "e452b71c-0921-4fb5-ad18-fba3799724c3",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9b36328a-b5a2-44bb-876a-f016960567c1",
"Sequence": 1,
"AncestorCategoryId": "76a9725f-eac4-4065-937f-5d11f686a897",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "e452b71c-0921-4fb5-ad18-fba3799724c3",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9b36328a-b5a2-44bb-876a-f016960567c1",
"Sequence": 1,
"AncestorCategoryId": "76a9725f-eac4-4065-937f-5d11f686a897",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "564c556d-fc95-4e02-a8bc-1998169bc73a",
"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": "43abbc14-f890-43b3-a73d-09e0ee140cf8",
"CategoryId": "df4c7797-edbf-4fa8-a33c-33fce07442b7",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "8b0c9b19-dd27-47cc-ae93-b321eea4a2de",
"Score": 1.0,
"State": 1
},
{
"Id": "8b0c9b19-dd27-47cc-ae93-b321eea4a2de",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "218bb387-18e4-4cab-b524-3d94226096a4",
"Questions": [
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
},
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
}
]
},
{
"Id": "218bb387-18e4-4cab-b524-3d94226096a4",
"Questions": [
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
},
{
"Id": "4c18f130-2f11-4ef0-92d8-bac3e6d0083f",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f1e0890f-0d51-467f-9377-612bafb48b82",
"ContentItemId": "91f35f06-6d58-4fd3-b70e-06cc713c4729",
"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-11-09T07:34:32.6110778+00:00",
"RescheduleDate": "2025-11-09T07:34:32.6110778+00:00"
},
{
"Id": "f1e0890f-0d51-467f-9377-612bafb48b82",
"ContentItemId": "91f35f06-6d58-4fd3-b70e-06cc713c4729",
"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-11-09T07:34:32.6110778+00:00",
"RescheduleDate": "2025-11-09T07:34:32.6110778+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}