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": "d3333ca4-0c6c-40de-9e22-7509b9d54fa4",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-01T01:45:22.3130707+00:00",
"Registration": {
"Id": "5dec7eb8-c106-41d5-806b-ef4a6c3e1b20",
"UserId": "9a1494ff-ed53-40f2-916d-3dd59199b0f6",
"IsCurrent": true,
"CenterId": "e3abda20-d990-47a6-9aab-efed44150051",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2193604d-5cbd-49d5-95e0-62a8319a4c48",
"EndDate": "2026-07-01T01:45:22.3130707+00:00",
"StartDate": "2026-07-01T01:45:22.3130707+00:00",
"SchedulePreferenceDate": "2026-07-01T01:45:22.3130707+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-07-01T01:45:22.3130707+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "ae594173-f836-423b-aa63-27b4fabdd8b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "fcac9a9b-4524-45af-97ec-67b20d687b2b",
"Sequence": 1,
"AncestorCategoryId": "802a7ee3-f7c2-47fe-8b0e-3db14209851c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "ae594173-f836-423b-aa63-27b4fabdd8b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "fcac9a9b-4524-45af-97ec-67b20d687b2b",
"Sequence": 1,
"AncestorCategoryId": "802a7ee3-f7c2-47fe-8b0e-3db14209851c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "5b3beed6-e8a2-48e2-b7ff-b075c2cc760c",
"CategoryId": "0f1fa08e-7f05-47df-8674-b6040e63637d",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "4525d39f-256d-488d-972d-3821086c4e51",
"Score": 1.0,
"State": 1
},
{
"Id": "4525d39f-256d-488d-972d-3821086c4e51",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "ad10cb7c-80c9-4d79-a614-49fec3059bf0",
"Questions": [
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
},
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
}
]
},
{
"Id": "ad10cb7c-80c9-4d79-a614-49fec3059bf0",
"Questions": [
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
},
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "b342ea9e-6c46-4ab4-b693-27bb1aacbd17",
"ContentItemId": "feb9de6e-3859-4b8b-8cb7-fa762a7aa9f2",
"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-07-01T01:45:22.3130707+00:00",
"RescheduleDate": "2026-07-01T01:45:22.3130707+00:00"
},
{
"Id": "b342ea9e-6c46-4ab4-b693-27bb1aacbd17",
"ContentItemId": "feb9de6e-3859-4b8b-8cb7-fa762a7aa9f2",
"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-07-01T01:45:22.3130707+00:00",
"RescheduleDate": "2026-07-01T01:45:22.3130707+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "d3333ca4-0c6c-40de-9e22-7509b9d54fa4",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-07-01T01:45:22.3599464+00:00",
"Registration": {
"Id": "5dec7eb8-c106-41d5-806b-ef4a6c3e1b20",
"UserId": "9a1494ff-ed53-40f2-916d-3dd59199b0f6",
"IsCurrent": true,
"CenterId": "e3abda20-d990-47a6-9aab-efed44150051",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2193604d-5cbd-49d5-95e0-62a8319a4c48",
"EndDate": "2026-07-01T01:45:22.3130707+00:00",
"StartDate": "2026-07-01T01:45:22.3130707+00:00",
"SchedulePreferenceDate": "2026-07-01T01:45:22.3130707+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-07-01T01:45:22.3130707+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "ae594173-f836-423b-aa63-27b4fabdd8b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "fcac9a9b-4524-45af-97ec-67b20d687b2b",
"Sequence": 1,
"AncestorCategoryId": "802a7ee3-f7c2-47fe-8b0e-3db14209851c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "ae594173-f836-423b-aa63-27b4fabdd8b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "fcac9a9b-4524-45af-97ec-67b20d687b2b",
"Sequence": 1,
"AncestorCategoryId": "802a7ee3-f7c2-47fe-8b0e-3db14209851c",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "f018c77d-1a38-4aec-89c2-81b75d0be091",
"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": "5b3beed6-e8a2-48e2-b7ff-b075c2cc760c",
"CategoryId": "0f1fa08e-7f05-47df-8674-b6040e63637d",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "4525d39f-256d-488d-972d-3821086c4e51",
"Score": 1.0,
"State": 1
},
{
"Id": "4525d39f-256d-488d-972d-3821086c4e51",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "ad10cb7c-80c9-4d79-a614-49fec3059bf0",
"Questions": [
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
},
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
}
]
},
{
"Id": "ad10cb7c-80c9-4d79-a614-49fec3059bf0",
"Questions": [
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
},
{
"Id": "200ab42b-fdec-4bfd-af5e-5a74b7073702",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "b342ea9e-6c46-4ab4-b693-27bb1aacbd17",
"ContentItemId": "feb9de6e-3859-4b8b-8cb7-fa762a7aa9f2",
"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-07-01T01:45:22.3130707+00:00",
"RescheduleDate": "2026-07-01T01:45:22.3130707+00:00"
},
{
"Id": "b342ea9e-6c46-4ab4-b693-27bb1aacbd17",
"ContentItemId": "feb9de6e-3859-4b8b-8cb7-fa762a7aa9f2",
"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-07-01T01:45:22.3130707+00:00",
"RescheduleDate": "2026-07-01T01:45:22.3130707+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}