POST api/twitter/tweet

Sends a direct message to a screen name Processes this twitter API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The twitter tweet data contract supplied with the request.

TwitterTweetDataContract
NameDescriptionTypeAdditional information
BrandId

The unique identifier of the related brand resource.

integer

None.

status

The status value.

string

None.

MediaIds

The unique identifiers of the related media resources.

Collection of integer

None.

PropertyRoleId

The unique identifier of the related property role resource.

integer

None.

DisplayCoordinates

Indicates whether display coordinates is true.

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
NameDescriptionTypeAdditional information
SupportsCancellation

Indicates whether supports cancellation is true.

boolean

None.

ReportsProgress

Indicates whether reports progress is true.

boolean

None.

InitialStatusText

The initial status text value.

string

None.

JobReference

The job reference globally unique identifier.

globally unique identifier

None.

Success

Indicates whether success is true.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "SupportsCancellation": true,
  "ReportsProgress": true,
  "InitialStatusText": "sample string 3",
  "JobReference": "a38956aa-dc3b-4889-8f15-510b204f988e",
  "Success": true
}