@samantha_s
If you perform an officer search, as per the example below:
https://api.companieshouse.gov.uk/search/officers?q=fairhurst
This returns officers matching the query provided, an example as follows: -
{
"title": "Alan FAIRHURST",
"description": "Total number of appointments 4 - Born October 1952",
"kind": "searchresults#officer",
"description_identifiers": [
"appointment-count",
"born-on"
],
"address": {
"country": "TS17 0RE",
"locality": "Stockton On Tees",
"region": "Cleveland",
"address_line_2": "Ingleby Barwick",
"address_line_1": "1 Farrier Close"
},
"address_snippet": "1 Farrier Close, Ingleby Barwick, Stockton On Tees, Cleveland, TS17 0RE",
"matches": {
"title": [
6,
14
],
"snippet": []
},
"date_of_birth": {
"month": 10,
"year": 1952
},
"appointment_count": 4,
"links": {
"self": "/officers/Tb8ZDuH29bITba4Hk4KSv5YieLo/appointments"
},
"snippet": ""
},
With each result there is a link to the appointments for that person. So in the example above the link is
“self”: “/officers/Tb8ZDuH29bITba4Hk4KSv5YieLo/appointments”
This can be followed to retrieve the appointment information, including the companies, for that person: -
https://api.companieshouse.gov.uk/officers/Tb8ZDuH29bITba4Hk4KSv5YieLo/appointments
An extract as follows: -
{
"name_elements": {
"forename": "Alan",
"surname": "FAIRHURST"
},
"officer_role": "director",
"occupation": "Director",
"address": {
"region": "Cleveland",
"address_line_1": "Coverdale Court",
"premises": "PO BOX 1949",
"locality": "Redcar",
"postal_code": "TS10 4YG",
"address_line_2": "Wilton International"
},
"appointed_on": "2010-03-17",
"nationality": "British",
"name": "Alan FAIRHURST",
"country_of_residence": "England",
"resigned_on": "2012-05-31",
"appointed_to": {
"company_status": "active",
"company_name": "PROCOMM SITE SERVICES (HOLDINGS) LIMITED",
"company_number": "07115358"
},
"links": {
"company": "/company/07115358"
}
The links to the companies can then be followed to navigate to the company information which contains the links to the officers for that company and so on…
As stated the letters/numbers is the officer-id. Can you let me know some examples where this is not person specific?
Thanks,
@mfairhurst