POST SetTopicData
Request Information
URI Parameters
None.
Body Parameters
TopicMasterEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| TopicID | integer |
None. |
|
| TopicCategoryID | integer |
None. |
|
| TopicName | string |
None. |
|
| TopicDesc | string |
None. |
|
| TopicImage | string |
None. |
|
| Startdate | string |
None. |
|
| Endate | string |
None. |
|
| IsValid | integer |
None. |
|
| TopicWithRoleList | Collection of TopicWithRoleList |
None. |
Request Formats
application/json, text/json
Sample:
{
"TopicID": 1,
"TopicCategoryID": 2,
"TopicName": "sample string 3",
"TopicDesc": "sample string 4",
"TopicImage": "sample string 5",
"Startdate": "sample string 6",
"Endate": "sample string 7",
"IsValid": 8,
"TopicWithRoleList": [
{
"RoleId": 1,
"IsValid": 2
},
{
"RoleId": 1,
"IsValid": 2
}
]
}
application/xml, text/xml
Sample:
<TopicMasterEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SF_API.Entity.Topic">
<Endate>sample string 7</Endate>
<IsValid>8</IsValid>
<Startdate>sample string 6</Startdate>
<TopicCategoryID>2</TopicCategoryID>
<TopicDesc>sample string 4</TopicDesc>
<TopicID>1</TopicID>
<TopicImage>sample string 5</TopicImage>
<TopicName>sample string 3</TopicName>
<TopicWithRoleList>
<TopicWithRoleList>
<IsValid>2</IsValid>
<RoleId>1</RoleId>
</TopicWithRoleList>
<TopicWithRoleList>
<IsValid>2</IsValid>
<RoleId>1</RoleId>
</TopicWithRoleList>
</TopicWithRoleList>
</TopicMasterEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |