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": "8cbb9314-75cc-4330-a5da-1aef6dae38b3",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-18T00:52:05.9834595+00:00",
"Registration": {
"Id": "17ec3d3b-5113-445a-a73f-571a58001119",
"UserId": "28f9e560-3ed9-4857-add9-c350945e8d0b",
"IsCurrent": true,
"CenterId": "7a18c3cd-70b0-4f32-9716-ffa8a7884661",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "5058d29c-2967-4ac7-923f-8786792c26b6",
"EndDate": "2025-12-18T00:52:05.9834595+00:00",
"StartDate": "2025-12-18T00:52:05.9834595+00:00",
"SchedulePreferenceDate": "2025-12-18T00:52:05.9834595+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": "2025-12-18T00:52:05.9834595+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "15f748b0-7d03-4323-a0db-931135302b06",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ef65bdc3-bee1-4b32-913a-66a5dc421751",
"Sequence": 1,
"AncestorCategoryId": "b88dd901-8e9c-4c34-b08e-1830b2b16942",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "15f748b0-7d03-4323-a0db-931135302b06",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ef65bdc3-bee1-4b32-913a-66a5dc421751",
"Sequence": 1,
"AncestorCategoryId": "b88dd901-8e9c-4c34-b08e-1830b2b16942",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "cd0bf9ce-1e24-428b-aecd-6d9a551b571e",
"CategoryId": "a6767a1a-d022-46ee-a324-810af36ad78e",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "e55c7d7c-6b5b-44e0-8f68-57f86f943171",
"Score": 1.0,
"State": 1
},
{
"Id": "e55c7d7c-6b5b-44e0-8f68-57f86f943171",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "0a22f4e7-d462-41f7-9de6-20567316df7b",
"Questions": [
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
},
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
}
]
},
{
"Id": "0a22f4e7-d462-41f7-9de6-20567316df7b",
"Questions": [
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
},
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "dedbca46-9157-4ac0-8f86-8b2350d568b9",
"ContentItemId": "009b7713-347d-4e24-b005-874d3e63b312",
"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": "2025-12-18T00:52:05.9834595+00:00",
"RescheduleDate": "2025-12-18T00:52:05.9834595+00:00"
},
{
"Id": "dedbca46-9157-4ac0-8f86-8b2350d568b9",
"ContentItemId": "009b7713-347d-4e24-b005-874d3e63b312",
"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": "2025-12-18T00:52:05.9834595+00:00",
"RescheduleDate": "2025-12-18T00:52:05.9834595+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "8cbb9314-75cc-4330-a5da-1aef6dae38b3",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-18T00:52:06.0303384+00:00",
"Registration": {
"Id": "17ec3d3b-5113-445a-a73f-571a58001119",
"UserId": "28f9e560-3ed9-4857-add9-c350945e8d0b",
"IsCurrent": true,
"CenterId": "7a18c3cd-70b0-4f32-9716-ffa8a7884661",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "5058d29c-2967-4ac7-923f-8786792c26b6",
"EndDate": "2025-12-18T00:52:05.9834595+00:00",
"StartDate": "2025-12-18T00:52:05.9834595+00:00",
"SchedulePreferenceDate": "2025-12-18T00:52:05.9834595+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": "2025-12-18T00:52:05.9834595+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "15f748b0-7d03-4323-a0db-931135302b06",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ef65bdc3-bee1-4b32-913a-66a5dc421751",
"Sequence": 1,
"AncestorCategoryId": "b88dd901-8e9c-4c34-b08e-1830b2b16942",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "15f748b0-7d03-4323-a0db-931135302b06",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "ef65bdc3-bee1-4b32-913a-66a5dc421751",
"Sequence": 1,
"AncestorCategoryId": "b88dd901-8e9c-4c34-b08e-1830b2b16942",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "0166ae05-6123-492c-950a-56dfc3f6edc7",
"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": "cd0bf9ce-1e24-428b-aecd-6d9a551b571e",
"CategoryId": "a6767a1a-d022-46ee-a324-810af36ad78e",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "e55c7d7c-6b5b-44e0-8f68-57f86f943171",
"Score": 1.0,
"State": 1
},
{
"Id": "e55c7d7c-6b5b-44e0-8f68-57f86f943171",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "0a22f4e7-d462-41f7-9de6-20567316df7b",
"Questions": [
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
},
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
}
]
},
{
"Id": "0a22f4e7-d462-41f7-9de6-20567316df7b",
"Questions": [
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
},
{
"Id": "5a45ea91-f4d6-44ed-bcdc-8e5d50f5b5cc",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "dedbca46-9157-4ac0-8f86-8b2350d568b9",
"ContentItemId": "009b7713-347d-4e24-b005-874d3e63b312",
"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": "2025-12-18T00:52:05.9834595+00:00",
"RescheduleDate": "2025-12-18T00:52:05.9834595+00:00"
},
{
"Id": "dedbca46-9157-4ac0-8f86-8b2350d568b9",
"ContentItemId": "009b7713-347d-4e24-b005-874d3e63b312",
"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": "2025-12-18T00:52:05.9834595+00:00",
"RescheduleDate": "2025-12-18T00:52:05.9834595+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}