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": "61f425bb-e193-4769-ade5-30dbb9b27746",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-11-08T22:42:52.4211125+00:00",
"Registration": [
{
"Id": "3246c872-629c-45bd-92de-210e59ce2106",
"UserId": "1eab84b3-0bf8-4cf2-992a-ef4c59071c15",
"IsCurrent": true,
"CenterId": "922a4950-ca7f-458c-9811-63ce40537e41",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "7e564505-6dd4-49de-8a05-7b6daab89d24",
"EndDate": "2025-11-08T22:42:52.3310724+00:00",
"StartDate": "2025-11-08T22:42:52.3310724+00:00",
"SchedulePreferenceDate": "2025-11-08T22:42:52.3310724+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": "3246c872-629c-45bd-92de-210e59ce2106",
"UserId": "1eab84b3-0bf8-4cf2-992a-ef4c59071c15",
"IsCurrent": true,
"CenterId": "922a4950-ca7f-458c-9811-63ce40537e41",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "7e564505-6dd4-49de-8a05-7b6daab89d24",
"EndDate": "2025-11-08T22:42:52.3310724+00:00",
"StartDate": "2025-11-08T22:42:52.3310724+00:00",
"SchedulePreferenceDate": "2025-11-08T22:42:52.3310724+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-08T22:42:52.3429871+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "af5f35a8-0ad8-4fd9-8788-8206edf6281d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a0281251-2a81-49af-89b0-c17726cf866c",
"Sequence": 1,
"AncestorCategoryId": "240b014f-3bb5-4198-b9ba-4c6d23ee9763",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "af5f35a8-0ad8-4fd9-8788-8206edf6281d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a0281251-2a81-49af-89b0-c17726cf866c",
"Sequence": 1,
"AncestorCategoryId": "240b014f-3bb5-4198-b9ba-4c6d23ee9763",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "c89e9bb0-17da-41d0-b155-aee121365161",
"CategoryId": "cf3633c0-3ba2-4b0a-8650-ba017ef7e03b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "cbb6a884-3287-4d4b-bd74-12f24b05d3af",
"Score": 1.0,
"State": 1
},
{
"Id": "cbb6a884-3287-4d4b-bd74-12f24b05d3af",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "bfc3cda0-ea2b-48d3-910c-49eaae087ca9",
"Questions": [
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
},
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
}
]
},
{
"Id": "bfc3cda0-ea2b-48d3-910c-49eaae087ca9",
"Questions": [
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
},
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "165821cc-2a30-4c39-9f1d-b9c42be98c8a",
"ContentItemId": "309f4583-eb97-4fdf-8d81-a4e2e90348a8",
"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-08T22:42:52.3898506+00:00",
"RescheduleDate": "2025-11-08T22:42:52.3898506+00:00"
},
{
"Id": "165821cc-2a30-4c39-9f1d-b9c42be98c8a",
"ContentItemId": "309f4583-eb97-4fdf-8d81-a4e2e90348a8",
"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-08T22:42:52.3898506+00:00",
"RescheduleDate": "2025-11-08T22:42:52.3898506+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": "61f425bb-e193-4769-ade5-30dbb9b27746",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-11-08T22:42:52.6132382+00:00",
"Registration": [
{
"Id": "3246c872-629c-45bd-92de-210e59ce2106",
"UserId": "1eab84b3-0bf8-4cf2-992a-ef4c59071c15",
"IsCurrent": true,
"CenterId": "922a4950-ca7f-458c-9811-63ce40537e41",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "7e564505-6dd4-49de-8a05-7b6daab89d24",
"EndDate": "2025-11-08T22:42:52.3310724+00:00",
"StartDate": "2025-11-08T22:42:52.3310724+00:00",
"SchedulePreferenceDate": "2025-11-08T22:42:52.3310724+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": "3246c872-629c-45bd-92de-210e59ce2106",
"UserId": "1eab84b3-0bf8-4cf2-992a-ef4c59071c15",
"IsCurrent": true,
"CenterId": "922a4950-ca7f-458c-9811-63ce40537e41",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "7e564505-6dd4-49de-8a05-7b6daab89d24",
"EndDate": "2025-11-08T22:42:52.3310724+00:00",
"StartDate": "2025-11-08T22:42:52.3310724+00:00",
"SchedulePreferenceDate": "2025-11-08T22:42:52.3310724+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-08T22:42:52.3429871+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "af5f35a8-0ad8-4fd9-8788-8206edf6281d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a0281251-2a81-49af-89b0-c17726cf866c",
"Sequence": 1,
"AncestorCategoryId": "240b014f-3bb5-4198-b9ba-4c6d23ee9763",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "af5f35a8-0ad8-4fd9-8788-8206edf6281d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "a0281251-2a81-49af-89b0-c17726cf866c",
"Sequence": 1,
"AncestorCategoryId": "240b014f-3bb5-4198-b9ba-4c6d23ee9763",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "5235e11a-a5c8-4207-b3b7-26624244ee7e",
"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": "c89e9bb0-17da-41d0-b155-aee121365161",
"CategoryId": "cf3633c0-3ba2-4b0a-8650-ba017ef7e03b",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "cbb6a884-3287-4d4b-bd74-12f24b05d3af",
"Score": 1.0,
"State": 1
},
{
"Id": "cbb6a884-3287-4d4b-bd74-12f24b05d3af",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "bfc3cda0-ea2b-48d3-910c-49eaae087ca9",
"Questions": [
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
},
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
}
]
},
{
"Id": "bfc3cda0-ea2b-48d3-910c-49eaae087ca9",
"Questions": [
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
},
{
"Id": "0a5ed1b2-9626-40c2-9464-6f402b4e92bd",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "165821cc-2a30-4c39-9f1d-b9c42be98c8a",
"ContentItemId": "309f4583-eb97-4fdf-8d81-a4e2e90348a8",
"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-08T22:42:52.3898506+00:00",
"RescheduleDate": "2025-11-08T22:42:52.3898506+00:00"
},
{
"Id": "165821cc-2a30-4c39-9f1d-b9c42be98c8a",
"ContentItemId": "309f4583-eb97-4fdf-8d81-a4e2e90348a8",
"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-08T22:42:52.3898506+00:00",
"RescheduleDate": "2025-11-08T22:42:52.3898506+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
},
"StudentSpeakPlusLevelInfo": "sample string 5"
}