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": "ea2e52f5-aabc-4339-a497-5481df657ff4",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-04-18T11:17:58.0383358+00:00",
"Registration": {
"Id": "54a289d3-7d2a-4ff8-8e81-bedded39a2e3",
"UserId": "5ba56bfe-6c3a-467a-9d8d-fa5ba083f997",
"IsCurrent": true,
"CenterId": "36863aec-ca04-46ad-9e03-41ea7a2c541a",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "c0940e5d-532f-4473-bcab-214f137a61db",
"EndDate": "2026-04-18T11:17:58.0227041+00:00",
"StartDate": "2026-04-18T11:17:58.0227041+00:00",
"SchedulePreferenceDate": "2026-04-18T11:17:58.0227041+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-04-18T11:17:58.0227041+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "149bd15d-1436-4589-8bcb-6840a91dddab",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef85a93-8310-4533-9f16-b350ac69a1bd",
"Sequence": 1,
"AncestorCategoryId": "36958b7d-1e3d-4701-b024-1c26e1e4d1ca",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "149bd15d-1436-4589-8bcb-6840a91dddab",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef85a93-8310-4533-9f16-b350ac69a1bd",
"Sequence": 1,
"AncestorCategoryId": "36958b7d-1e3d-4701-b024-1c26e1e4d1ca",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "e1328bbb-372c-4c77-a09d-8ace86297a94",
"CategoryId": "916f12fc-11e3-4895-9f68-8a29a8760b40",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "3b6fc77f-43b8-4d03-9c1a-70ff89c3159c",
"Score": 1.0,
"State": 1
},
{
"Id": "3b6fc77f-43b8-4d03-9c1a-70ff89c3159c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "5e09722b-b63b-411f-9b02-0a0078cbc7c7",
"Questions": [
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
},
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
}
]
},
{
"Id": "5e09722b-b63b-411f-9b02-0a0078cbc7c7",
"Questions": [
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
},
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "1793a66b-9930-4515-97a4-960118ff0790",
"ContentItemId": "8a8e99e0-a7c5-4157-bf1c-bbb9afed5784",
"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-04-18T11:17:58.0383358+00:00",
"RescheduleDate": "2026-04-18T11:17:58.0383358+00:00"
},
{
"Id": "1793a66b-9930-4515-97a4-960118ff0790",
"ContentItemId": "8a8e99e0-a7c5-4157-bf1c-bbb9afed5784",
"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-04-18T11:17:58.0383358+00:00",
"RescheduleDate": "2026-04-18T11:17:58.0383358+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "ea2e52f5-aabc-4339-a497-5481df657ff4",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-04-18T11:17:58.0695799+00:00",
"Registration": {
"Id": "54a289d3-7d2a-4ff8-8e81-bedded39a2e3",
"UserId": "5ba56bfe-6c3a-467a-9d8d-fa5ba083f997",
"IsCurrent": true,
"CenterId": "36863aec-ca04-46ad-9e03-41ea7a2c541a",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "c0940e5d-532f-4473-bcab-214f137a61db",
"EndDate": "2026-04-18T11:17:58.0227041+00:00",
"StartDate": "2026-04-18T11:17:58.0227041+00:00",
"SchedulePreferenceDate": "2026-04-18T11:17:58.0227041+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-04-18T11:17:58.0227041+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "149bd15d-1436-4589-8bcb-6840a91dddab",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef85a93-8310-4533-9f16-b350ac69a1bd",
"Sequence": 1,
"AncestorCategoryId": "36958b7d-1e3d-4701-b024-1c26e1e4d1ca",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "149bd15d-1436-4589-8bcb-6840a91dddab",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "9ef85a93-8310-4533-9f16-b350ac69a1bd",
"Sequence": 1,
"AncestorCategoryId": "36958b7d-1e3d-4701-b024-1c26e1e4d1ca",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "de6c6799-656a-49b0-8b69-7cf11142bd18",
"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": "e1328bbb-372c-4c77-a09d-8ace86297a94",
"CategoryId": "916f12fc-11e3-4895-9f68-8a29a8760b40",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "3b6fc77f-43b8-4d03-9c1a-70ff89c3159c",
"Score": 1.0,
"State": 1
},
{
"Id": "3b6fc77f-43b8-4d03-9c1a-70ff89c3159c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "5e09722b-b63b-411f-9b02-0a0078cbc7c7",
"Questions": [
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
},
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
}
]
},
{
"Id": "5e09722b-b63b-411f-9b02-0a0078cbc7c7",
"Questions": [
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
},
{
"Id": "4b4935c6-4cdf-4038-8a8c-b8aa881bd868",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "1793a66b-9930-4515-97a4-960118ff0790",
"ContentItemId": "8a8e99e0-a7c5-4157-bf1c-bbb9afed5784",
"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-04-18T11:17:58.0383358+00:00",
"RescheduleDate": "2026-04-18T11:17:58.0383358+00:00"
},
{
"Id": "1793a66b-9930-4515-97a4-960118ff0790",
"ContentItemId": "8a8e99e0-a7c5-4157-bf1c-bbb9afed5784",
"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-04-18T11:17:58.0383358+00:00",
"RescheduleDate": "2026-04-18T11:17:58.0383358+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}