GET api/Tweets

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TweetListDto
NameDescriptionTypeAdditional information
Stages

Collection of TweetStageDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Stages": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Tweet": {
        "Id": 1,
        "Title": "sample string 2",
        "IsActive": true,
        "StartDate": "2019-07-20T04:22:23.2635721-04:00",
        "ExpirationDate": "2019-07-20T04:22:23.2635721-04:00",
        "Translations": [
          {
            "TweetId": 1,
            "LanguageId": 2,
            "LanguageCode": "sample string 3",
            "Text": "sample string 4"
          },
          {
            "TweetId": 1,
            "LanguageId": 2,
            "LanguageCode": "sample string 3",
            "Text": "sample string 4"
          }
        ]
      }
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Tweet": {
        "Id": 1,
        "Title": "sample string 2",
        "IsActive": true,
        "StartDate": "2019-07-20T04:22:23.2635721-04:00",
        "ExpirationDate": "2019-07-20T04:22:23.2635721-04:00",
        "Translations": [
          {
            "TweetId": 1,
            "LanguageId": 2,
            "LanguageCode": "sample string 3",
            "Text": "sample string 4"
          },
          {
            "TweetId": 1,
            "LanguageId": 2,
            "LanguageCode": "sample string 3",
            "Text": "sample string 4"
          }
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<TweetListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <Stages>
    <TweetStageDto>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Tweet>
        <ExpirationDate>2019-07-20T04:22:23.2635721-04:00</ExpirationDate>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <StartDate>2019-07-20T04:22:23.2635721-04:00</StartDate>
        <Title>sample string 2</Title>
        <Translations>
          <TweetTextDto>
            <LanguageCode>sample string 3</LanguageCode>
            <LanguageId>2</LanguageId>
            <Text>sample string 4</Text>
            <TweetId>1</TweetId>
          </TweetTextDto>
          <TweetTextDto>
            <LanguageCode>sample string 3</LanguageCode>
            <LanguageId>2</LanguageId>
            <Text>sample string 4</Text>
            <TweetId>1</TweetId>
          </TweetTextDto>
        </Translations>
      </Tweet>
    </TweetStageDto>
    <TweetStageDto>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Tweet>
        <ExpirationDate>2019-07-20T04:22:23.2635721-04:00</ExpirationDate>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <StartDate>2019-07-20T04:22:23.2635721-04:00</StartDate>
        <Title>sample string 2</Title>
        <Translations>
          <TweetTextDto>
            <LanguageCode>sample string 3</LanguageCode>
            <LanguageId>2</LanguageId>
            <Text>sample string 4</Text>
            <TweetId>1</TweetId>
          </TweetTextDto>
          <TweetTextDto>
            <LanguageCode>sample string 3</LanguageCode>
            <LanguageId>2</LanguageId>
            <Text>sample string 4</Text>
            <TweetId>1</TweetId>
          </TweetTextDto>
        </Translations>
      </Tweet>
    </TweetStageDto>
  </Stages>
</TweetListDto>