PUT api/InstructorAssignments/PutTopic
Adds the specified topic to the specified assignment.
Request Information
URI Parameters
None.
Body Parameters
PutAssignmentTopicDtoName | Description | Type | Additional information |
---|---|---|---|
AssignmentId | integer |
None. |
|
TopicId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AssignmentId": 1, "TopicId": 2 }
application/xml, text/xml
Sample:
<PutAssignmentTopicDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.CourseNs"> <AssignmentId>1</AssignmentId> <TopicId>2</TopicId> </PutAssignmentTopicDto>
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. |