GET api/quotes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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:57:51.5064227-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:57:51.5064227-04:00","tags":"sample string 6","type":"sample string 7"}

application/xml, text/xml

Sample:
<Quote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebServices.Models.EnergyTogether">
  <author>sample string 2</author>
  <date>2020-10-24T21:57:51.5064227-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>