POST api/twitter/tweet

Sends a direct message to a screen name

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Twitter.TwitterTweetDataContract
NameDescriptionTypeAdditional 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

Dezrez.Core.DataContracts.External.Api.Job.Query.Get.JobInvocationDetailsDataContract
NameDescriptionTypeAdditional 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": "0c33aaeb-2733-4702-93f9-66d1d626c567",
  "Success": true
}