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": "f7bc0930-0ac3-4336-a284-575f45abe3fb",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-07T01:45:54.3790436+00:00",
"Registration": {
"Id": "ac0a0f81-119b-49cf-8e7d-6db58746790c",
"UserId": "d52ef502-6546-4cf0-8ea2-ccbb0880f653",
"IsCurrent": true,
"CenterId": "b9ba2443-d612-480d-b3b6-eba42dfd85d8",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "dd785698-ead0-4486-9595-827b91e3ab6b",
"EndDate": "2026-07-07T01:45:54.3790436+00:00",
"StartDate": "2026-07-07T01:45:54.3790436+00:00",
"SchedulePreferenceDate": "2026-07-07T01:45:54.3790436+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-07T01:45:54.3790436+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7d6d0a26-b2fc-4b1b-b073-ad2bdecc12a2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cab3e297-24e6-4340-b398-92840d2ee902",
"Sequence": 1,
"AncestorCategoryId": "c8d3765c-b0c2-44d5-a9eb-6077a4f8bfa6",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "7d6d0a26-b2fc-4b1b-b073-ad2bdecc12a2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cab3e297-24e6-4340-b398-92840d2ee902",
"Sequence": 1,
"AncestorCategoryId": "c8d3765c-b0c2-44d5-a9eb-6077a4f8bfa6",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "df8f5173-1695-48d5-985b-9767922f36d5",
"CategoryId": "a2e14a86-e076-44e4-9be0-e578d78256d4",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "1c5ee5d4-2eaf-45f8-8c93-76f79c6f3f77",
"Score": 1.0,
"State": 1
},
{
"Id": "1c5ee5d4-2eaf-45f8-8c93-76f79c6f3f77",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "fb544460-1173-4f4f-92d3-3a41b761bfd8",
"Questions": [
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
},
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
}
]
},
{
"Id": "fb544460-1173-4f4f-92d3-3a41b761bfd8",
"Questions": [
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
},
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f52827f6-4427-4c45-be05-8b9d4c720e99",
"ContentItemId": "fa6f16f8-d606-47b7-b596-b64e342d6caa",
"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-07T01:45:54.3790436+00:00",
"RescheduleDate": "2026-07-07T01:45:54.3790436+00:00"
},
{
"Id": "f52827f6-4427-4c45-be05-8b9d4c720e99",
"ContentItemId": "fa6f16f8-d606-47b7-b596-b64e342d6caa",
"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-07T01:45:54.3790436+00:00",
"RescheduleDate": "2026-07-07T01:45:54.3790436+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "f7bc0930-0ac3-4336-a284-575f45abe3fb",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-07T01:45:54.4102957+00:00",
"Registration": {
"Id": "ac0a0f81-119b-49cf-8e7d-6db58746790c",
"UserId": "d52ef502-6546-4cf0-8ea2-ccbb0880f653",
"IsCurrent": true,
"CenterId": "b9ba2443-d612-480d-b3b6-eba42dfd85d8",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "dd785698-ead0-4486-9595-827b91e3ab6b",
"EndDate": "2026-07-07T01:45:54.3790436+00:00",
"StartDate": "2026-07-07T01:45:54.3790436+00:00",
"SchedulePreferenceDate": "2026-07-07T01:45:54.3790436+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-07T01:45:54.3790436+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7d6d0a26-b2fc-4b1b-b073-ad2bdecc12a2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cab3e297-24e6-4340-b398-92840d2ee902",
"Sequence": 1,
"AncestorCategoryId": "c8d3765c-b0c2-44d5-a9eb-6077a4f8bfa6",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "7d6d0a26-b2fc-4b1b-b073-ad2bdecc12a2",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "cab3e297-24e6-4340-b398-92840d2ee902",
"Sequence": 1,
"AncestorCategoryId": "c8d3765c-b0c2-44d5-a9eb-6077a4f8bfa6",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "75a894f3-1d87-459b-83c9-ca46bbbbb225",
"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": "df8f5173-1695-48d5-985b-9767922f36d5",
"CategoryId": "a2e14a86-e076-44e4-9be0-e578d78256d4",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "1c5ee5d4-2eaf-45f8-8c93-76f79c6f3f77",
"Score": 1.0,
"State": 1
},
{
"Id": "1c5ee5d4-2eaf-45f8-8c93-76f79c6f3f77",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "fb544460-1173-4f4f-92d3-3a41b761bfd8",
"Questions": [
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
},
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
}
]
},
{
"Id": "fb544460-1173-4f4f-92d3-3a41b761bfd8",
"Questions": [
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
},
{
"Id": "7f221c6f-ad4c-4e0b-a95c-78443360d801",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f52827f6-4427-4c45-be05-8b9d4c720e99",
"ContentItemId": "fa6f16f8-d606-47b7-b596-b64e342d6caa",
"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-07T01:45:54.3790436+00:00",
"RescheduleDate": "2026-07-07T01:45:54.3790436+00:00"
},
{
"Id": "f52827f6-4427-4c45-be05-8b9d4c720e99",
"ContentItemId": "fa6f16f8-d606-47b7-b596-b64e342d6caa",
"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-07T01:45:54.3790436+00:00",
"RescheduleDate": "2026-07-07T01:45:54.3790436+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}