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": "c6aa196b-f234-4eb4-900a-52748887ce10",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-02-07T16:48:27.5576363+00:00",
"Registration": {
"Id": "50f75c9f-929d-43fb-9ee3-7b117639e026",
"UserId": "25a545da-7a7c-4103-8c01-cfd9a882cb26",
"IsCurrent": true,
"CenterId": "3370d71b-5fea-49c7-9f06-83a1a6fc4f59",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "fb955495-851b-4b53-ba77-287bc54dcc92",
"EndDate": "2026-02-07T16:48:27.5420122+00:00",
"StartDate": "2026-02-07T16:48:27.5420122+00:00",
"SchedulePreferenceDate": "2026-02-07T16:48:27.5420122+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-02-07T16:48:27.5420122+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "5f0459e4-003d-4d93-9775-45046f6db05b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4da6d751-faeb-4a7f-baef-26ec47923086",
"Sequence": 1,
"AncestorCategoryId": "9efd0332-810b-475a-9e97-50a151db341c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "5f0459e4-003d-4d93-9775-45046f6db05b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4da6d751-faeb-4a7f-baef-26ec47923086",
"Sequence": 1,
"AncestorCategoryId": "9efd0332-810b-475a-9e97-50a151db341c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "7dbbdf70-d26d-4ffb-a0a4-5e8143bab509",
"CategoryId": "95576491-6aaf-45e8-979a-2407f35fbb7f",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "30099b49-6a85-47d0-8f2e-8d95d99593a4",
"Score": 1.0,
"State": 1
},
{
"Id": "30099b49-6a85-47d0-8f2e-8d95d99593a4",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "c8715a6f-7be6-4b14-8cc3-d6ff1fcac7b8",
"Questions": [
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
},
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
}
]
},
{
"Id": "c8715a6f-7be6-4b14-8cc3-d6ff1fcac7b8",
"Questions": [
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
},
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "fafe8fde-134f-4c38-9abc-e64ead3082a7",
"ContentItemId": "6e9e1e54-d140-4d04-85b2-3e7f0918e0de",
"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-02-07T16:48:27.5420122+00:00",
"RescheduleDate": "2026-02-07T16:48:27.5420122+00:00"
},
{
"Id": "fafe8fde-134f-4c38-9abc-e64ead3082a7",
"ContentItemId": "6e9e1e54-d140-4d04-85b2-3e7f0918e0de",
"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-02-07T16:48:27.5420122+00:00",
"RescheduleDate": "2026-02-07T16:48:27.5420122+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "c6aa196b-f234-4eb4-900a-52748887ce10",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-02-07T16:48:27.604514+00:00",
"Registration": {
"Id": "50f75c9f-929d-43fb-9ee3-7b117639e026",
"UserId": "25a545da-7a7c-4103-8c01-cfd9a882cb26",
"IsCurrent": true,
"CenterId": "3370d71b-5fea-49c7-9f06-83a1a6fc4f59",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "fb955495-851b-4b53-ba77-287bc54dcc92",
"EndDate": "2026-02-07T16:48:27.5420122+00:00",
"StartDate": "2026-02-07T16:48:27.5420122+00:00",
"SchedulePreferenceDate": "2026-02-07T16:48:27.5420122+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-02-07T16:48:27.5420122+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "5f0459e4-003d-4d93-9775-45046f6db05b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4da6d751-faeb-4a7f-baef-26ec47923086",
"Sequence": 1,
"AncestorCategoryId": "9efd0332-810b-475a-9e97-50a151db341c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "5f0459e4-003d-4d93-9775-45046f6db05b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4da6d751-faeb-4a7f-baef-26ec47923086",
"Sequence": 1,
"AncestorCategoryId": "9efd0332-810b-475a-9e97-50a151db341c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "9064e323-644f-4298-90dc-a18523b88f90",
"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": "7dbbdf70-d26d-4ffb-a0a4-5e8143bab509",
"CategoryId": "95576491-6aaf-45e8-979a-2407f35fbb7f",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "30099b49-6a85-47d0-8f2e-8d95d99593a4",
"Score": 1.0,
"State": 1
},
{
"Id": "30099b49-6a85-47d0-8f2e-8d95d99593a4",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "c8715a6f-7be6-4b14-8cc3-d6ff1fcac7b8",
"Questions": [
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
},
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
}
]
},
{
"Id": "c8715a6f-7be6-4b14-8cc3-d6ff1fcac7b8",
"Questions": [
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
},
{
"Id": "d04d6bae-c1de-408a-b0ac-07c82058e559",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "fafe8fde-134f-4c38-9abc-e64ead3082a7",
"ContentItemId": "6e9e1e54-d140-4d04-85b2-3e7f0918e0de",
"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-02-07T16:48:27.5420122+00:00",
"RescheduleDate": "2026-02-07T16:48:27.5420122+00:00"
},
{
"Id": "fafe8fde-134f-4c38-9abc-e64ead3082a7",
"ContentItemId": "6e9e1e54-d140-4d04-85b2-3e7f0918e0de",
"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-02-07T16:48:27.5420122+00:00",
"RescheduleDate": "2026-02-07T16:48:27.5420122+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}