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": "d9d22301-a71a-4a38-89ed-c059cbb10b17",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-25T11:51:06.7504338+00:00",
"Registration": {
"Id": "c803af81-c3e7-438a-b911-1959f851bd2b",
"UserId": "459e7847-eb95-4880-b2c7-eb6a2943d47a",
"IsCurrent": true,
"CenterId": "9f224bc1-83b6-4eb4-a607-68ad8899e21f",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "052bafbb-0c25-497d-9312-cfb9c9bfab04",
"EndDate": "2026-07-25T11:51:06.7348033+00:00",
"StartDate": "2026-07-25T11:51:06.7348033+00:00",
"SchedulePreferenceDate": "2026-07-25T11:51:06.7348033+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-07-25T11:51:06.7348033+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "730acb1e-eaf6-45fa-b553-035a26673360",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "81ff4354-89fc-43db-aa37-849d49d75261",
"Sequence": 1,
"AncestorCategoryId": "c02e9e62-376b-4514-84f0-031968a72e66",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "730acb1e-eaf6-45fa-b553-035a26673360",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "81ff4354-89fc-43db-aa37-849d49d75261",
"Sequence": 1,
"AncestorCategoryId": "c02e9e62-376b-4514-84f0-031968a72e66",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "2085885f-75ff-4bd7-8d70-d8ab8eea17a5",
"CategoryId": "14ccc087-1c8c-4c5e-8662-812877807917",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "156acacd-77d7-4f05-86ac-4287a1015c1f",
"Score": 1.0,
"State": 1
},
{
"Id": "156acacd-77d7-4f05-86ac-4287a1015c1f",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "1165ef54-a137-411f-baae-7785636aad89",
"Questions": [
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
},
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
}
]
},
{
"Id": "1165ef54-a137-411f-baae-7785636aad89",
"Questions": [
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
},
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a046034b-9beb-4e43-b132-0fefc708b716",
"ContentItemId": "ce7c0f0f-275e-4a9f-81d2-1fb24d639ba8",
"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-07-25T11:51:06.7504338+00:00",
"RescheduleDate": "2026-07-25T11:51:06.7504338+00:00"
},
{
"Id": "a046034b-9beb-4e43-b132-0fefc708b716",
"ContentItemId": "ce7c0f0f-275e-4a9f-81d2-1fb24d639ba8",
"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-07-25T11:51:06.7504338+00:00",
"RescheduleDate": "2026-07-25T11:51:06.7504338+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "d9d22301-a71a-4a38-89ed-c059cbb10b17",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-25T11:51:06.7816769+00:00",
"Registration": {
"Id": "c803af81-c3e7-438a-b911-1959f851bd2b",
"UserId": "459e7847-eb95-4880-b2c7-eb6a2943d47a",
"IsCurrent": true,
"CenterId": "9f224bc1-83b6-4eb4-a607-68ad8899e21f",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "052bafbb-0c25-497d-9312-cfb9c9bfab04",
"EndDate": "2026-07-25T11:51:06.7348033+00:00",
"StartDate": "2026-07-25T11:51:06.7348033+00:00",
"SchedulePreferenceDate": "2026-07-25T11:51:06.7348033+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-07-25T11:51:06.7348033+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "730acb1e-eaf6-45fa-b553-035a26673360",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "81ff4354-89fc-43db-aa37-849d49d75261",
"Sequence": 1,
"AncestorCategoryId": "c02e9e62-376b-4514-84f0-031968a72e66",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "730acb1e-eaf6-45fa-b553-035a26673360",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "81ff4354-89fc-43db-aa37-849d49d75261",
"Sequence": 1,
"AncestorCategoryId": "c02e9e62-376b-4514-84f0-031968a72e66",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "b17efee9-d6e8-4328-bb5e-eacb84c28fb8",
"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": "2085885f-75ff-4bd7-8d70-d8ab8eea17a5",
"CategoryId": "14ccc087-1c8c-4c5e-8662-812877807917",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "156acacd-77d7-4f05-86ac-4287a1015c1f",
"Score": 1.0,
"State": 1
},
{
"Id": "156acacd-77d7-4f05-86ac-4287a1015c1f",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "1165ef54-a137-411f-baae-7785636aad89",
"Questions": [
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
},
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
}
]
},
{
"Id": "1165ef54-a137-411f-baae-7785636aad89",
"Questions": [
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
},
{
"Id": "1c02f1cf-d02c-4132-a2d2-3fe17a7aa73a",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a046034b-9beb-4e43-b132-0fefc708b716",
"ContentItemId": "ce7c0f0f-275e-4a9f-81d2-1fb24d639ba8",
"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-07-25T11:51:06.7504338+00:00",
"RescheduleDate": "2026-07-25T11:51:06.7504338+00:00"
},
{
"Id": "a046034b-9beb-4e43-b132-0fefc708b716",
"ContentItemId": "ce7c0f0f-275e-4a9f-81d2-1fb24d639ba8",
"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-07-25T11:51:06.7504338+00:00",
"RescheduleDate": "2026-07-25T11:51:06.7504338+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}