POST api/twitter/directmessage

Request Information

URI Parameters

None.

Body Parameters

TwitterDirectMessageDataContract
NameDescriptionTypeAdditional information
BrandId

integer

None.

ScreenName

string

None.

Text

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BrandId": 1,
  "ScreenName": "sample string 2",
  "Text": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TwitterDirectMessageDataContract'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.