reapit / foundations

Foundations platform mono repo
56 stars 22 forks source link

Add endpoints to retrieve Auctions #4118

Open RWilcox-Reapit opened 3 years ago

RWilcox-Reapit commented 3 years ago

Add endpoints to retrieve a specific and a collection of auctions Table: auctions

GET

/auctions /auctions/{id}

Response

{
  "id": "OXF210002",
  "created": "2019-01-25T15:44:28.0000000Z",
  "modified": "2020-01-26T09:24:02.0000000Z",
  "dateTime": "2020-01-26T09:24:02.0000000Z",
  "auctioneerId": "JAS",
  "venueId": "VEN21000002",
  "_links": {
    "self": {
      "href": "/auctions/OXF210002"
    },
    "auctioneers": {
      "href": "/negotiators/JAS"
    },
    "venues": {
      "href": "/companies/VEN21000002"
    }
  },
  "_embedded": null
}

Query parameters

Id - string[] PropertyId - string[] auctioneerId - string[] venueId- string[] SortBy - created/modified/dateTime

plittlewood-rpt commented 2 years ago

Dropping from sprint due to capacity issues and lack of demand