Skip to content

Instantly share code, notes, and snippets.

@lukeeey
Created September 9, 2018 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukeeey/e0abad5f9179d7b6e266f3cdd1dfd62f to your computer and use it in GitHub Desktop.
Save lukeeey/e0abad5f9179d7b6e266f3cdd1dfd62f to your computer and use it in GitHub Desktop.

POST https://www.check-mot.service.gov.uk/recalls

{
	"522332599": null,
	"1746857955": null,
	"14218317132": "LS06 RZP",
	"viewRecalls": "true",
	"registration-number": null,
	"reg-number": null,
	"registration": null,
	"vehicle-manufacturer": null
}

response

{
	"result": "<div class=\"text\">\n    <h1 class=\"heading heading--large heading--no-margin-top heading-large mot-result--fail\">\n        Outstanding recall found\n    <\/h1>\n    <p>\n        There's an outstanding manufacturer's safety recall on\n <span class='bold'>TOYOTA&nbsp;AVENSIS LS06RZP<\/span>. The vehicle has been recalled since at least <span class='bold'>8 September 2018<\/span>.\n<br><br>\n\n        Contact a <span class='bold'>TOYOTA<\/span> dealership to arrange for repairs.\n\n        <br><br>\n\n        If you've had the recalled component repaired recently, it can take up to three weeks for the manufacturer to\n        update their records.\n    <\/p>\n<\/div>\n",
	"dataLayer": {
		"event": "api-response",
		"element-name": "Recall",
		"lambda-return-code": 200,
		"recall-outcome-detail": "Recall Found",
		"recall-ui": "api-success",
		"recall-outcome": "Success",
		"smmt-call": 1,
		"recall-last-update-date": "2018-09-08T17:22:23+0000",
		"recall-last-update-days-ago": 0,
		"recall-ui-detail": "As of %s there's an outstanding manufacturer's safety recall on %s. Contact a %s dealership to arrange for repairs. If you've had the recalled component repaired recently, it can take up to three weeks for the manufacturer to update their records."
	},
	"google_analytics_uid": "GTM-TP6B87K"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment