GET api/v1/bots/twitterbots

Get all The Twitter Bots for the current account.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TwitterBotDto
NameDescriptionTypeAdditional information
DateAdded

date

None.

TwitterScreenName

string

None.

StatusPostSettings

Settings governing the tweeting of status posts.

StatusPostSettingsDto

None.

TweetSettings

TweetSettingsDto

None.

ScheduledTweets

Collection of ScheduledTweetSettingsDto

None.

Id

User Id

globally unique identifier

None.

Name

The users name

string

None.

UserName

UserName (used to login with)

string

None.

FullUserName

User Id and Account name

string

None.

BotType

The type of bot.

string

None.

DisplayName

Users first and last name

string

None.

DevicesCheckIntervalMinutes

How often the spark account should be checked for new devices.

integer

None.

MeasurementCollectionIntervalMinutes

How often measurements should be collected from the devices (applies to new devices only).

integer

None.

Links

Collection of links appropriate for the user

Collection of LinkDto

None.

Actions

Collection of LinkDto

None.

Description

string

None.

Enabled

boolean

None.

Authenticated

If the bot is authenticated.

boolean

None.

Response Formats

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

Sample:
[
  {
    "DateAdded": "2020-09-19T04:46:43.9689363+00:00",
    "TwitterScreenName": "sample string 2",
    "StatusPostSettings": {
      "UserIds": [
        "893eed54-c539-4117-a3e4-1d954a51443a",
        "59c1b871-ae31-484c-801f-24dcf49051d9"
      ],
      "TweetStatusPostsTagged": "sample string 1"
    },
    "TweetSettings": {
      "PostMentions": true,
      "Tag": "sample string 2",
      "TweetPrefix": "sample string 3",
      "TweetSuffix": "sample string 4"
    },
    "ScheduledTweets": [
      {
        "Name": "sample string 1",
        "Interval": 2,
        "DeviceId": "aca8c34e-dc2d-4ebc-8f19-5a90ea27173b",
        "Message": "sample string 4",
        "Conditions": [
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          },
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          }
        ]
      },
      {
        "Name": "sample string 1",
        "Interval": 2,
        "DeviceId": "aca8c34e-dc2d-4ebc-8f19-5a90ea27173b",
        "Message": "sample string 4",
        "Conditions": [
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          },
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          }
        ]
      }
    ],
    "Id": "ee89dae6-c393-42d3-86d0-561cd42a9e96",
    "Name": "sample string 4",
    "UserName": "sample string 5",
    "FullUserName": "sample string 6",
    "BotType": "sample string 7",
    "DisplayName": "sample string 8",
    "DevicesCheckIntervalMinutes": 9,
    "MeasurementCollectionIntervalMinutes": 10,
    "Links": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      }
    ],
    "Actions": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      }
    ],
    "Description": "sample string 11",
    "Enabled": true,
    "Authenticated": true
  },
  {
    "DateAdded": "2020-09-19T04:46:43.9689363+00:00",
    "TwitterScreenName": "sample string 2",
    "StatusPostSettings": {
      "UserIds": [
        "893eed54-c539-4117-a3e4-1d954a51443a",
        "59c1b871-ae31-484c-801f-24dcf49051d9"
      ],
      "TweetStatusPostsTagged": "sample string 1"
    },
    "TweetSettings": {
      "PostMentions": true,
      "Tag": "sample string 2",
      "TweetPrefix": "sample string 3",
      "TweetSuffix": "sample string 4"
    },
    "ScheduledTweets": [
      {
        "Name": "sample string 1",
        "Interval": 2,
        "DeviceId": "aca8c34e-dc2d-4ebc-8f19-5a90ea27173b",
        "Message": "sample string 4",
        "Conditions": [
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          },
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          }
        ]
      },
      {
        "Name": "sample string 1",
        "Interval": 2,
        "DeviceId": "aca8c34e-dc2d-4ebc-8f19-5a90ea27173b",
        "Message": "sample string 4",
        "Conditions": [
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          },
          {
            "DeviceId": "7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37",
            "FieldName": "sample string 1",
            "Operation": "sample string 2",
            "Value": 3.0
          }
        ]
      }
    ],
    "Id": "ee89dae6-c393-42d3-86d0-561cd42a9e96",
    "Name": "sample string 4",
    "UserName": "sample string 5",
    "FullUserName": "sample string 6",
    "BotType": "sample string 7",
    "DisplayName": "sample string 8",
    "DevicesCheckIntervalMinutes": 9,
    "MeasurementCollectionIntervalMinutes": 10,
    "Links": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      }
    ],
    "Actions": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      }
    ],
    "Description": "sample string 11",
    "Enabled": true,
    "Authenticated": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfTwitterBotDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots.TwitterBot">
  <TwitterBotDto>
    <Actions xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
    </Actions>
    <Authenticated xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Authenticated>
    <BotType xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 7</BotType>
    <Description xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 11</Description>
    <DevicesCheckIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">9</DevicesCheckIntervalMinutes>
    <DisplayName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 8</DisplayName>
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Enabled>
    <FullUserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 6</FullUserName>
    <Id xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">ee89dae6-c393-42d3-86d0-561cd42a9e96</Id>
    <Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
    </Links>
    <MeasurementCollectionIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">10</MeasurementCollectionIntervalMinutes>
    <Name xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 4</Name>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 5</UserName>
    <DateAdded>2020-09-19T04:46:43.9689363+00:00</DateAdded>
    <ScheduledTweets>
      <ScheduledTweetSettingsDto>
        <Conditions>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
        </Conditions>
        <DeviceId>aca8c34e-dc2d-4ebc-8f19-5a90ea27173b</DeviceId>
        <Interval>2</Interval>
        <Message>sample string 4</Message>
        <Name>sample string 1</Name>
      </ScheduledTweetSettingsDto>
      <ScheduledTweetSettingsDto>
        <Conditions>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
        </Conditions>
        <DeviceId>aca8c34e-dc2d-4ebc-8f19-5a90ea27173b</DeviceId>
        <Interval>2</Interval>
        <Message>sample string 4</Message>
        <Name>sample string 1</Name>
      </ScheduledTweetSettingsDto>
    </ScheduledTweets>
    <StatusPostSettings>
      <TweetStatusPostsTagged>sample string 1</TweetStatusPostsTagged>
      <UserIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>893eed54-c539-4117-a3e4-1d954a51443a</d4p1:guid>
        <d4p1:guid>59c1b871-ae31-484c-801f-24dcf49051d9</d4p1:guid>
      </UserIds>
    </StatusPostSettings>
    <TweetSettings>
      <PostMentions>true</PostMentions>
      <Tag>sample string 2</Tag>
      <TweetPrefix>sample string 3</TweetPrefix>
      <TweetSuffix>sample string 4</TweetSuffix>
    </TweetSettings>
    <TwitterScreenName>sample string 2</TwitterScreenName>
  </TwitterBotDto>
  <TwitterBotDto>
    <Actions xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
    </Actions>
    <Authenticated xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Authenticated>
    <BotType xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 7</BotType>
    <Description xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 11</Description>
    <DevicesCheckIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">9</DevicesCheckIntervalMinutes>
    <DisplayName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 8</DisplayName>
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">true</Enabled>
    <FullUserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 6</FullUserName>
    <Id xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">ee89dae6-c393-42d3-86d0-561cd42a9e96</Id>
    <Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
    </Links>
    <MeasurementCollectionIntervalMinutes xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">10</MeasurementCollectionIntervalMinutes>
    <Name xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 4</Name>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Bots">sample string 5</UserName>
    <DateAdded>2020-09-19T04:46:43.9689363+00:00</DateAdded>
    <ScheduledTweets>
      <ScheduledTweetSettingsDto>
        <Conditions>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
        </Conditions>
        <DeviceId>aca8c34e-dc2d-4ebc-8f19-5a90ea27173b</DeviceId>
        <Interval>2</Interval>
        <Message>sample string 4</Message>
        <Name>sample string 1</Name>
      </ScheduledTweetSettingsDto>
      <ScheduledTweetSettingsDto>
        <Conditions>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
          <ConditionDto>
            <DeviceId>7d9f9f0c-7d46-42f0-9118-7ba2dc1fec37</DeviceId>
            <FieldName>sample string 1</FieldName>
            <Operation>sample string 2</Operation>
            <Value>3</Value>
          </ConditionDto>
        </Conditions>
        <DeviceId>aca8c34e-dc2d-4ebc-8f19-5a90ea27173b</DeviceId>
        <Interval>2</Interval>
        <Message>sample string 4</Message>
        <Name>sample string 1</Name>
      </ScheduledTweetSettingsDto>
    </ScheduledTweets>
    <StatusPostSettings>
      <TweetStatusPostsTagged>sample string 1</TweetStatusPostsTagged>
      <UserIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>893eed54-c539-4117-a3e4-1d954a51443a</d4p1:guid>
        <d4p1:guid>59c1b871-ae31-484c-801f-24dcf49051d9</d4p1:guid>
      </UserIds>
    </StatusPostSettings>
    <TweetSettings>
      <PostMentions>true</PostMentions>
      <Tag>sample string 2</Tag>
      <TweetPrefix>sample string 3</TweetPrefix>
      <TweetSuffix>sample string 4</TweetSuffix>
    </TweetSettings>
    <TwitterScreenName>sample string 2</TwitterScreenName>
  </TwitterBotDto>
</ArrayOfTwitterBotDto>