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": "0b8be9a5-a4a2-47c6-875d-9cb39b98026e",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-02-25T03:26:48.7008553+00:00",
"Registration": {
"Id": "294eff58-f10e-4d41-97bd-ce93d8210bed",
"UserId": "5896328f-2967-404e-86d1-3aeb9c81d6f4",
"IsCurrent": true,
"CenterId": "24f4913a-3d16-463c-8d5a-48c9a28147f8",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "d44df662-3632-46fa-aa51-3bb05c7055ca",
"EndDate": "2026-02-25T03:26:48.7008553+00:00",
"StartDate": "2026-02-25T03:26:48.7008553+00:00",
"SchedulePreferenceDate": "2026-02-25T03:26:48.7008553+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-02-25T03:26:48.7008553+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d3e887fe-4869-443b-ae96-e72804c21a39",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "df60230c-9330-4f0e-a64f-b13167df917e",
"Sequence": 1,
"AncestorCategoryId": "81fcca0f-84a4-49c2-82ae-e03f285f9826",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "d3e887fe-4869-443b-ae96-e72804c21a39",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "df60230c-9330-4f0e-a64f-b13167df917e",
"Sequence": 1,
"AncestorCategoryId": "81fcca0f-84a4-49c2-82ae-e03f285f9826",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "ae99c4ce-c614-4934-bc8f-c64d9876ccf9",
"CategoryId": "f77aa2ca-5d10-4ec4-88ca-49b982d65f8e",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "7b1a5dc3-c694-4b90-a0a0-558a734e158b",
"Score": 1.0,
"State": 1
},
{
"Id": "7b1a5dc3-c694-4b90-a0a0-558a734e158b",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "dceae180-e525-484e-92d9-79509fb8722b",
"Questions": [
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
},
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
}
]
},
{
"Id": "dceae180-e525-484e-92d9-79509fb8722b",
"Questions": [
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
},
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a87189c4-3792-4302-b3ab-18bbfc0f1320",
"ContentItemId": "a1bf6719-4f78-48d4-925c-1a1d616da2d0",
"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-02-25T03:26:48.7008553+00:00",
"RescheduleDate": "2026-02-25T03:26:48.7008553+00:00"
},
{
"Id": "a87189c4-3792-4302-b3ab-18bbfc0f1320",
"ContentItemId": "a1bf6719-4f78-48d4-925c-1a1d616da2d0",
"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-02-25T03:26:48.7008553+00:00",
"RescheduleDate": "2026-02-25T03:26:48.7008553+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "0b8be9a5-a4a2-47c6-875d-9cb39b98026e",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-02-25T03:26:48.7477302+00:00",
"Registration": {
"Id": "294eff58-f10e-4d41-97bd-ce93d8210bed",
"UserId": "5896328f-2967-404e-86d1-3aeb9c81d6f4",
"IsCurrent": true,
"CenterId": "24f4913a-3d16-463c-8d5a-48c9a28147f8",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "d44df662-3632-46fa-aa51-3bb05c7055ca",
"EndDate": "2026-02-25T03:26:48.7008553+00:00",
"StartDate": "2026-02-25T03:26:48.7008553+00:00",
"SchedulePreferenceDate": "2026-02-25T03:26:48.7008553+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-02-25T03:26:48.7008553+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d3e887fe-4869-443b-ae96-e72804c21a39",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "df60230c-9330-4f0e-a64f-b13167df917e",
"Sequence": 1,
"AncestorCategoryId": "81fcca0f-84a4-49c2-82ae-e03f285f9826",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "d3e887fe-4869-443b-ae96-e72804c21a39",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "df60230c-9330-4f0e-a64f-b13167df917e",
"Sequence": 1,
"AncestorCategoryId": "81fcca0f-84a4-49c2-82ae-e03f285f9826",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "bb292d88-450f-4471-aad2-41caf83844f9",
"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": "ae99c4ce-c614-4934-bc8f-c64d9876ccf9",
"CategoryId": "f77aa2ca-5d10-4ec4-88ca-49b982d65f8e",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "7b1a5dc3-c694-4b90-a0a0-558a734e158b",
"Score": 1.0,
"State": 1
},
{
"Id": "7b1a5dc3-c694-4b90-a0a0-558a734e158b",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "dceae180-e525-484e-92d9-79509fb8722b",
"Questions": [
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
},
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
}
]
},
{
"Id": "dceae180-e525-484e-92d9-79509fb8722b",
"Questions": [
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
},
{
"Id": "525e017c-6b3a-48da-bfee-cc4b008667a4",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "a87189c4-3792-4302-b3ab-18bbfc0f1320",
"ContentItemId": "a1bf6719-4f78-48d4-925c-1a1d616da2d0",
"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-02-25T03:26:48.7008553+00:00",
"RescheduleDate": "2026-02-25T03:26:48.7008553+00:00"
},
{
"Id": "a87189c4-3792-4302-b3ab-18bbfc0f1320",
"ContentItemId": "a1bf6719-4f78-48d4-925c-1a1d616da2d0",
"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-02-25T03:26:48.7008553+00:00",
"RescheduleDate": "2026-02-25T03:26:48.7008553+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}