POST api/TwitterApi/AddComment

Request Information

URI Parameters

None.

Body Parameters

Addcomment
NameDescriptionTypeAdditional information
BusinessId

integer

None.

PostId

string

None.

PlatFormId

integer

None.

CommentText

string

None.

CommentId

string

None.

SMUserId

string

None.

SMUserName

string

None.

SMUserphoto

string

None.

flag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "PostId": "sample string 2",
  "PlatFormId": 3,
  "CommentText": "sample string 4",
  "CommentId": "sample string 5",
  "SMUserId": "sample string 6",
  "SMUserName": "sample string 7",
  "SMUserphoto": "sample string 8",
  "flag": 9
}

application/xml, text/xml

Sample:
<Addcomment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessId>1</BusinessId>
  <CommentId>sample string 5</CommentId>
  <CommentText>sample string 4</CommentText>
  <PlatFormId>3</PlatFormId>
  <PostId>sample string 2</PostId>
  <SMUserId>sample string 6</SMUserId>
  <SMUserName>sample string 7</SMUserName>
  <SMUserphoto>sample string 8</SMUserphoto>
  <flag>9</flag>
</Addcomment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/10/22 06:58:42",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>