POST api/twitter/tweet
Sends a direct message to a screen name
Request Information
URI Parameters
None.
Body Parameters
TwitterTweetDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| BrandId | integer |
None. |
|
| status | string |
None. |
|
| MediaIds | Collection of integer |
None. |
|
| PropertyRoleId | integer |
None. |
|
| DisplayCoordinates | boolean |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"BrandId": 1,
"status": "sample string 2",
"MediaIds": [
1,
2
],
"PropertyRoleId": 3,
"DisplayCoordinates": true
}
Response Information
Resource Description
AuthUrlDataContract
JobInvocationDetailsDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| SupportsCancellation | boolean |
None. |
|
| ReportsProgress | boolean |
None. |
|
| InitialStatusText | string |
None. |
|
| JobReference | globally unique identifier |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"SupportsCancellation": true,
"ReportsProgress": true,
"InitialStatusText": "sample string 3",
"JobReference": "d668f7a4-c734-461a-b34e-dcc3eae35d92",
"Success": true
}