GET api/Learners/GetLearnersAndProductsByInstructor
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResultOfIEnumerableOfLearnerDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | boolean |
None. |
|
| Ok | boolean |
None. |
|
| Errors | Collection of Error |
None. |
|
| Data | Collection of LearnerDetail |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": false,
"Ok": true,
"Errors": [
{
"Id": "sample string 1",
"Entity": "sample string 2",
"Message": "sample string 3"
},
{
"Id": "sample string 1",
"Entity": "sample string 2",
"Message": "sample string 3"
}
],
"Data": [
{
"OcpID": "sample string 1",
"AssociatedUser": {
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"EmailAddress": "sample string 4",
"UserName": "sample string 5",
"InstitutionName": "sample string 6",
"Country": "sample string 7",
"CountryCode": "sample string 8",
"StreetAddress": "sample string 9",
"SecondaryAddress": "sample string 10",
"ThirdAddress": "sample string 11",
"City": "sample string 12",
"StateOrProvince": "sample string 13",
"StateOrProvinceCode": "sample string 14",
"ZipPostalCode": "sample string 15",
"Phone": "sample string 16",
"WorkPhone": "sample string 17",
"InstitutionPhone": "sample string 18",
"Type": 0,
"IsPreferredAddress": true,
"IsCommercial": true,
"IsPostOfficeBox": true,
"AddressTypeCode": "sample string 22",
"AddressTypePhone": "sample string 23",
"AddressId": "sample string 24",
"PersonId": "sample string 25",
"Password": "sample string 26",
"UserAuthorityId": 27,
"LanguageCode": "sample string 28"
},
"ProductName": "sample string 2",
"Section": "sample string 3",
"Course": "sample string 4",
"AccessCodeRedemptionDate": "2026-02-03T21:49:27.8208598-05:00",
"LastAccessDate": "2026-02-03T21:49:27.8208598-05:00",
"SectionComplete": "sample string 7",
"SkillcheckComplete": true,
"Grade": "sample string 9",
"AccessCode": "sample string 10",
"InvoiceNumber": "sample string 11",
"EnrollmentCode": "sample string 12",
"InstructorId": "sample string 13",
"SurveyTaken": true,
"TestPrepResultsUrl": "sample string 15",
"LearnerType": 0,
"DateCompleted": "sample string 16",
"ProductCertificateUrl": "sample string 17",
"ContinuingEdCertificateUrl": "sample string 18"
},
{
"OcpID": "sample string 1",
"AssociatedUser": {
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"EmailAddress": "sample string 4",
"UserName": "sample string 5",
"InstitutionName": "sample string 6",
"Country": "sample string 7",
"CountryCode": "sample string 8",
"StreetAddress": "sample string 9",
"SecondaryAddress": "sample string 10",
"ThirdAddress": "sample string 11",
"City": "sample string 12",
"StateOrProvince": "sample string 13",
"StateOrProvinceCode": "sample string 14",
"ZipPostalCode": "sample string 15",
"Phone": "sample string 16",
"WorkPhone": "sample string 17",
"InstitutionPhone": "sample string 18",
"Type": 0,
"IsPreferredAddress": true,
"IsCommercial": true,
"IsPostOfficeBox": true,
"AddressTypeCode": "sample string 22",
"AddressTypePhone": "sample string 23",
"AddressId": "sample string 24",
"PersonId": "sample string 25",
"Password": "sample string 26",
"UserAuthorityId": 27,
"LanguageCode": "sample string 28"
},
"ProductName": "sample string 2",
"Section": "sample string 3",
"Course": "sample string 4",
"AccessCodeRedemptionDate": "2026-02-03T21:49:27.8208598-05:00",
"LastAccessDate": "2026-02-03T21:49:27.8208598-05:00",
"SectionComplete": "sample string 7",
"SkillcheckComplete": true,
"Grade": "sample string 9",
"AccessCode": "sample string 10",
"InvoiceNumber": "sample string 11",
"EnrollmentCode": "sample string 12",
"InstructorId": "sample string 13",
"SurveyTaken": true,
"TestPrepResultsUrl": "sample string 15",
"LearnerType": 0,
"DateCompleted": "sample string 16",
"ProductCertificateUrl": "sample string 17",
"ContinuingEdCertificateUrl": "sample string 18"
}
]
}
application/xml, text/xml
Sample:
<ResultOfArrayOfLearnerDetailwnekxRBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/A2.Jbl.Api.Models">
<Data>
<LearnerDetail>
<AccessCode>sample string 10</AccessCode>
<AccessCodeRedemptionDate>2026-02-03T21:49:27.8208598-05:00</AccessCodeRedemptionDate>
<AssociatedUser>
<AddressId>sample string 24</AddressId>
<AddressTypeCode>sample string 22</AddressTypeCode>
<AddressTypePhone>sample string 23</AddressTypePhone>
<City>sample string 12</City>
<Country>sample string 7</Country>
<CountryCode>sample string 8</CountryCode>
<EmailAddress>sample string 4</EmailAddress>
<FirstName>sample string 2</FirstName>
<Id>1</Id>
<InstitutionName>sample string 6</InstitutionName>
<InstitutionPhone>sample string 18</InstitutionPhone>
<IsCommercial>true</IsCommercial>
<IsPostOfficeBox>true</IsPostOfficeBox>
<IsPreferredAddress>true</IsPreferredAddress>
<LanguageCode>sample string 28</LanguageCode>
<LastName>sample string 3</LastName>
<Password>sample string 26</Password>
<PersonId>sample string 25</PersonId>
<Phone>sample string 16</Phone>
<SecondaryAddress>sample string 10</SecondaryAddress>
<StateOrProvince>sample string 13</StateOrProvince>
<StateOrProvinceCode>sample string 14</StateOrProvinceCode>
<StreetAddress>sample string 9</StreetAddress>
<ThirdAddress>sample string 11</ThirdAddress>
<Type>Learner</Type>
<UserAuthorityId>27</UserAuthorityId>
<UserName>sample string 5</UserName>
<WorkPhone>sample string 17</WorkPhone>
<ZipPostalCode>sample string 15</ZipPostalCode>
</AssociatedUser>
<ContinuingEdCertificateUrl>sample string 18</ContinuingEdCertificateUrl>
<Course>sample string 4</Course>
<DateCompleted>sample string 16</DateCompleted>
<EnrollmentCode>sample string 12</EnrollmentCode>
<Grade>sample string 9</Grade>
<InstructorId>sample string 13</InstructorId>
<InvoiceNumber>sample string 11</InvoiceNumber>
<LastAccessDate>2026-02-03T21:49:27.8208598-05:00</LastAccessDate>
<LearnerType>Learner</LearnerType>
<OcpID>sample string 1</OcpID>
<ProductCertificateUrl>sample string 17</ProductCertificateUrl>
<ProductName>sample string 2</ProductName>
<Section>sample string 3</Section>
<SectionComplete>sample string 7</SectionComplete>
<SkillcheckComplete>true</SkillcheckComplete>
<SurveyTaken>true</SurveyTaken>
<TestPrepResultsUrl>sample string 15</TestPrepResultsUrl>
</LearnerDetail>
<LearnerDetail>
<AccessCode>sample string 10</AccessCode>
<AccessCodeRedemptionDate>2026-02-03T21:49:27.8208598-05:00</AccessCodeRedemptionDate>
<AssociatedUser>
<AddressId>sample string 24</AddressId>
<AddressTypeCode>sample string 22</AddressTypeCode>
<AddressTypePhone>sample string 23</AddressTypePhone>
<City>sample string 12</City>
<Country>sample string 7</Country>
<CountryCode>sample string 8</CountryCode>
<EmailAddress>sample string 4</EmailAddress>
<FirstName>sample string 2</FirstName>
<Id>1</Id>
<InstitutionName>sample string 6</InstitutionName>
<InstitutionPhone>sample string 18</InstitutionPhone>
<IsCommercial>true</IsCommercial>
<IsPostOfficeBox>true</IsPostOfficeBox>
<IsPreferredAddress>true</IsPreferredAddress>
<LanguageCode>sample string 28</LanguageCode>
<LastName>sample string 3</LastName>
<Password>sample string 26</Password>
<PersonId>sample string 25</PersonId>
<Phone>sample string 16</Phone>
<SecondaryAddress>sample string 10</SecondaryAddress>
<StateOrProvince>sample string 13</StateOrProvince>
<StateOrProvinceCode>sample string 14</StateOrProvinceCode>
<StreetAddress>sample string 9</StreetAddress>
<ThirdAddress>sample string 11</ThirdAddress>
<Type>Learner</Type>
<UserAuthorityId>27</UserAuthorityId>
<UserName>sample string 5</UserName>
<WorkPhone>sample string 17</WorkPhone>
<ZipPostalCode>sample string 15</ZipPostalCode>
</AssociatedUser>
<ContinuingEdCertificateUrl>sample string 18</ContinuingEdCertificateUrl>
<Course>sample string 4</Course>
<DateCompleted>sample string 16</DateCompleted>
<EnrollmentCode>sample string 12</EnrollmentCode>
<Grade>sample string 9</Grade>
<InstructorId>sample string 13</InstructorId>
<InvoiceNumber>sample string 11</InvoiceNumber>
<LastAccessDate>2026-02-03T21:49:27.8208598-05:00</LastAccessDate>
<LearnerType>Learner</LearnerType>
<OcpID>sample string 1</OcpID>
<ProductCertificateUrl>sample string 17</ProductCertificateUrl>
<ProductName>sample string 2</ProductName>
<Section>sample string 3</Section>
<SectionComplete>sample string 7</SectionComplete>
<SkillcheckComplete>true</SkillcheckComplete>
<SurveyTaken>true</SurveyTaken>
<TestPrepResultsUrl>sample string 15</TestPrepResultsUrl>
</LearnerDetail>
</Data>
<Error>false</Error>
<Errors>
<Error>
<Entity>sample string 2</Entity>
<Id>sample string 1</Id>
<Message>sample string 3</Message>
</Error>
<Error>
<Entity>sample string 2</Entity>
<Id>sample string 1</Id>
<Message>sample string 3</Message>
</Error>
</Errors>
<Ok>true</Ok>
</ResultOfArrayOfLearnerDetailwnekxRBL>