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": "8dbc4efb-c75a-47bd-8b7d-03caa467c01d",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-24T13:28:04.669188+00:00",
"Registration": {
"Id": "67684a43-e6e6-40a3-b2c9-741aa6a98c80",
"UserId": "0c9dfa4d-d6b0-414f-8203-ef543f8b7309",
"IsCurrent": true,
"CenterId": "2c3396e4-0d97-44c3-bebe-4c188c1d7e94",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "963eb152-a27f-4d88-bb7d-12d9c69aaf50",
"EndDate": "2025-12-24T13:28:04.637877+00:00",
"StartDate": "2025-12-24T13:28:04.637877+00:00",
"SchedulePreferenceDate": "2025-12-24T13:28:04.637877+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-24T13:28:04.637877+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "e4e5c547-f6cd-4b6a-87c6-e1ba3fc46fe6",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "e019fb43-7044-4365-a737-8603b54d1d60",
"Sequence": 1,
"AncestorCategoryId": "5f15ece7-3809-4a17-b026-39f1759e584a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "e4e5c547-f6cd-4b6a-87c6-e1ba3fc46fe6",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "e019fb43-7044-4365-a737-8603b54d1d60",
"Sequence": 1,
"AncestorCategoryId": "5f15ece7-3809-4a17-b026-39f1759e584a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "8fdcf5bf-b93c-492e-aa7f-b293f048951f",
"CategoryId": "099b2c6a-79dc-4dd7-9824-7de2ba932006",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "1ccee1fe-febf-4963-acad-4a7e11b11241",
"Score": 1.0,
"State": 1
},
{
"Id": "1ccee1fe-febf-4963-acad-4a7e11b11241",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "84199f15-d7b4-426c-a7fd-8710537f1e49",
"Questions": [
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
},
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
}
]
},
{
"Id": "84199f15-d7b4-426c-a7fd-8710537f1e49",
"Questions": [
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
},
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a6b7803d-9ca5-4f86-b79a-17a8a517cc9f",
"ContentItemId": "8f161fee-1444-4782-913c-2bea213409e3",
"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-24T13:28:04.6535539+00:00",
"RescheduleDate": "2025-12-24T13:28:04.6535539+00:00"
},
{
"Id": "a6b7803d-9ca5-4f86-b79a-17a8a517cc9f",
"ContentItemId": "8f161fee-1444-4782-913c-2bea213409e3",
"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-24T13:28:04.6535539+00:00",
"RescheduleDate": "2025-12-24T13:28:04.6535539+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "8dbc4efb-c75a-47bd-8b7d-03caa467c01d",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-24T13:28:04.778564+00:00",
"Registration": {
"Id": "67684a43-e6e6-40a3-b2c9-741aa6a98c80",
"UserId": "0c9dfa4d-d6b0-414f-8203-ef543f8b7309",
"IsCurrent": true,
"CenterId": "2c3396e4-0d97-44c3-bebe-4c188c1d7e94",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "963eb152-a27f-4d88-bb7d-12d9c69aaf50",
"EndDate": "2025-12-24T13:28:04.637877+00:00",
"StartDate": "2025-12-24T13:28:04.637877+00:00",
"SchedulePreferenceDate": "2025-12-24T13:28:04.637877+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-24T13:28:04.637877+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "e4e5c547-f6cd-4b6a-87c6-e1ba3fc46fe6",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "e019fb43-7044-4365-a737-8603b54d1d60",
"Sequence": 1,
"AncestorCategoryId": "5f15ece7-3809-4a17-b026-39f1759e584a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "e4e5c547-f6cd-4b6a-87c6-e1ba3fc46fe6",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "e019fb43-7044-4365-a737-8603b54d1d60",
"Sequence": 1,
"AncestorCategoryId": "5f15ece7-3809-4a17-b026-39f1759e584a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "998f85da-9336-4261-8fdf-1f3ca3b02e6d",
"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": "8fdcf5bf-b93c-492e-aa7f-b293f048951f",
"CategoryId": "099b2c6a-79dc-4dd7-9824-7de2ba932006",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "1ccee1fe-febf-4963-acad-4a7e11b11241",
"Score": 1.0,
"State": 1
},
{
"Id": "1ccee1fe-febf-4963-acad-4a7e11b11241",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "84199f15-d7b4-426c-a7fd-8710537f1e49",
"Questions": [
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
},
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
}
]
},
{
"Id": "84199f15-d7b4-426c-a7fd-8710537f1e49",
"Questions": [
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
},
{
"Id": "83853ed6-1c07-41ee-afb8-f26bf4cb09ac",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a6b7803d-9ca5-4f86-b79a-17a8a517cc9f",
"ContentItemId": "8f161fee-1444-4782-913c-2bea213409e3",
"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-24T13:28:04.6535539+00:00",
"RescheduleDate": "2025-12-24T13:28:04.6535539+00:00"
},
{
"Id": "a6b7803d-9ca5-4f86-b79a-17a8a517cc9f",
"ContentItemId": "8f161fee-1444-4782-913c-2bea213409e3",
"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-24T13:28:04.6535539+00:00",
"RescheduleDate": "2025-12-24T13:28:04.6535539+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}