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": "0a09f715-db40-4a92-b0d7-6c7f5a7a3378",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-10-17T16:35:06.8009954+00:00",
"Registration": {
"Id": "082b3484-4597-4e04-9cd1-e4546efa5c7e",
"UserId": "1457aced-be08-483a-9f08-28b95ad9b913",
"IsCurrent": true,
"CenterId": "e5def44d-2d84-46b8-b37f-9804a15c5939",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "08297743-5bce-4b8e-8a5c-0d18aef18e03",
"EndDate": "2026-10-17T16:35:06.7853765+00:00",
"StartDate": "2026-10-17T16:35:06.7853765+00:00",
"SchedulePreferenceDate": "2026-10-17T16:35:06.7853765+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-10-17T16:35:06.7853765+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "3db7e33d-5237-4be5-9767-8cdd77049cc1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7532671c-0329-456a-8fd6-45b3216ef3dc",
"Sequence": 1,
"AncestorCategoryId": "2cf9e220-75e5-47d8-9b3e-97ac64107fed",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "3db7e33d-5237-4be5-9767-8cdd77049cc1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7532671c-0329-456a-8fd6-45b3216ef3dc",
"Sequence": 1,
"AncestorCategoryId": "2cf9e220-75e5-47d8-9b3e-97ac64107fed",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "e99d0fd8-1080-4e18-b532-40e2afcec0a3",
"CategoryId": "94e9123e-c6cd-4011-90d4-53eb6ad856fe",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "2a07fc3e-0b30-41b0-a43b-33b192463ab0",
"Score": 1.0,
"State": 1
},
{
"Id": "2a07fc3e-0b30-41b0-a43b-33b192463ab0",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "220fd5d3-c9bf-4245-95c1-a72e3bb98b67",
"Questions": [
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
},
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
}
]
},
{
"Id": "220fd5d3-c9bf-4245-95c1-a72e3bb98b67",
"Questions": [
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
},
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f09867ae-b202-462d-8dc0-6822dfc93f92",
"ContentItemId": "f65e7b00-e2ed-4451-8983-093a415c8a33",
"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-10-17T16:35:06.8009954+00:00",
"RescheduleDate": "2026-10-17T16:35:06.8009954+00:00"
},
{
"Id": "f09867ae-b202-462d-8dc0-6822dfc93f92",
"ContentItemId": "f65e7b00-e2ed-4451-8983-093a415c8a33",
"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-10-17T16:35:06.8009954+00:00",
"RescheduleDate": "2026-10-17T16:35:06.8009954+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "0a09f715-db40-4a92-b0d7-6c7f5a7a3378",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-10-17T16:35:06.8322454+00:00",
"Registration": {
"Id": "082b3484-4597-4e04-9cd1-e4546efa5c7e",
"UserId": "1457aced-be08-483a-9f08-28b95ad9b913",
"IsCurrent": true,
"CenterId": "e5def44d-2d84-46b8-b37f-9804a15c5939",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "08297743-5bce-4b8e-8a5c-0d18aef18e03",
"EndDate": "2026-10-17T16:35:06.7853765+00:00",
"StartDate": "2026-10-17T16:35:06.7853765+00:00",
"SchedulePreferenceDate": "2026-10-17T16:35:06.7853765+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-10-17T16:35:06.7853765+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "3db7e33d-5237-4be5-9767-8cdd77049cc1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7532671c-0329-456a-8fd6-45b3216ef3dc",
"Sequence": 1,
"AncestorCategoryId": "2cf9e220-75e5-47d8-9b3e-97ac64107fed",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "3db7e33d-5237-4be5-9767-8cdd77049cc1",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "7532671c-0329-456a-8fd6-45b3216ef3dc",
"Sequence": 1,
"AncestorCategoryId": "2cf9e220-75e5-47d8-9b3e-97ac64107fed",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "2c082500-97d7-4535-97f7-2a2fa687e220",
"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": "e99d0fd8-1080-4e18-b532-40e2afcec0a3",
"CategoryId": "94e9123e-c6cd-4011-90d4-53eb6ad856fe",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "2a07fc3e-0b30-41b0-a43b-33b192463ab0",
"Score": 1.0,
"State": 1
},
{
"Id": "2a07fc3e-0b30-41b0-a43b-33b192463ab0",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "220fd5d3-c9bf-4245-95c1-a72e3bb98b67",
"Questions": [
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
},
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
}
]
},
{
"Id": "220fd5d3-c9bf-4245-95c1-a72e3bb98b67",
"Questions": [
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
},
{
"Id": "fa563241-a9e6-47c4-a783-e252a8ab302f",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "f09867ae-b202-462d-8dc0-6822dfc93f92",
"ContentItemId": "f65e7b00-e2ed-4451-8983-093a415c8a33",
"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-10-17T16:35:06.8009954+00:00",
"RescheduleDate": "2026-10-17T16:35:06.8009954+00:00"
},
{
"Id": "f09867ae-b202-462d-8dc0-6822dfc93f92",
"ContentItemId": "f65e7b00-e2ed-4451-8983-093a415c8a33",
"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-10-17T16:35:06.8009954+00:00",
"RescheduleDate": "2026-10-17T16:35:06.8009954+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}