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": "ca17273f-c1c3-4328-85ec-44203bef6440",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-08-14T12:27:33.2712638+00:00",
"Registration": {
"Id": "cd5123a3-722c-4fe1-b1b7-10158b1f11e3",
"UserId": "1fd8c06c-76b4-4c62-8487-ed9002eac8de",
"IsCurrent": true,
"CenterId": "997bd72a-bc59-4794-9b82-98b99eda3c98",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "7a76f6a1-76ed-4a26-89bc-c796f27af2b8",
"EndDate": "2026-08-14T12:27:33.2712638+00:00",
"StartDate": "2026-08-14T12:27:33.2712638+00:00",
"SchedulePreferenceDate": "2026-08-14T12:27:33.2712638+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-14T12:27:33.2712638+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "64cd21de-b41f-421c-962d-47b91bee4c78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d9038222-697a-4616-8a47-0d9f7d39395d",
"Sequence": 1,
"AncestorCategoryId": "f3f2bbe4-e2be-4ede-9239-4e03b2599ac1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "64cd21de-b41f-421c-962d-47b91bee4c78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d9038222-697a-4616-8a47-0d9f7d39395d",
"Sequence": 1,
"AncestorCategoryId": "f3f2bbe4-e2be-4ede-9239-4e03b2599ac1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "79f085dc-3f8f-4942-b637-775e2804f376",
"CategoryId": "7524495a-353a-431d-9153-7e121f5d58b0",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "f7ccf143-3095-4ea2-8a29-255c8c7708af",
"Score": 1.0,
"State": 1
},
{
"Id": "f7ccf143-3095-4ea2-8a29-255c8c7708af",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "58e35d5f-9a2a-4c5c-b6dc-c974ec4cb6a8",
"Questions": [
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
},
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
}
]
},
{
"Id": "58e35d5f-9a2a-4c5c-b6dc-c974ec4cb6a8",
"Questions": [
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
},
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "b7de8cfd-2c9f-41c7-8f03-7965efec9c30",
"ContentItemId": "2006db04-fc16-415c-94be-cb911c852cde",
"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-14T12:27:33.2712638+00:00",
"RescheduleDate": "2026-08-14T12:27:33.2712638+00:00"
},
{
"Id": "b7de8cfd-2c9f-41c7-8f03-7965efec9c30",
"ContentItemId": "2006db04-fc16-415c-94be-cb911c852cde",
"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-14T12:27:33.2712638+00:00",
"RescheduleDate": "2026-08-14T12:27:33.2712638+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "ca17273f-c1c3-4328-85ec-44203bef6440",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-08-14T12:27:33.3181461+00:00",
"Registration": {
"Id": "cd5123a3-722c-4fe1-b1b7-10158b1f11e3",
"UserId": "1fd8c06c-76b4-4c62-8487-ed9002eac8de",
"IsCurrent": true,
"CenterId": "997bd72a-bc59-4794-9b82-98b99eda3c98",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "7a76f6a1-76ed-4a26-89bc-c796f27af2b8",
"EndDate": "2026-08-14T12:27:33.2712638+00:00",
"StartDate": "2026-08-14T12:27:33.2712638+00:00",
"SchedulePreferenceDate": "2026-08-14T12:27:33.2712638+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-14T12:27:33.2712638+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "64cd21de-b41f-421c-962d-47b91bee4c78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d9038222-697a-4616-8a47-0d9f7d39395d",
"Sequence": 1,
"AncestorCategoryId": "f3f2bbe4-e2be-4ede-9239-4e03b2599ac1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "64cd21de-b41f-421c-962d-47b91bee4c78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d9038222-697a-4616-8a47-0d9f7d39395d",
"Sequence": 1,
"AncestorCategoryId": "f3f2bbe4-e2be-4ede-9239-4e03b2599ac1",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "b282be5a-c5c6-4f34-9b55-dc8bf74863e0",
"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": "79f085dc-3f8f-4942-b637-775e2804f376",
"CategoryId": "7524495a-353a-431d-9153-7e121f5d58b0",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "f7ccf143-3095-4ea2-8a29-255c8c7708af",
"Score": 1.0,
"State": 1
},
{
"Id": "f7ccf143-3095-4ea2-8a29-255c8c7708af",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "58e35d5f-9a2a-4c5c-b6dc-c974ec4cb6a8",
"Questions": [
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
},
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
}
]
},
{
"Id": "58e35d5f-9a2a-4c5c-b6dc-c974ec4cb6a8",
"Questions": [
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
},
{
"Id": "047f60f4-944d-400c-ae7e-6c036adfd4e9",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "b7de8cfd-2c9f-41c7-8f03-7965efec9c30",
"ContentItemId": "2006db04-fc16-415c-94be-cb911c852cde",
"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-14T12:27:33.2712638+00:00",
"RescheduleDate": "2026-08-14T12:27:33.2712638+00:00"
},
{
"Id": "b7de8cfd-2c9f-41c7-8f03-7965efec9c30",
"ContentItemId": "2006db04-fc16-415c-94be-cb911c852cde",
"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-14T12:27:33.2712638+00:00",
"RescheduleDate": "2026-08-14T12:27:33.2712638+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}