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": "06176ab6-dbfb-41aa-ba82-52f7a748b587",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-12T14:23:45.8702762+00:00",
"Registration": {
"Id": "40cbf77d-4e6b-4775-944c-5bddb48049df",
"UserId": "c3585393-cc5f-4ad3-a428-43e6f7b67254",
"IsCurrent": true,
"CenterId": "7ee78d1d-cbd0-425d-8ddf-91ba44ac1d90",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "5498328b-daa0-4c01-b597-831a52516c42",
"EndDate": "2026-11-12T14:23:45.8546527+00:00",
"StartDate": "2026-11-12T14:23:45.8546527+00:00",
"SchedulePreferenceDate": "2026-11-12T14:23:45.8546527+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-11-12T14:23:45.8546527+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "87a8dcdf-e327-464d-a1f5-d666c72c674a",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1be9d94f-553a-43c3-bcf5-ed9ad873b541",
"Sequence": 1,
"AncestorCategoryId": "d469ee33-064b-4226-9620-448989e633fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "87a8dcdf-e327-464d-a1f5-d666c72c674a",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1be9d94f-553a-43c3-bcf5-ed9ad873b541",
"Sequence": 1,
"AncestorCategoryId": "d469ee33-064b-4226-9620-448989e633fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "004cdf68-3833-407c-a68c-d2375340cc39",
"CategoryId": "bcd06635-f2d1-4dc4-94be-c119c76a54ef",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "b3316aab-7197-427d-9e48-92ae033e7ad3",
"Score": 1.0,
"State": 1
},
{
"Id": "b3316aab-7197-427d-9e48-92ae033e7ad3",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "afa781e3-3d19-49a0-baaf-d18de88daa0c",
"Questions": [
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
},
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
}
]
},
{
"Id": "afa781e3-3d19-49a0-baaf-d18de88daa0c",
"Questions": [
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
},
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "7818eb83-4140-4149-a518-cd4046e6d568",
"ContentItemId": "3ef1f154-5a89-49d4-b5b3-5ca9e68a30f7",
"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-11-12T14:23:45.8546527+00:00",
"RescheduleDate": "2026-11-12T14:23:45.8546527+00:00"
},
{
"Id": "7818eb83-4140-4149-a518-cd4046e6d568",
"ContentItemId": "3ef1f154-5a89-49d4-b5b3-5ca9e68a30f7",
"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-11-12T14:23:45.8546527+00:00",
"RescheduleDate": "2026-11-12T14:23:45.8546527+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "06176ab6-dbfb-41aa-ba82-52f7a748b587",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-11-12T14:23:45.8858993+00:00",
"Registration": {
"Id": "40cbf77d-4e6b-4775-944c-5bddb48049df",
"UserId": "c3585393-cc5f-4ad3-a428-43e6f7b67254",
"IsCurrent": true,
"CenterId": "7ee78d1d-cbd0-425d-8ddf-91ba44ac1d90",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "5498328b-daa0-4c01-b597-831a52516c42",
"EndDate": "2026-11-12T14:23:45.8546527+00:00",
"StartDate": "2026-11-12T14:23:45.8546527+00:00",
"SchedulePreferenceDate": "2026-11-12T14:23:45.8546527+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-11-12T14:23:45.8546527+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "87a8dcdf-e327-464d-a1f5-d666c72c674a",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1be9d94f-553a-43c3-bcf5-ed9ad873b541",
"Sequence": 1,
"AncestorCategoryId": "d469ee33-064b-4226-9620-448989e633fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "87a8dcdf-e327-464d-a1f5-d666c72c674a",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1be9d94f-553a-43c3-bcf5-ed9ad873b541",
"Sequence": 1,
"AncestorCategoryId": "d469ee33-064b-4226-9620-448989e633fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "38a7f8a7-c16e-4369-bbcc-5d371aa5a6a0",
"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": "004cdf68-3833-407c-a68c-d2375340cc39",
"CategoryId": "bcd06635-f2d1-4dc4-94be-c119c76a54ef",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "b3316aab-7197-427d-9e48-92ae033e7ad3",
"Score": 1.0,
"State": 1
},
{
"Id": "b3316aab-7197-427d-9e48-92ae033e7ad3",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "afa781e3-3d19-49a0-baaf-d18de88daa0c",
"Questions": [
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
},
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
}
]
},
{
"Id": "afa781e3-3d19-49a0-baaf-d18de88daa0c",
"Questions": [
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
},
{
"Id": "ca2f267d-0fea-4f3f-b190-0a1c1a1b49f9",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "7818eb83-4140-4149-a518-cd4046e6d568",
"ContentItemId": "3ef1f154-5a89-49d4-b5b3-5ca9e68a30f7",
"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-11-12T14:23:45.8546527+00:00",
"RescheduleDate": "2026-11-12T14:23:45.8546527+00:00"
},
{
"Id": "7818eb83-4140-4149-a518-cd4046e6d568",
"ContentItemId": "3ef1f154-5a89-49d4-b5b3-5ca9e68a30f7",
"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-11-12T14:23:45.8546527+00:00",
"RescheduleDate": "2026-11-12T14:23:45.8546527+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}