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": "88f6a61c-123e-4dce-afcb-aa09b23693ae",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-03-18T10:40:55.8073319+00:00",
"Registration": {
"Id": "df6284f2-9159-4864-a7ea-5ccdd4ce9dae",
"UserId": "30910c9f-29a7-4071-8531-672f9a23e0f5",
"IsCurrent": true,
"CenterId": "78ec1486-244a-49a2-a6dd-6502dc5d7cd3",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "1ed70e57-a275-45ea-b89d-1c4543572b40",
"EndDate": "2026-03-18T10:40:55.791707+00:00",
"StartDate": "2026-03-18T10:40:55.791707+00:00",
"SchedulePreferenceDate": "2026-03-18T10:40:55.791707+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-03-18T10:40:55.791707+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d7754e06-510e-46f4-bea5-6e488cd5801b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ebe8f2cc-08ef-41f2-8d4a-b328d5e1b017",
"Sequence": 1,
"AncestorCategoryId": "dae0d6bf-151a-49f7-ba29-163f5bf73551",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "d7754e06-510e-46f4-bea5-6e488cd5801b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ebe8f2cc-08ef-41f2-8d4a-b328d5e1b017",
"Sequence": 1,
"AncestorCategoryId": "dae0d6bf-151a-49f7-ba29-163f5bf73551",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "32361c15-83f0-4aec-8a16-8c81ecb6fdaa",
"CategoryId": "f6a190d2-0647-41ac-91dc-af8291e1e2ba",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "96297bd9-8c62-4a34-89f0-b6033a4c33df",
"Score": 1.0,
"State": 1
},
{
"Id": "96297bd9-8c62-4a34-89f0-b6033a4c33df",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "07cfb9a4-f016-424a-ba95-1a245194f9ae",
"Questions": [
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
},
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
}
]
},
{
"Id": "07cfb9a4-f016-424a-ba95-1a245194f9ae",
"Questions": [
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
},
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "c677326c-2643-4312-bf44-accab44876e2",
"ContentItemId": "8b2ece4e-3777-487f-9148-1b891ef39754",
"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-03-18T10:40:55.791707+00:00",
"RescheduleDate": "2026-03-18T10:40:55.791707+00:00"
},
{
"Id": "c677326c-2643-4312-bf44-accab44876e2",
"ContentItemId": "8b2ece4e-3777-487f-9148-1b891ef39754",
"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-03-18T10:40:55.791707+00:00",
"RescheduleDate": "2026-03-18T10:40:55.791707+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "88f6a61c-123e-4dce-afcb-aa09b23693ae",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-03-18T10:40:55.854207+00:00",
"Registration": {
"Id": "df6284f2-9159-4864-a7ea-5ccdd4ce9dae",
"UserId": "30910c9f-29a7-4071-8531-672f9a23e0f5",
"IsCurrent": true,
"CenterId": "78ec1486-244a-49a2-a6dd-6502dc5d7cd3",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "1ed70e57-a275-45ea-b89d-1c4543572b40",
"EndDate": "2026-03-18T10:40:55.791707+00:00",
"StartDate": "2026-03-18T10:40:55.791707+00:00",
"SchedulePreferenceDate": "2026-03-18T10:40:55.791707+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-03-18T10:40:55.791707+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d7754e06-510e-46f4-bea5-6e488cd5801b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ebe8f2cc-08ef-41f2-8d4a-b328d5e1b017",
"Sequence": 1,
"AncestorCategoryId": "dae0d6bf-151a-49f7-ba29-163f5bf73551",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "d7754e06-510e-46f4-bea5-6e488cd5801b",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ebe8f2cc-08ef-41f2-8d4a-b328d5e1b017",
"Sequence": 1,
"AncestorCategoryId": "dae0d6bf-151a-49f7-ba29-163f5bf73551",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "a3515173-ac53-4ac7-976c-108eb96ef321",
"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": "32361c15-83f0-4aec-8a16-8c81ecb6fdaa",
"CategoryId": "f6a190d2-0647-41ac-91dc-af8291e1e2ba",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "96297bd9-8c62-4a34-89f0-b6033a4c33df",
"Score": 1.0,
"State": 1
},
{
"Id": "96297bd9-8c62-4a34-89f0-b6033a4c33df",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "07cfb9a4-f016-424a-ba95-1a245194f9ae",
"Questions": [
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
},
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
}
]
},
{
"Id": "07cfb9a4-f016-424a-ba95-1a245194f9ae",
"Questions": [
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
},
{
"Id": "d2ac3a07-b0c6-40f6-a88b-7c8bada1800c",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "c677326c-2643-4312-bf44-accab44876e2",
"ContentItemId": "8b2ece4e-3777-487f-9148-1b891ef39754",
"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-03-18T10:40:55.791707+00:00",
"RescheduleDate": "2026-03-18T10:40:55.791707+00:00"
},
{
"Id": "c677326c-2643-4312-bf44-accab44876e2",
"ContentItemId": "8b2ece4e-3777-487f-9148-1b891ef39754",
"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-03-18T10:40:55.791707+00:00",
"RescheduleDate": "2026-03-18T10:40:55.791707+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}