GET v2/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.View.UserStateViewModelResponse Formats
application/json
Sample:
{
"UserId": "3c5ecb63-1bf4-430b-b6bd-bc0d8758460c",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-11-27T06:42:41.818514+00:00",
"Registration": [
{
"Id": "b49f0472-e6dd-4c51-992f-a32604c01906",
"UserId": "ef9dc653-a067-41a2-bf27-7c11b679f95a",
"IsCurrent": true,
"CenterId": "ae91022e-8934-4f3c-8db8-aed8e7fc9113",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "13f9886a-371d-48ac-aea6-167f13d90ea7",
"EndDate": "2025-11-27T06:42:41.818514+00:00",
"StartDate": "2025-11-27T06:42:41.818514+00:00",
"SchedulePreferenceDate": "2025-11-27T06:42:41.818514+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"
},
{
"Id": "b49f0472-e6dd-4c51-992f-a32604c01906",
"UserId": "ef9dc653-a067-41a2-bf27-7c11b679f95a",
"IsCurrent": true,
"CenterId": "ae91022e-8934-4f3c-8db8-aed8e7fc9113",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "13f9886a-371d-48ac-aea6-167f13d90ea7",
"EndDate": "2025-11-27T06:42:41.818514+00:00",
"StartDate": "2025-11-27T06:42:41.818514+00:00",
"SchedulePreferenceDate": "2025-11-27T06:42:41.818514+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-11-27T06:42:41.818514+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d35f30ad-ffb0-4be6-bada-17da8ba782c4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "45b7f7fd-80ed-4f1a-9165-1ce475c204ac",
"Sequence": 1,
"AncestorCategoryId": "2f5eb477-d11d-44e7-ac47-31312327d9eb",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "d35f30ad-ffb0-4be6-bada-17da8ba782c4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "45b7f7fd-80ed-4f1a-9165-1ce475c204ac",
"Sequence": 1,
"AncestorCategoryId": "2f5eb477-d11d-44e7-ac47-31312327d9eb",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "0ab9ebd4-d289-463c-b93b-d071beb2d7ad",
"CategoryId": "99146005-3dd3-4d7d-88cf-1a4fc0986b48",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "4fd20ded-f18a-49f0-baee-9418b1c3e43e",
"Score": 1.0,
"State": 1
},
{
"Id": "4fd20ded-f18a-49f0-baee-9418b1c3e43e",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "ef1504d6-0536-4f4b-8234-570da960af60",
"Questions": [
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
},
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
}
]
},
{
"Id": "ef1504d6-0536-4f4b-8234-570da960af60",
"Questions": [
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
},
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "ce0226d1-6b6e-4177-b85e-394a6fefefd0",
"ContentItemId": "7f27528f-1c8c-48b9-be36-bac3d448b9e8",
"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-11-27T06:42:41.818514+00:00",
"RescheduleDate": "2025-11-27T06:42:41.818514+00:00"
},
{
"Id": "ce0226d1-6b6e-4177-b85e-394a6fefefd0",
"ContentItemId": "7f27528f-1c8c-48b9-be36-bac3d448b9e8",
"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-11-27T06:42:41.818514+00:00",
"RescheduleDate": "2025-11-27T06:42:41.818514+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
},
"StudentSpeakPlusLevelInfo": "sample string 5"
}
text/json
Sample:
{
"UserId": "3c5ecb63-1bf4-430b-b6bd-bc0d8758460c",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-11-27T06:42:41.8810199+00:00",
"Registration": [
{
"Id": "b49f0472-e6dd-4c51-992f-a32604c01906",
"UserId": "ef9dc653-a067-41a2-bf27-7c11b679f95a",
"IsCurrent": true,
"CenterId": "ae91022e-8934-4f3c-8db8-aed8e7fc9113",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "13f9886a-371d-48ac-aea6-167f13d90ea7",
"EndDate": "2025-11-27T06:42:41.818514+00:00",
"StartDate": "2025-11-27T06:42:41.818514+00:00",
"SchedulePreferenceDate": "2025-11-27T06:42:41.818514+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"
},
{
"Id": "b49f0472-e6dd-4c51-992f-a32604c01906",
"UserId": "ef9dc653-a067-41a2-bf27-7c11b679f95a",
"IsCurrent": true,
"CenterId": "ae91022e-8934-4f3c-8db8-aed8e7fc9113",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "13f9886a-371d-48ac-aea6-167f13d90ea7",
"EndDate": "2025-11-27T06:42:41.818514+00:00",
"StartDate": "2025-11-27T06:42:41.818514+00:00",
"SchedulePreferenceDate": "2025-11-27T06:42:41.818514+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-11-27T06:42:41.818514+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d35f30ad-ffb0-4be6-bada-17da8ba782c4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "45b7f7fd-80ed-4f1a-9165-1ce475c204ac",
"Sequence": 1,
"AncestorCategoryId": "2f5eb477-d11d-44e7-ac47-31312327d9eb",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "d35f30ad-ffb0-4be6-bada-17da8ba782c4",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "45b7f7fd-80ed-4f1a-9165-1ce475c204ac",
"Sequence": 1,
"AncestorCategoryId": "2f5eb477-d11d-44e7-ac47-31312327d9eb",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "afcd8659-6ae6-46b2-ad5b-04a11dd0b04d",
"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": "0ab9ebd4-d289-463c-b93b-d071beb2d7ad",
"CategoryId": "99146005-3dd3-4d7d-88cf-1a4fc0986b48",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "4fd20ded-f18a-49f0-baee-9418b1c3e43e",
"Score": 1.0,
"State": 1
},
{
"Id": "4fd20ded-f18a-49f0-baee-9418b1c3e43e",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "ef1504d6-0536-4f4b-8234-570da960af60",
"Questions": [
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
},
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
}
]
},
{
"Id": "ef1504d6-0536-4f4b-8234-570da960af60",
"Questions": [
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
},
{
"Id": "49a075e8-7d4e-4525-98c6-678fbc5adfdc",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "ce0226d1-6b6e-4177-b85e-394a6fefefd0",
"ContentItemId": "7f27528f-1c8c-48b9-be36-bac3d448b9e8",
"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-11-27T06:42:41.818514+00:00",
"RescheduleDate": "2025-11-27T06:42:41.818514+00:00"
},
{
"Id": "ce0226d1-6b6e-4177-b85e-394a6fefefd0",
"ContentItemId": "7f27528f-1c8c-48b9-be36-bac3d448b9e8",
"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-11-27T06:42:41.818514+00:00",
"RescheduleDate": "2025-11-27T06:42:41.818514+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
},
"StudentSpeakPlusLevelInfo": "sample string 5"
}