api-definitions
api-definitions copied to clipboard
Regions' ID mismatch between "regionid" and "postcode" requests
Hi,
There seems to be a mismatch in the IDs returned by the API depending on the request.
Examples:
{{API_URL}}/regional/intensity/2020-04-27T12:12Z/pt24h/postcode/BN3
Returns:
{
"data": {
"regionid": 13,
"dnoregion": "UKPN South East",
"shortname": "South East England",
"postcode": "BN3",
And
{{API_URL}}/regional/intensity/2020-04-27T12:12Z/pt24h/regionid/14
Returns
{
"data": {
"regionid": 14,
"dnoregion": "UKPN South East",
"shortname": "South East England",
According to the documentation, South East England should be ID 14
, would this be an error in the /postcode requests?