GET api/IVR/Bins/{UPRN}/{NumberOfDates}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UPRN

integer

Required

NumberOfDates

integer

Default value is 3

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:00:31.5399683+00:00",
    "Type": 1,
    "CalendarNumber": 2
  },
  {
    "Date": "2024-11-22T22:00:31.5399683+00:00",
    "Type": 1,
    "CalendarNumber": 2
  }
]

text/html

Sample:
[{"Date":"2024-11-22T22:00:31.5399683+00:00","Type":1,"CalendarNumber":2},{"Date":"2024-11-22T22:00:31.5399683+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:00:31.5399683+00:00</Date>
    <Type>Refuse</Type>
  </Bin>
  <Bin>
    <CalendarNumber>2</CalendarNumber>
    <Date>2024-11-22T22:00:31.5399683+00:00</Date>
    <Type>Refuse</Type>
  </Bin>
</ArrayOfBin>

application/bson

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