GET api/Quotes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Quote
NameDescriptionTypeAdditional information
id

integer

None.

author

string

None.

source

string

None.

text

string

None.

date

date

None.

tags

string

None.

type

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "author": "sample string 2",
    "source": "sample string 3",
    "text": "sample string 4",
    "date": "2020-10-24T21:36:54.4188586-04:00",
    "tags": "sample string 6",
    "type": "sample string 7"
  },
  {
    "id": 1,
    "author": "sample string 2",
    "source": "sample string 3",
    "text": "sample string 4",
    "date": "2020-10-24T21:36:54.4188586-04:00",
    "tags": "sample string 6",
    "type": "sample string 7"
  }
]

text/html

Sample:
[{"id":1,"author":"sample string 2","source":"sample string 3","text":"sample string 4","date":"2020-10-24T21:36:54.4188586-04:00","tags":"sample string 6","type":"sample string 7"},{"id":1,"author":"sample string 2","source":"sample string 3","text":"sample string 4","date":"2020-10-24T21:36:54.4188586-04:00","tags":"sample string 6","type":"sample string 7"}]

application/xml, text/xml

Sample:
<ArrayOfQuote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebServices.Models.EnergyTogether">
  <Quote>
    <author>sample string 2</author>
    <date>2020-10-24T21:36:54.4188586-04:00</date>
    <id>1</id>
    <source>sample string 3</source>
    <tags>sample string 6</tags>
    <text>sample string 4</text>
    <type>sample string 7</type>
  </Quote>
  <Quote>
    <author>sample string 2</author>
    <date>2020-10-24T21:36:54.4188586-04:00</date>
    <id>1</id>
    <source>sample string 3</source>
    <tags>sample string 6</tags>
    <text>sample string 4</text>
    <type>sample string 7</type>
  </Quote>
</ArrayOfQuote>