https://api.reading.gov.uk/
Get the date that is 'days' working days in the past taking into account all UK public holidays.
Example:
1
Media type: application/json
Type: string
Example:
{
{
"Date":"2019-12-03",
"Readable":"Tuesday 3rd of December",
"WorkingDays":1
}
}
Return garden waste subscription service. If subscription end date is larger than current date time, status is set to the subscription end date. If the subscription end date is larger than current date time plus 6 weeks, the time difference is calculated and returned in status. If there is no subscription, "No Contract" is returned in status.
Media type: application/json
Type: any
Example:
{
"assisted": false,
"collectionSchedule": "Wednesday Fortnightly",
"nextcollection": "2020-02-12",
"status": "2020-02-12"
}
Get all addresses for the supplied postcode
Example:
RG12AR
Media type: application/json
Type: string
Example:
{
"Addresses": [
{
"AccountSiteId": "71454",
"AccountSiteUprn": "310072455",
"SiteAddress2": "ST GILES CLOSE",
"SiteAddressPrefix": "None",
"SiteEasting": "471811.0",
"SiteId": "64711",
"SiteLatitude": "51.4510090644",
"SiteLongitude": "-0.967964890157",
"SiteNorthing": "172954.0",
"SiteShortAddress": "ALDER HOUSE, FLAT 1, ST GILES CLOSE, RG1 2AR"
},
{
"AccountSiteId": "21295",
"AccountSiteUprn": "310072456",
"SiteAddress2": "ST GILES CLOSE",
"SiteAddressPrefix": "None",
"SiteEasting": "471811.0",
"SiteId": "64712",
"SiteLatitude": "51.4510090644",
"SiteLongitude": "-0.967964890157",
"SiteNorthing": "172954.0",
"SiteShortAddress": "ALDER HOUSE, FLAT 2, ST GILES CLOSE, RG1 2AR"
},
{
"AccountSiteId": "76187",
"AccountSiteUprn": "310072457",
"SiteAddress2": "ST GILES CLOSE",
"SiteAddressPrefix": "None",
"SiteEasting": "471811.0",
"SiteId": "64713",
"SiteLatitude": "51.4510090644",
"SiteLongitude": "-0.967964890157",
"SiteNorthing": "172954.0",
"SiteShortAddress": "ALDER HOUSE, FLAT 3, ST GILES CLOSE, RG1 2AR"
}
]
}
Given a UPRN and RoundCode get details of the round.
Example:
310045409
Example:
GREEN1
Media type: application/json
Type: string
Example:
{
"RoundID": 9,
"ServiceID": 3,
"ServiceItemDescription": "Garden Waste 240 litre bin",
"ServiceItemID": 11
}
Get the correct UPRN for this property taking into account whether the property has a parent
Example:
310040413
Example:
147
Get worksheets for property
Example:
310021396
Media type: application/json
Type: string
Example:
{
"Worksheets": [
{
"AuthorityName": "Reading Borough Council",
"WorksheetApprovedDate": "0001-01-01 00:00:00",
"WorksheetAssignedToID": 53,
"WorksheetAssignedToName": "Operations",
"WorksheetAssignedToTypeID": 2,
"WorksheetCompletedDate": "0001-01-01 00:00:00",
"WorksheetCreatedBy": "PS API",
"WorksheetCreatedDate": "2019-09-25 14:28:58",
"WorksheetDueByDate": "2019-09-30 00:00:00",
"WorksheetEscalatedDate": "2019-09-26 23:59:59",
"WorksheetExpiryDate": "2019-09-26 23:59:59",
"WorksheetID": 6099,
"WorksheetPaymentDate": "0001-01-01 00:00:00",
"WorksheetStartDate": "2019-09-25 00:00:00",
"WorksheetStatusID": 1,
"WorksheetStatusName": "Open",
"WorksheetSubject": "Missed Collection Domestic",
"WorksheetType": "Missed Collection Domestic",
"WorksheetWorkLocationAddress": "Hawk Cottages, Silver Street, Reading, Reading, Reading, ",
"WorksheetWorkLocationEasting": 471890.0,
"WorksheetWorkLocationLatitude": 51.44864366360733,
"WorksheetWorkLocationLongitude": -0.9668813583247992,
"WorksheetWorkLocationNorthing": 172692.0
}
]
Get worksheets for property in html table format
Example:
310040413
Media type: application/json
Type: string
Example:
{
"Worksheets": "<table id=\"worksheetsTable\" style=\"width:100%; border-spacing: 0px !IMPORTANT;\"><tr><td><table class=\"worksheetRecord\">\n <tr class='worksheetRow'>\n <td>Missed Collection Domestic</td>\n </tr><tr class='worksheetRow'>\n <td>Created on: 2019-09-25</td>\n </tr><tr class='worksheetRow'>\n <td>We have received your request and will return before the next scheduled collection.</td>\n </tr>\n </table></td></tr></table></tr></table>",
"isData": true
}
Get the next bin collections for address
Address with % as spaces and comma before postcode
Example:
40%20Caversham%20Road%20Reading,%20RG17EB
Media type: application/json
Type: string
Example:
{
"Collections": [
{
"Date": "05/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Recycling Collection Service"
},
{
"Date": "12/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Domestic Waste Collection Service"
},
{
"Date": "19/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Recycling Collection Service"
},
{
"Date": "26/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Domestic Waste Collection Service"
}
]
}
Get the next bin collections for uprn
Example:
310045409
Media type: application/json
Type: string
Example:
{
"Collections": [
{
"Date": "05/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Recycling Collection Service"
},
{
"Date": "12/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Domestic Waste Collection Service"
},
{
"Date": "19/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Recycling Collection Service"
},
{
"Date": "26/02/2020 00:00:00",
"Day": "Wednesday",
"Service": "Domestic Waste Collection Service"
}
]
}
Get all open worksheets for UPRN
Example:
310045409
Media type: application/json
Type: string
Example:
{
"Worksheets": [
{
"WorksheetPaymentDate": "0001-01-01 00:00:00",
"WorksheetAssignedToTypeID": 2,
"WorksheetWorkLocationAddress": "6, GRANVILLE ROAD, READING, READING, READING, RG30 3QD",
"WorksheetID": 6071,
"WorksheetExpiryDate": "2019-09-14 23:59:59",
"WorksheetSubject": "Missed Collection Garden",
"WorksheetCreatedBy": "PS API",
"WorksheetEscalatedDate": "2019-09-14 23:59:59",
"WorksheetWorkLocationEasting": 468968.0,
"WorksheetAssignedToName": "Operations",
"AuthorityName": "Reading Borough Council",
"WorksheetStatusName": "Open",
"WorksheetWorkLocationLongitude": -1.0090145455580537,
"WorksheetWorkLocationLatitude": 51.44475415047257,
"WorksheetDueByDate": "2019-10-13 00:00:00",
"WorksheetType": "Missed Collection Garden",
"WorksheetAssignedToID": 53,
"WorksheetApprovedDate": "0001-01-01 00:00:00",
"WorksheetWorkLocationNorthing": 172219.0,
"WorksheetCompletedDate": "0001-01-01 00:00:00",
"WorksheetStatusID": 1,
"WorksheetCreatedDate": "2019-09-13 09:22:01",
"WorksheetStartDate": "2019-09-13 00:00:00"
}
]
}