GET api/v1/bots/twitterbots/{id}/Tweets

Get the tweets send by the bot

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

TweetsDto
NameDescriptionTypeAdditional information
Tweeted

Collection of TweetedDto

None.

Response Formats

application/json, text/json, application/senml+json

Sample:
{
  "Tweeted": [
    {
      "Date": "2020-07-08T21:49:52.5640278+00:00",
      "Message": "sample string 2",
      "NotificationTriggeredId": "140165dd-c713-4eda-a1b5-bcf279359218",
      "TwitterId": "sample string 3",
      "Success": true,
      "ErrorMessage": "sample string 5"
    },
    {
      "Date": "2020-07-08T21:49:52.5640278+00:00",
      "Message": "sample string 2",
      "NotificationTriggeredId": "140165dd-c713-4eda-a1b5-bcf279359218",
      "TwitterId": "sample string 3",
      "Success": true,
      "ErrorMessage": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<TweetsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots.TwitterBot">
  <Tweeted>
    <TweetedDto>
      <Date>2020-07-08T21:49:52.5640278+00:00</Date>
      <ErrorMessage>sample string 5</ErrorMessage>
      <Message>sample string 2</Message>
      <NotificationTriggeredId>140165dd-c713-4eda-a1b5-bcf279359218</NotificationTriggeredId>
      <Success>true</Success>
      <TwitterId>sample string 3</TwitterId>
    </TweetedDto>
    <TweetedDto>
      <Date>2020-07-08T21:49:52.5640278+00:00</Date>
      <ErrorMessage>sample string 5</ErrorMessage>
      <Message>sample string 2</Message>
      <NotificationTriggeredId>140165dd-c713-4eda-a1b5-bcf279359218</NotificationTriggeredId>
      <Success>true</Success>
      <TwitterId>sample string 3</TwitterId>
    </TweetedDto>
  </Tweeted>
</TweetsDto>