GET api/ActiveAuction

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AuctionInfo
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Date

date

None.

Deadline

date

None.

ShowResultsOnline

boolean

None.

LocationText

string

None.

Description

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

AuctionCatalogueUrl

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Date": "2017-07-21T09:32:46.3765638+01:00",
    "Deadline": "2017-07-21T09:32:46.3765638+01:00",
    "ShowResultsOnline": true,
    "LocationText": "sample string 6",
    "Description": "sample string 7",
    "Latitude": 1.0,
    "Longitude": 1.0,
    "AuctionCatalogueUrl": "sample string 8"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Date": "2017-07-21T09:32:46.3765638+01:00",
    "Deadline": "2017-07-21T09:32:46.3765638+01:00",
    "ShowResultsOnline": true,
    "LocationText": "sample string 6",
    "Description": "sample string 7",
    "Latitude": 1.0,
    "Longitude": 1.0,
    "AuctionCatalogueUrl": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAuctionInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pattinsons.Domain.Auction">
  <AuctionInfo>
    <AuctionCatalogueUrl>sample string 8</AuctionCatalogueUrl>
    <Date>2017-07-21T09:32:46.3765638+01:00</Date>
    <Deadline>2017-07-21T09:32:46.3765638+01:00</Deadline>
    <Description>sample string 7</Description>
    <Id>1</Id>
    <Latitude>1</Latitude>
    <LocationText>sample string 6</LocationText>
    <Longitude>1</Longitude>
    <Name>sample string 2</Name>
    <ShowResultsOnline>true</ShowResultsOnline>
  </AuctionInfo>
  <AuctionInfo>
    <AuctionCatalogueUrl>sample string 8</AuctionCatalogueUrl>
    <Date>2017-07-21T09:32:46.3765638+01:00</Date>
    <Deadline>2017-07-21T09:32:46.3765638+01:00</Deadline>
    <Description>sample string 7</Description>
    <Id>1</Id>
    <Latitude>1</Latitude>
    <LocationText>sample string 6</LocationText>
    <Longitude>1</Longitude>
    <Name>sample string 2</Name>
    <ShowResultsOnline>true</ShowResultsOnline>
  </AuctionInfo>
</ArrayOfAuctionInfo>