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": "afc83090-a824-45d5-b46f-ba4f59d25e84",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-23T12:02:25.5110667+00:00",
"Registration": [
{
"Id": "31be9dd9-3d0c-4caa-8ad6-d37c9931154b",
"UserId": "b034f6e3-cf4a-42ae-97c8-74c76c94cb28",
"IsCurrent": true,
"CenterId": "96c9ddaf-266d-4e45-9826-a3ff26b0a2e4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "9d1a192d-ef91-49eb-865d-2fb29a8e6632",
"EndDate": "2025-12-23T12:02:25.4954434+00:00",
"StartDate": "2025-12-23T12:02:25.4954434+00:00",
"SchedulePreferenceDate": "2025-12-23T12:02:25.4954434+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": "31be9dd9-3d0c-4caa-8ad6-d37c9931154b",
"UserId": "b034f6e3-cf4a-42ae-97c8-74c76c94cb28",
"IsCurrent": true,
"CenterId": "96c9ddaf-266d-4e45-9826-a3ff26b0a2e4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "9d1a192d-ef91-49eb-865d-2fb29a8e6632",
"EndDate": "2025-12-23T12:02:25.4954434+00:00",
"StartDate": "2025-12-23T12:02:25.4954434+00:00",
"SchedulePreferenceDate": "2025-12-23T12:02:25.4954434+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-12-23T12:02:25.4954434+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d4677c6b-14ce-40d1-bcd5-5a464c67a2ee",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a01c57a2-0c75-4c6e-84de-602905c71d20",
"Sequence": 1,
"AncestorCategoryId": "70229846-1f4b-4b2c-b4c9-4e02db30c506",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "d4677c6b-14ce-40d1-bcd5-5a464c67a2ee",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a01c57a2-0c75-4c6e-84de-602905c71d20",
"Sequence": 1,
"AncestorCategoryId": "70229846-1f4b-4b2c-b4c9-4e02db30c506",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "d1138012-4a8c-4950-826e-3fc72c535a41",
"CategoryId": "7af498bc-8a08-4320-8097-dcc9b77eeafc",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "fb50549a-ef6b-4ba9-b70f-aeee595a11c8",
"Score": 1.0,
"State": 1
},
{
"Id": "fb50549a-ef6b-4ba9-b70f-aeee595a11c8",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "01a99a2f-519b-4160-8d7b-628d5da008ef",
"Questions": [
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
},
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
}
]
},
{
"Id": "01a99a2f-519b-4160-8d7b-628d5da008ef",
"Questions": [
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
},
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "8543695c-6c73-4919-9c73-4e77ba76b375",
"ContentItemId": "21395942-254b-43df-a434-6a034859a818",
"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-12-23T12:02:25.4954434+00:00",
"RescheduleDate": "2025-12-23T12:02:25.4954434+00:00"
},
{
"Id": "8543695c-6c73-4919-9c73-4e77ba76b375",
"ContentItemId": "21395942-254b-43df-a434-6a034859a818",
"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-12-23T12:02:25.4954434+00:00",
"RescheduleDate": "2025-12-23T12:02:25.4954434+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": "afc83090-a824-45d5-b46f-ba4f59d25e84",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-23T12:02:25.6360668+00:00",
"Registration": [
{
"Id": "31be9dd9-3d0c-4caa-8ad6-d37c9931154b",
"UserId": "b034f6e3-cf4a-42ae-97c8-74c76c94cb28",
"IsCurrent": true,
"CenterId": "96c9ddaf-266d-4e45-9826-a3ff26b0a2e4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "9d1a192d-ef91-49eb-865d-2fb29a8e6632",
"EndDate": "2025-12-23T12:02:25.4954434+00:00",
"StartDate": "2025-12-23T12:02:25.4954434+00:00",
"SchedulePreferenceDate": "2025-12-23T12:02:25.4954434+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": "31be9dd9-3d0c-4caa-8ad6-d37c9931154b",
"UserId": "b034f6e3-cf4a-42ae-97c8-74c76c94cb28",
"IsCurrent": true,
"CenterId": "96c9ddaf-266d-4e45-9826-a3ff26b0a2e4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "9d1a192d-ef91-49eb-865d-2fb29a8e6632",
"EndDate": "2025-12-23T12:02:25.4954434+00:00",
"StartDate": "2025-12-23T12:02:25.4954434+00:00",
"SchedulePreferenceDate": "2025-12-23T12:02:25.4954434+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-12-23T12:02:25.4954434+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "d4677c6b-14ce-40d1-bcd5-5a464c67a2ee",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a01c57a2-0c75-4c6e-84de-602905c71d20",
"Sequence": 1,
"AncestorCategoryId": "70229846-1f4b-4b2c-b4c9-4e02db30c506",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "d4677c6b-14ce-40d1-bcd5-5a464c67a2ee",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a01c57a2-0c75-4c6e-84de-602905c71d20",
"Sequence": 1,
"AncestorCategoryId": "70229846-1f4b-4b2c-b4c9-4e02db30c506",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "34a46576-c8f6-4040-9d22-ac853d939a97",
"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": "d1138012-4a8c-4950-826e-3fc72c535a41",
"CategoryId": "7af498bc-8a08-4320-8097-dcc9b77eeafc",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "fb50549a-ef6b-4ba9-b70f-aeee595a11c8",
"Score": 1.0,
"State": 1
},
{
"Id": "fb50549a-ef6b-4ba9-b70f-aeee595a11c8",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "01a99a2f-519b-4160-8d7b-628d5da008ef",
"Questions": [
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
},
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
}
]
},
{
"Id": "01a99a2f-519b-4160-8d7b-628d5da008ef",
"Questions": [
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
},
{
"Id": "3d91a237-e414-4ccc-b754-c2cc7a9e8195",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "8543695c-6c73-4919-9c73-4e77ba76b375",
"ContentItemId": "21395942-254b-43df-a434-6a034859a818",
"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-12-23T12:02:25.4954434+00:00",
"RescheduleDate": "2025-12-23T12:02:25.4954434+00:00"
},
{
"Id": "8543695c-6c73-4919-9c73-4e77ba76b375",
"ContentItemId": "21395942-254b-43df-a434-6a034859a818",
"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-12-23T12:02:25.4954434+00:00",
"RescheduleDate": "2025-12-23T12:02:25.4954434+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
},
"StudentSpeakPlusLevelInfo": "sample string 5"
}