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": "f2f0478f-c9e0-4f6a-8abe-f9d55f75b2be",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-08-19T01:01:53.9399421+00:00",
"Registration": {
"Id": "598a1196-7a75-4678-9438-9e7e9a4bd36a",
"UserId": "5c8bf5f6-e45e-40a4-a495-6bcea7e98179",
"IsCurrent": true,
"CenterId": "86c19312-1e53-4e65-b627-aaed803e4062",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "d4ce9983-50c3-4e5e-aed3-431ff1b1577d",
"EndDate": "2026-08-19T01:01:53.9243173+00:00",
"StartDate": "2026-08-19T01:01:53.9243173+00:00",
"SchedulePreferenceDate": "2026-08-19T01:01:53.9243173+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-08-19T01:01:53.9243173+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7688bc13-eddc-40b0-9b64-32bbfa38ea50",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a2c88c86-f448-479e-8673-8aaf4dd21db9",
"Sequence": 1,
"AncestorCategoryId": "f6a6bb52-805e-462f-b694-f5859f8444a7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "7688bc13-eddc-40b0-9b64-32bbfa38ea50",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a2c88c86-f448-479e-8673-8aaf4dd21db9",
"Sequence": 1,
"AncestorCategoryId": "f6a6bb52-805e-462f-b694-f5859f8444a7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "4de741b0-e2b4-4d7c-8876-6c0dcdfd1206",
"CategoryId": "f6051764-0be0-40e7-928d-29591d275fc0",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "1c5749e0-c00b-4c72-adb6-47f6843280c4",
"Score": 1.0,
"State": 1
},
{
"Id": "1c5749e0-c00b-4c72-adb6-47f6843280c4",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "dcff47e2-0520-4dbf-afdf-e776b0d5febf",
"Questions": [
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
},
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
}
]
},
{
"Id": "dcff47e2-0520-4dbf-afdf-e776b0d5febf",
"Questions": [
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
},
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "058bc722-bfd8-466d-a954-df1dd51cb105",
"ContentItemId": "d43ae030-81c9-4728-9e92-b4737f2e0816",
"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-08-19T01:01:53.9243173+00:00",
"RescheduleDate": "2026-08-19T01:01:53.9243173+00:00"
},
{
"Id": "058bc722-bfd8-466d-a954-df1dd51cb105",
"ContentItemId": "d43ae030-81c9-4728-9e92-b4737f2e0816",
"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-08-19T01:01:53.9243173+00:00",
"RescheduleDate": "2026-08-19T01:01:53.9243173+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "f2f0478f-c9e0-4f6a-8abe-f9d55f75b2be",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-08-19T01:01:53.9711932+00:00",
"Registration": {
"Id": "598a1196-7a75-4678-9438-9e7e9a4bd36a",
"UserId": "5c8bf5f6-e45e-40a4-a495-6bcea7e98179",
"IsCurrent": true,
"CenterId": "86c19312-1e53-4e65-b627-aaed803e4062",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "d4ce9983-50c3-4e5e-aed3-431ff1b1577d",
"EndDate": "2026-08-19T01:01:53.9243173+00:00",
"StartDate": "2026-08-19T01:01:53.9243173+00:00",
"SchedulePreferenceDate": "2026-08-19T01:01:53.9243173+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-08-19T01:01:53.9243173+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7688bc13-eddc-40b0-9b64-32bbfa38ea50",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a2c88c86-f448-479e-8673-8aaf4dd21db9",
"Sequence": 1,
"AncestorCategoryId": "f6a6bb52-805e-462f-b694-f5859f8444a7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "7688bc13-eddc-40b0-9b64-32bbfa38ea50",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a2c88c86-f448-479e-8673-8aaf4dd21db9",
"Sequence": 1,
"AncestorCategoryId": "f6a6bb52-805e-462f-b694-f5859f8444a7",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "a33336bd-12ea-486a-afb3-3691de46e5ee",
"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": "4de741b0-e2b4-4d7c-8876-6c0dcdfd1206",
"CategoryId": "f6051764-0be0-40e7-928d-29591d275fc0",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "1c5749e0-c00b-4c72-adb6-47f6843280c4",
"Score": 1.0,
"State": 1
},
{
"Id": "1c5749e0-c00b-4c72-adb6-47f6843280c4",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "dcff47e2-0520-4dbf-afdf-e776b0d5febf",
"Questions": [
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
},
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
}
]
},
{
"Id": "dcff47e2-0520-4dbf-afdf-e776b0d5febf",
"Questions": [
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
},
{
"Id": "a7ad83c5-ecbb-48d1-8993-de187d0609f3",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "058bc722-bfd8-466d-a954-df1dd51cb105",
"ContentItemId": "d43ae030-81c9-4728-9e92-b4737f2e0816",
"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-08-19T01:01:53.9243173+00:00",
"RescheduleDate": "2026-08-19T01:01:53.9243173+00:00"
},
{
"Id": "058bc722-bfd8-466d-a954-df1dd51cb105",
"ContentItemId": "d43ae030-81c9-4728-9e92-b4737f2e0816",
"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-08-19T01:01:53.9243173+00:00",
"RescheduleDate": "2026-08-19T01:01:53.9243173+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}