PUT api/content/v4/addcomment
Request Information
URI Parameters
None.
Body Parameters
APIComment| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityType | integer |
None. |
|
| EntityId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| Comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EntityType": 1,
"EntityId": 2,
"CustomerId": 3,
"UniqueId": "2e47c7dd-1772-4bfb-ac7d-9ea01f1c63aa",
"Comment": "sample string 5"
}
application/xml, text/xml
Sample:
<APIComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Comment>sample string 5</Comment> <CustomerId>3</CustomerId> <EntityId>2</EntityId> <EntityType>1</EntityType> <UniqueId>2e47c7dd-1772-4bfb-ac7d-9ea01f1c63aa</UniqueId> </APIComment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": true
}
application/xml, text/xml
Sample:
<APICommonWrapperOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Data>true</Data> <Message>sample string 1</Message> <Status>Continue</Status> </APICommonWrapperOfboolean>