POST api/AddUpdateSubTopic

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objSubTopic
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SubTopicID": 1,
  "SubTopic": "sample string 2",
  "Description": "sample string 3",
  "TopicID": 4,
  "Topic": "sample string 5",
  "IsActive": true
}

text/html

Sample:
{"SubTopicID":1,"SubTopic":"sample string 2","Description":"sample string 3","TopicID":4,"Topic":"sample string 5","IsActive":true}

application/xml, text/xml

Sample:
<SubTopicViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Master">
  <Description>sample string 3</Description>
  <IsActive>true</IsActive>
  <SubTopic>sample string 2</SubTopic>
  <SubTopicID>1</SubTopicID>
  <Topic>sample string 5</Topic>
  <TopicID>4</TopicID>
</SubTopicViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubTopicViewModel'.