POST Videos/Instructors
Get instructor(s) data
Request Information
URI Parameters
None.
Body Parameters
RequestInstructors| Name | Description | Type | Additional information |
|---|---|---|---|
| InstructorUserID |
ID of instructor - 0 will return all instructors |
integer |
None. |
| PageSize |
0 will return all if InstructorUserID = 0 - > 0 will return defined number and randomize |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"InstructorUserID": 1,
"PageSize": 2
}
text/html
Sample:
{"InstructorUserID":1,"PageSize":2}
application/xml, text/xml
Sample:
<RequestInstructors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <InstructorUserID>1</InstructorUserID> <PageSize>2</PageSize> </RequestInstructors>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of Instructors| Name | Description | Type | Additional information |
|---|---|---|---|
| InstructorUser_ID | integer |
None. |
|
| InstructorUser_FirstName | string |
None. |
|
| InstructorUser_LastName | string |
None. |
|
| InstructorUser_Image | string |
None. |
|
| InstructorUser_CoverVideoVimeoID | string |
None. |
|
| InstructorUser_CoverVideoVimeoData | Object |
None. |
|
| InstructorUser_Description | string |
None. |
|
| InstructorUser_AfterName | string |
None. |
|
| InstructorUser_BelowName | string |
None. |
|
| InstructorUser_Quote | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"InstructorUser_ID": 1,
"InstructorUser_FirstName": "sample string 2",
"InstructorUser_LastName": "sample string 3",
"InstructorUser_Image": "sample string 4",
"InstructorUser_CoverVideoVimeoID": "sample string 5",
"InstructorUser_CoverVideoVimeoData": {},
"InstructorUser_Description": "sample string 7",
"InstructorUser_AfterName": "sample string 8",
"InstructorUser_BelowName": "sample string 9",
"InstructorUser_Quote": "sample string 10"
},
{
"InstructorUser_ID": 1,
"InstructorUser_FirstName": "sample string 2",
"InstructorUser_LastName": "sample string 3",
"InstructorUser_Image": "sample string 4",
"InstructorUser_CoverVideoVimeoID": "sample string 5",
"InstructorUser_CoverVideoVimeoData": {},
"InstructorUser_Description": "sample string 7",
"InstructorUser_AfterName": "sample string 8",
"InstructorUser_BelowName": "sample string 9",
"InstructorUser_Quote": "sample string 10"
}
]
text/html
Sample:
[{"InstructorUser_ID":1,"InstructorUser_FirstName":"sample string 2","InstructorUser_LastName":"sample string 3","InstructorUser_Image":"sample string 4","InstructorUser_CoverVideoVimeoID":"sample string 5","InstructorUser_CoverVideoVimeoData":{},"InstructorUser_Description":"sample string 7","InstructorUser_AfterName":"sample string 8","InstructorUser_BelowName":"sample string 9","InstructorUser_Quote":"sample string 10"},{"InstructorUser_ID":1,"InstructorUser_FirstName":"sample string 2","InstructorUser_LastName":"sample string 3","InstructorUser_Image":"sample string 4","InstructorUser_CoverVideoVimeoID":"sample string 5","InstructorUser_CoverVideoVimeoData":{},"InstructorUser_Description":"sample string 7","InstructorUser_AfterName":"sample string 8","InstructorUser_BelowName":"sample string 9","InstructorUser_Quote":"sample string 10"}]
application/xml, text/xml
Sample:
<ArrayOfInstructors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2">
<Instructors>
<InstructorUser_AfterName>sample string 8</InstructorUser_AfterName>
<InstructorUser_BelowName>sample string 9</InstructorUser_BelowName>
<InstructorUser_CoverVideoVimeoData />
<InstructorUser_CoverVideoVimeoID>sample string 5</InstructorUser_CoverVideoVimeoID>
<InstructorUser_Description>sample string 7</InstructorUser_Description>
<InstructorUser_FirstName>sample string 2</InstructorUser_FirstName>
<InstructorUser_ID>1</InstructorUser_ID>
<InstructorUser_Image>sample string 4</InstructorUser_Image>
<InstructorUser_LastName>sample string 3</InstructorUser_LastName>
<InstructorUser_Quote>sample string 10</InstructorUser_Quote>
</Instructors>
<Instructors>
<InstructorUser_AfterName>sample string 8</InstructorUser_AfterName>
<InstructorUser_BelowName>sample string 9</InstructorUser_BelowName>
<InstructorUser_CoverVideoVimeoData />
<InstructorUser_CoverVideoVimeoID>sample string 5</InstructorUser_CoverVideoVimeoID>
<InstructorUser_Description>sample string 7</InstructorUser_Description>
<InstructorUser_FirstName>sample string 2</InstructorUser_FirstName>
<InstructorUser_ID>1</InstructorUser_ID>
<InstructorUser_Image>sample string 4</InstructorUser_Image>
<InstructorUser_LastName>sample string 3</InstructorUser_LastName>
<InstructorUser_Quote>sample string 10</InstructorUser_Quote>
</Instructors>
</ArrayOfInstructors>