After sign-in to the developer page for Company Officers, I can successfully see the JSON object, including full dates of birth, when testing the directors register_view function (for a company with public registers):
However, when I try the same endpoint directly against the API, it suppresses the Day in the date of birth, which seems rather pointless given that the full date of birth can be viewed on the Companies House web page.
Is the full register_view no longer available via the API? If so, please update the documentation and the developer page to be consistent.
If I perform the same request without the ?register_type=directors®ister_view=true then the full date of birth is not returned, for the same officer.
Not sure what’s happening? Are you sending the ?register_type=directors®ister_view=true. Do you receive one or two officers when making the call? Without the ?register_type=directors®ister_view=true filter two officers are returned, the director and secretary, whereas only one is returned with the filter, the director.
Thanks for your rapid reply. This prompted me to try again and I realised that my assembled URL had an extra forward-slash after the domain and before the directories (…gov.uk//company/…) which somehow caused the parameters in the querystring to be ignored. I think this is probably because you have a URL rewrite engine on your API which invisibly redirects and only adds back the querystring if the URL is perfectly formed. Anyway, my bad. All OK now and thanks for your help.