GET api/v1/bots/twitterbots/{id}/Tweets
Get the tweets send by the bot
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
TweetsDtoName | Description | Type | Additional information |
---|---|---|---|
Tweeted | Collection of TweetedDto |
None. |
Response Formats
application/json, text/json, application/senml+json
Sample:
{ "Tweeted": [ { "Date": "2024-11-22T04:35:32.062969+00:00", "Message": "sample string 2", "NotificationTriggeredId": "9c1cb795-46dc-4c01-b0a4-3e0fef5c870f", "TwitterId": "sample string 3", "Success": true, "ErrorMessage": "sample string 5" }, { "Date": "2024-11-22T04:35:32.062969+00:00", "Message": "sample string 2", "NotificationTriggeredId": "9c1cb795-46dc-4c01-b0a4-3e0fef5c870f", "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>2024-11-22T04:35:32.062969+00:00</Date> <ErrorMessage>sample string 5</ErrorMessage> <Message>sample string 2</Message> <NotificationTriggeredId>9c1cb795-46dc-4c01-b0a4-3e0fef5c870f</NotificationTriggeredId> <Success>true</Success> <TwitterId>sample string 3</TwitterId> </TweetedDto> <TweetedDto> <Date>2024-11-22T04:35:32.062969+00:00</Date> <ErrorMessage>sample string 5</ErrorMessage> <Message>sample string 2</Message> <NotificationTriggeredId>9c1cb795-46dc-4c01-b0a4-3e0fef5c870f</NotificationTriggeredId> <Success>true</Success> <TwitterId>sample string 3</TwitterId> </TweetedDto> </Tweeted> </TweetsDto>