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": "2502c11b-593a-4227-a7c0-189b65fec0d9",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-06-19T03:55:37.2609929+00:00",
"Registration": {
"Id": "b9e214e9-6c80-4e2f-ae46-601050ef281a",
"UserId": "2b81f8ea-13b4-457d-b929-a2db332397d3",
"IsCurrent": true,
"CenterId": "08cc2b31-2e29-4aab-a66d-b32211bfde65",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2104e645-cff3-4acb-9a1f-884c603cac24",
"EndDate": "2026-06-19T03:55:37.2453663+00:00",
"StartDate": "2026-06-19T03:55:37.2453663+00:00",
"SchedulePreferenceDate": "2026-06-19T03:55:37.2453663+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-06-19T03:55:37.2453663+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "a8fb7a39-abfe-490d-aff6-3b15d425f5ac",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d32a5907-e663-4901-a420-4f81aee9ccbd",
"Sequence": 1,
"AncestorCategoryId": "2310fe60-10d5-48f7-a376-4f37ea560980",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "a8fb7a39-abfe-490d-aff6-3b15d425f5ac",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d32a5907-e663-4901-a420-4f81aee9ccbd",
"Sequence": 1,
"AncestorCategoryId": "2310fe60-10d5-48f7-a376-4f37ea560980",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "49b9bc93-d365-4418-a87a-4f17f704b0f5",
"CategoryId": "20dadc1e-d8ab-49fd-b3dd-744364894bea",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "41a83c9d-1e88-4367-b34c-05d04f60262c",
"Score": 1.0,
"State": 1
},
{
"Id": "41a83c9d-1e88-4367-b34c-05d04f60262c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "1c24345e-b6b5-4d5e-8016-e1f1725e4049",
"Questions": [
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
},
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
}
]
},
{
"Id": "1c24345e-b6b5-4d5e-8016-e1f1725e4049",
"Questions": [
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
},
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "0af070e5-7310-43db-8382-824df3a3fc9d",
"ContentItemId": "c1c5dcfe-aa1b-4536-b000-d6a382017761",
"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-06-19T03:55:37.2453663+00:00",
"RescheduleDate": "2026-06-19T03:55:37.2453663+00:00"
},
{
"Id": "0af070e5-7310-43db-8382-824df3a3fc9d",
"ContentItemId": "c1c5dcfe-aa1b-4536-b000-d6a382017761",
"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-06-19T03:55:37.2453663+00:00",
"RescheduleDate": "2026-06-19T03:55:37.2453663+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "2502c11b-593a-4227-a7c0-189b65fec0d9",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-06-19T03:55:37.2922436+00:00",
"Registration": {
"Id": "b9e214e9-6c80-4e2f-ae46-601050ef281a",
"UserId": "2b81f8ea-13b4-457d-b929-a2db332397d3",
"IsCurrent": true,
"CenterId": "08cc2b31-2e29-4aab-a66d-b32211bfde65",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2104e645-cff3-4acb-9a1f-884c603cac24",
"EndDate": "2026-06-19T03:55:37.2453663+00:00",
"StartDate": "2026-06-19T03:55:37.2453663+00:00",
"SchedulePreferenceDate": "2026-06-19T03:55:37.2453663+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-06-19T03:55:37.2453663+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "a8fb7a39-abfe-490d-aff6-3b15d425f5ac",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d32a5907-e663-4901-a420-4f81aee9ccbd",
"Sequence": 1,
"AncestorCategoryId": "2310fe60-10d5-48f7-a376-4f37ea560980",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "a8fb7a39-abfe-490d-aff6-3b15d425f5ac",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d32a5907-e663-4901-a420-4f81aee9ccbd",
"Sequence": 1,
"AncestorCategoryId": "2310fe60-10d5-48f7-a376-4f37ea560980",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "522a1a2b-aad4-46e9-ace0-17874c6f9429",
"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": "49b9bc93-d365-4418-a87a-4f17f704b0f5",
"CategoryId": "20dadc1e-d8ab-49fd-b3dd-744364894bea",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "41a83c9d-1e88-4367-b34c-05d04f60262c",
"Score": 1.0,
"State": 1
},
{
"Id": "41a83c9d-1e88-4367-b34c-05d04f60262c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "1c24345e-b6b5-4d5e-8016-e1f1725e4049",
"Questions": [
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
},
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
}
]
},
{
"Id": "1c24345e-b6b5-4d5e-8016-e1f1725e4049",
"Questions": [
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
},
{
"Id": "7ab9050c-d653-45eb-a9f9-10aaeb98172c",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "0af070e5-7310-43db-8382-824df3a3fc9d",
"ContentItemId": "c1c5dcfe-aa1b-4536-b000-d6a382017761",
"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-06-19T03:55:37.2453663+00:00",
"RescheduleDate": "2026-06-19T03:55:37.2453663+00:00"
},
{
"Id": "0af070e5-7310-43db-8382-824df3a3fc9d",
"ContentItemId": "c1c5dcfe-aa1b-4536-b000-d6a382017761",
"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-06-19T03:55:37.2453663+00:00",
"RescheduleDate": "2026-06-19T03:55:37.2453663+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}