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": "ceff9f68-e4b3-4f8d-8f01-880fa87e26ce",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-03-30T22:39:26.8607636+00:00",
"Registration": {
"Id": "fbfc191a-2204-4265-b666-0042f7496466",
"UserId": "f2427119-f7e3-4de8-a4a2-e22435c30f42",
"IsCurrent": true,
"CenterId": "53986db4-6ffd-42c1-98a5-40a72573162a",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "465767a3-9dc9-4691-b38b-c885d9d2ef12",
"EndDate": "2026-03-30T22:39:26.8451328+00:00",
"StartDate": "2026-03-30T22:39:26.8451328+00:00",
"SchedulePreferenceDate": "2026-03-30T22:39:26.8451328+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-03-30T22:39:26.8451328+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "f4b3f3a5-2fb3-4448-88ed-95b15dffc00d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "0ef4dc64-c251-45f8-b379-10a3688c1142",
"Sequence": 1,
"AncestorCategoryId": "3276817f-d0e8-4cdf-b52f-c3ba30e8935f",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "f4b3f3a5-2fb3-4448-88ed-95b15dffc00d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "0ef4dc64-c251-45f8-b379-10a3688c1142",
"Sequence": 1,
"AncestorCategoryId": "3276817f-d0e8-4cdf-b52f-c3ba30e8935f",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "4e681bc5-d521-4f19-8354-3f7871290c75",
"CategoryId": "173b94cd-3353-4e35-92fd-c61c20ebbe5c",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "440146c9-2194-43d6-8690-abe4ed0d5b79",
"Score": 1.0,
"State": 1
},
{
"Id": "440146c9-2194-43d6-8690-abe4ed0d5b79",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "48593efc-18df-4c50-b2ad-66f9c42be06c",
"Questions": [
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
},
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
}
]
},
{
"Id": "48593efc-18df-4c50-b2ad-66f9c42be06c",
"Questions": [
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
},
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "14b65e86-d0ab-4b96-a386-ffb59ab7b9da",
"ContentItemId": "8e2ad5f6-626e-4ab8-8ace-c5e07a8b4f96",
"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-03-30T22:39:26.8451328+00:00",
"RescheduleDate": "2026-03-30T22:39:26.8451328+00:00"
},
{
"Id": "14b65e86-d0ab-4b96-a386-ffb59ab7b9da",
"ContentItemId": "8e2ad5f6-626e-4ab8-8ace-c5e07a8b4f96",
"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-03-30T22:39:26.8451328+00:00",
"RescheduleDate": "2026-03-30T22:39:26.8451328+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "ceff9f68-e4b3-4f8d-8f01-880fa87e26ce",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-03-30T22:39:26.8763811+00:00",
"Registration": {
"Id": "fbfc191a-2204-4265-b666-0042f7496466",
"UserId": "f2427119-f7e3-4de8-a4a2-e22435c30f42",
"IsCurrent": true,
"CenterId": "53986db4-6ffd-42c1-98a5-40a72573162a",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "465767a3-9dc9-4691-b38b-c885d9d2ef12",
"EndDate": "2026-03-30T22:39:26.8451328+00:00",
"StartDate": "2026-03-30T22:39:26.8451328+00:00",
"SchedulePreferenceDate": "2026-03-30T22:39:26.8451328+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-03-30T22:39:26.8451328+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "f4b3f3a5-2fb3-4448-88ed-95b15dffc00d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "0ef4dc64-c251-45f8-b379-10a3688c1142",
"Sequence": 1,
"AncestorCategoryId": "3276817f-d0e8-4cdf-b52f-c3ba30e8935f",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "f4b3f3a5-2fb3-4448-88ed-95b15dffc00d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "0ef4dc64-c251-45f8-b379-10a3688c1142",
"Sequence": 1,
"AncestorCategoryId": "3276817f-d0e8-4cdf-b52f-c3ba30e8935f",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "ec112d64-cbce-47b1-86c7-b478b86f311c",
"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": "4e681bc5-d521-4f19-8354-3f7871290c75",
"CategoryId": "173b94cd-3353-4e35-92fd-c61c20ebbe5c",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "440146c9-2194-43d6-8690-abe4ed0d5b79",
"Score": 1.0,
"State": 1
},
{
"Id": "440146c9-2194-43d6-8690-abe4ed0d5b79",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "48593efc-18df-4c50-b2ad-66f9c42be06c",
"Questions": [
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
},
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
}
]
},
{
"Id": "48593efc-18df-4c50-b2ad-66f9c42be06c",
"Questions": [
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
},
{
"Id": "2f6aae94-6a79-434a-9c9e-825e3e504e4e",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "14b65e86-d0ab-4b96-a386-ffb59ab7b9da",
"ContentItemId": "8e2ad5f6-626e-4ab8-8ace-c5e07a8b4f96",
"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-03-30T22:39:26.8451328+00:00",
"RescheduleDate": "2026-03-30T22:39:26.8451328+00:00"
},
{
"Id": "14b65e86-d0ab-4b96-a386-ffb59ab7b9da",
"ContentItemId": "8e2ad5f6-626e-4ab8-8ace-c5e07a8b4f96",
"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-03-30T22:39:26.8451328+00:00",
"RescheduleDate": "2026-03-30T22:39:26.8451328+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}