PUT api/InstructorSections/PutSectionsToInstructor
Add section association to the instructor caller
Request Information
URI Parameters
None.
Body Parameters
PutSectionsToInstructorDtoName | Description | Type | Additional information |
---|---|---|---|
SectionIds | Collection of integer |
None. |
|
PersonId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SectionIds": [ 1, 2 ], "PersonId": 1 }
application/xml, text/xml
Sample:
<PutSectionsToInstructorDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Core.Dtos.InstructorNs"> <PersonId>1</PersonId> <SectionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </SectionIds> </PutSectionsToInstructorDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |