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": "baec5ade-53a1-4dc7-89a6-ab397a3a1677",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-06-11T13:43:40.852573+00:00",
"Registration": {
"Id": "5ff84095-6c91-4d26-a846-8db6a6b51d2e",
"UserId": "21002475-fa41-4986-8d6c-1d67131a86d7",
"IsCurrent": true,
"CenterId": "942d8e7a-d153-41aa-aba1-74f598bda68d",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "730d4013-1e2d-44ab-8a49-492afa381c72",
"EndDate": "2026-06-11T13:43:40.852573+00:00",
"StartDate": "2026-06-11T13:43:40.852573+00:00",
"SchedulePreferenceDate": "2026-06-11T13:43:40.852573+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-06-11T13:43:40.852573+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "28bec671-8913-4f55-886b-b1e064d1bb79",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "280fe835-fbf7-43b6-be4f-2dec328a1d9b",
"Sequence": 1,
"AncestorCategoryId": "77ab13fb-c4a4-4a8c-904a-e984066ea638",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "28bec671-8913-4f55-886b-b1e064d1bb79",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "280fe835-fbf7-43b6-be4f-2dec328a1d9b",
"Sequence": 1,
"AncestorCategoryId": "77ab13fb-c4a4-4a8c-904a-e984066ea638",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "4876bf72-03d9-4d09-9327-493f7967e4f3",
"CategoryId": "d55cdded-5387-4f31-9bd8-c48e5a742494",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "659d2139-abf0-4e92-a153-c64051a27b59",
"Score": 1.0,
"State": 1
},
{
"Id": "659d2139-abf0-4e92-a153-c64051a27b59",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "27cb1966-8804-4faa-9d80-9dbb27f4174e",
"Questions": [
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
},
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
}
]
},
{
"Id": "27cb1966-8804-4faa-9d80-9dbb27f4174e",
"Questions": [
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
},
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "da34f509-7f94-43e7-9249-10874e8d4e20",
"ContentItemId": "84dccec6-09d5-4409-97b5-b36c3b6e6899",
"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-06-11T13:43:40.852573+00:00",
"RescheduleDate": "2026-06-11T13:43:40.852573+00:00"
},
{
"Id": "da34f509-7f94-43e7-9249-10874e8d4e20",
"ContentItemId": "84dccec6-09d5-4409-97b5-b36c3b6e6899",
"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-06-11T13:43:40.852573+00:00",
"RescheduleDate": "2026-06-11T13:43:40.852573+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "baec5ade-53a1-4dc7-89a6-ab397a3a1677",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-06-11T13:43:40.8838177+00:00",
"Registration": {
"Id": "5ff84095-6c91-4d26-a846-8db6a6b51d2e",
"UserId": "21002475-fa41-4986-8d6c-1d67131a86d7",
"IsCurrent": true,
"CenterId": "942d8e7a-d153-41aa-aba1-74f598bda68d",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "730d4013-1e2d-44ab-8a49-492afa381c72",
"EndDate": "2026-06-11T13:43:40.852573+00:00",
"StartDate": "2026-06-11T13:43:40.852573+00:00",
"SchedulePreferenceDate": "2026-06-11T13:43:40.852573+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-06-11T13:43:40.852573+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "28bec671-8913-4f55-886b-b1e064d1bb79",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "280fe835-fbf7-43b6-be4f-2dec328a1d9b",
"Sequence": 1,
"AncestorCategoryId": "77ab13fb-c4a4-4a8c-904a-e984066ea638",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "28bec671-8913-4f55-886b-b1e064d1bb79",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "280fe835-fbf7-43b6-be4f-2dec328a1d9b",
"Sequence": 1,
"AncestorCategoryId": "77ab13fb-c4a4-4a8c-904a-e984066ea638",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "e13c597b-6235-4d43-8017-ffac71636bac",
"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": "4876bf72-03d9-4d09-9327-493f7967e4f3",
"CategoryId": "d55cdded-5387-4f31-9bd8-c48e5a742494",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "659d2139-abf0-4e92-a153-c64051a27b59",
"Score": 1.0,
"State": 1
},
{
"Id": "659d2139-abf0-4e92-a153-c64051a27b59",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "27cb1966-8804-4faa-9d80-9dbb27f4174e",
"Questions": [
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
},
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
}
]
},
{
"Id": "27cb1966-8804-4faa-9d80-9dbb27f4174e",
"Questions": [
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
},
{
"Id": "e7e88d5e-4874-4376-8793-43257a759d69",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "da34f509-7f94-43e7-9249-10874e8d4e20",
"ContentItemId": "84dccec6-09d5-4409-97b5-b36c3b6e6899",
"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-06-11T13:43:40.852573+00:00",
"RescheduleDate": "2026-06-11T13:43:40.852573+00:00"
},
{
"Id": "da34f509-7f94-43e7-9249-10874e8d4e20",
"ContentItemId": "84dccec6-09d5-4409-97b5-b36c3b6e6899",
"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-06-11T13:43:40.852573+00:00",
"RescheduleDate": "2026-06-11T13:43:40.852573+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}