GET api/Bins/Postcode/{Postcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Postcode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Bin
NameDescriptionTypeAdditional information
Date

date

None.

Type

BinType

None.

CalendarNumber

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "2024-11-22T22:27:09.82096+00:00",
    "Type": 1,
    "CalendarNumber": 2
  },
  {
    "Date": "2024-11-22T22:27:09.82096+00:00",
    "Type": 1,
    "CalendarNumber": 2
  }
]

text/html

Sample:
[{"Date":"2024-11-22T22:27:09.82096+00:00","Type":1,"CalendarNumber":2},{"Date":"2024-11-22T22:27:09.82096+00:00","Type":1,"CalendarNumber":2}]

application/xml, text/xml

Sample:
<ArrayOfBin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ldl.MessageBroker.Service.Bins.Model">
  <Bin>
    <CalendarNumber>2</CalendarNumber>
    <Date>2024-11-22T22:27:09.82096+00:00</Date>
    <Type>Refuse</Type>
  </Bin>
  <Bin>
    <CalendarNumber>2</CalendarNumber>
    <Date>2024-11-22T22:27:09.82096+00:00</Date>
    <Type>Refuse</Type>
  </Bin>
</ArrayOfBin>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.