GET api/Course/InstructorsForProduct/{ocpID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ocpID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultOfIEnumerableOfCourseInstructorName | Description | Type | Additional information |
---|---|---|---|
Error | boolean |
None. |
|
Ok | boolean |
None. |
|
Errors | Collection of Error |
None. |
|
Data | Collection of CourseInstructor |
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": [ { "InstructorName": "sample string 1", "CourseID": "sample string 2", "personID": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "EdCenterName": "sample string 6" }, { "InstructorName": "sample string 1", "CourseID": "sample string 2", "personID": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "EdCenterName": "sample string 6" } ] }
application/xml, text/xml
Sample:
<ResultOfArrayOfCourseInstructorwnekxRBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/A2.Jbl.Api.Models"> <Data> <CourseInstructor> <CourseID>sample string 2</CourseID> <EdCenterName>sample string 6</EdCenterName> <FirstName>sample string 4</FirstName> <InstructorName>sample string 1</InstructorName> <LastName>sample string 5</LastName> <personID>sample string 3</personID> </CourseInstructor> <CourseInstructor> <CourseID>sample string 2</CourseID> <EdCenterName>sample string 6</EdCenterName> <FirstName>sample string 4</FirstName> <InstructorName>sample string 1</InstructorName> <LastName>sample string 5</LastName> <personID>sample string 3</personID> </CourseInstructor> </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> </ResultOfArrayOfCourseInstructorwnekxRBL>