How can i get company officers Address in Dot net application?

HI All,
How can i get company officers Address in Dot net application ? I found only following attributes

  1. Appointed on
  2. DOB
  3. Name
  4. Role
  5. Resigned on

where in documentation mention that we can access client officers address and other information as well

“address” : {
“address_line_1” : “string”,
“address_line_2” : “string”,
“care_of” : “string”,
“country” : “string”,
“locality” : “string”,
“po_box” : “string”,
“postal_code” : “string”,
“premises” : “string”,
“region” : “string”
},

Can u please correct me?

Thanks and Regard,
Hassaan

@ma1,

There are 2 endpoints to retrieve officer information both of which return the address for the officer: -

The following is an example return for the company officers, showing address data returned: -

https://api.companieshouse.gov.uk/company/04319561/officers

    {
  "total_results": 9,
  "etag": "96d301969728eec25fb2269ada5421bea4d636b2",
  "links": {
    "self": "/company/04319561/officers"
  },
  "kind": "officer-list",
  "active_count": 4,
  "items": [
    {
      "appointed_on": "2001-11-08",
      "links": {
        "officer": {
          "appointments": "/officers/2z10pgPD6tsX6MTgrsK2A5eH84I/appointments"
        }
      },
      "address": {
        "address_line_1": "5 Coronet Close",
        "address_line_2": "Appley Bridge",
        "locality": "Wigan",
        "postal_code": "WN6 9AY",
        "region": "Lancashire"
      },
      "name": "EDGERTON, Gary",
      "officer_role": "secretary"
    },
    {
      "officer_role": "director",
      "nationality": "British",
      "name": "EDGERTON, Gary",
      "address": {
        "region": "Lancashire",
        "locality": "Wigan",
        "postal_code": "WN6 9AY",
        "address_line_2": "Appley Bridge",
        "address_line_1": "5 Coronet Close"
      },
      "occupation": "Chartered Accountant",
      "appointed_on": "2001-11-08",
      "links": {
        "officer": {
          "appointments": "/officers/2z10pgPD6tsX6MTgrsK2A5eH84I/appointments"
        }
      },
      "country_of_residence": "England",
      "date_of_birth": {
        "year": 1961,
        "month": 2
      }
    },
    {
      "nationality": "British",
      "officer_role": "director",
      "country_of_residence": "England",
      "date_of_birth": {
        "year": 1964,
        "month": 2
      },
      "links": {
        "officer": {
          "appointments": "/officers/LwttrbISo4ssEH41i9afDqGldIw/appointments"
        }
      },
      "appointed_on": "2001-11-08",
      "occupation": "Chartered Accountant",
      "address": {
        "postal_code": "WN6 9DX",
        "region": "Lancashire",
        "locality": "Wigan",
        "address_line_1": "Woodmead 150 Appley Lane North",
        "address_line_2": "Appley Bridge"
      },
      "name": "FAIRHURST, John Bennett Stuart"
    },
    {
      "name": "SMITH, Roger Michael",
      "occupation": "Chartered Accountant",
      "address": {
        "premises": "8 Foxglove Close",
        "locality": "Wigan",
        "address_line_1": "Standish",
        "region": "Lancashire",
        "postal_code": "WN6 0NQ",
        "country": "England"
      },
      "links": {
        "officer": {
          "appointments": "/officers/QA0A8BKS_2sOeXb50v8417VTuA4/appointments"
        }
      },
      "appointed_on": "2016-02-01",
      "country_of_residence": "England",
      "date_of_birth": {
        "year": 1957,
        "month": 10
      },
      "officer_role": "director",
      "nationality": "British"
    },
    {
      "links": {
        "officer": {
          "appointments": "/officers/xLPL0PBzn14BtfuhzOZQswj4AoM/appointments"
        }
      },
      "appointed_on": "2001-11-08",
      "resigned_on": "2001-11-08",
      "officer_role": "corporate-nominee-secretary",
      "name": "TEMPLE SECRETARIES LIMITED",
      "address": {
        "postal_code": "NW11 7TJ",
        "locality": "London",
        "address_line_1": "788-790 Finchley Road"
      }
    },
    {
      "nationality": "British",
      "resigned_on": "2005-10-11",
      "officer_role": "director",
      "date_of_birth": {
        "month": 11,
        "year": 1967
      },
      "country_of_residence": "United Kingdom",
      "links": {
        "officer": {
          "appointments": "/officers/qsMubfdOmmHaFkPQamBi56qp6hc/appointments"
        }
      },
      "appointed_on": "2002-09-01",
      "address": {
        "address_line_1": "5 Deerwood Gardens",
        "postal_code": "WN1 2SR",
        "address_line_2": "Standish",
        "locality": "Wigan",
        "region": "Lancashire"
      },
      "occupation": "Company Director",
      "name": "LUCAS, Ian"
    },
    {
      "appointed_on": "2001-11-08",
      "links": {
        "officer": {
          "appointments": "/officers/i_HOdWaRtlAnzgUpCr54HC_6AgE/appointments"
        }
      },
      "country_of_residence": "England",
      "date_of_birth": {
        "year": 1949,
        "month": 2
      },
      "name": "MELLING, John",
      "occupation": "Chartered Accountant",
      "address": {
        "address_line_1": "6 Kingsdown Crescent",
        "locality": "Wigan",
        "region": "Lancashire",
        "postal_code": "WN1 2RS"
      },
      "resigned_on": "2007-03-30",
      "nationality": "British",
      "officer_role": "director"
    },
    {
      "officer_role": "director",
      "resigned_on": "2015-09-30",
      "nationality": "British",
      "name": "SMITH, Roger Michael",
      "address": {
        "postal_code": "WN6 0NQ",
        "address_line_1": "8 Foxglove Close",
        "region": "Lancashire",
        "locality": "Wigan",
        "address_line_2": "Standish"
      },
      "occupation": "Chartered Accountant",
      "links": {
        "officer": {
          "appointments": "/officers/QA0A8BKS_2sOeXb50v8417VTuA4/appointments"
        }
      },
      "appointed_on": "2001-11-08",
      "country_of_residence": "England",
      "date_of_birth": {
        "month": 10,
        "year": 1957
      }
    },
    {
      "resigned_on": "2001-11-08",
      "appointed_on": "2001-11-08",
      "links": {
        "officer": {
          "appointments": "/officers/C7trUnW0xAvzpaSmVXVviwNi2BY/appointments"
        }
      },
      "address": {
        "postal_code": "NW11 7TJ",
        "address_line_1": "788-790 Finchley Road",
        "locality": "London"
      },
      "officer_role": "corporate-nominee-director",
      "name": "COMPANY DIRECTORS LIMITED"
    }
  ],
  "resigned_count": 5,
  "items_per_page": 35,
  "start_index": 0
}

The following is an example return for the officer appointments, again showing address data returned: -

https://api.companieshouse.gov.uk/officers/2z10pgPD6tsX6MTgrsK2A5eH84I/appointments

{
  "is_corporate_officer": false,
  "items": [
    {
      "appointed_to": {
        "company_status": "active",
        "company_number": "04361820",
        "company_name": "FAIRHURST FINANCIAL PLANNING LIMITED"
      },
      "address": {
        "address_line_1": "5 Coronet Close",
        "address_line_2": "Appley Bridge",
        "region": "Lancashire",
        "locality": "Wigan",
        "postal_code": "WN6 9AY"
      },
      "name_elements": {
        "surname": "EDGERTON",
        "honours": "FCA",
        "forename": "Gary"
      },
      "occupation": "Chartered Accountant",
      "name": "Gary EDGERTON",
      "appointed_on": "2002-01-28",
      "officer_role": "director",
      "links": {
        "company": "/company/04361820"
      },
      "nationality": "British",
      "country_of_residence": "England"
    },
    {
      "name": "Gary EDGERTON",
      "appointed_on": "2002-01-28",
      "officer_role": "secretary",
      "links": {
        "company": "/company/04361820"
      },
      "name_elements": {
        "honours": "FCA",
        "surname": "EDGERTON",
        "forename": "Gary"
      },
      "appointed_to": {
        "company_status": "active",
        "company_name": "FAIRHURST FINANCIAL PLANNING LIMITED",
        "company_number": "04361820"
      },
      "address": {
        "address_line_1": "5 Coronet Close",
        "address_line_2": "Appley Bridge",
        "region": "Lancashire",
        "locality": "Wigan",
        "postal_code": "WN6 9AY"
      }
    },
    {
      "name_elements": {
        "surname": "EDGERTON",
        "honours": "FCA",
        "forename": "Gary"
      },
      "appointed_to": {
        "company_status": "active",
        "company_number": "04319561",
        "company_name": "FAIRHURST LIMITED"
      },
      "address": {
        "address_line_1": "5 Coronet Close",
        "region": "Lancashire",
        "address_line_2": "Appley Bridge",
        "postal_code": "WN6 9AY",
        "locality": "Wigan"
      },
      "links": {
        "company": "/company/04319561"
      },
      "officer_role": "secretary",
      "appointed_on": "2001-11-08",
      "name": "Gary EDGERTON"
    },
    {
      "appointed_to": {
        "company_status": "active",
        "company_name": "FAIRHURST LIMITED",
        "company_number": "04319561"
      },
      "address": {
        "address_line_1": "5 Coronet Close",
        "address_line_2": "Appley Bridge",
        "region": "Lancashire",
        "locality": "Wigan",
        "postal_code": "WN6 9AY"
      },
      "name_elements": {
        "honours": "FCA",
        "surname": "EDGERTON",
        "forename": "Gary"
      },
      "occupation": "Chartered Accountant",
      "links": {
        "company": "/company/04319561"
      },
      "officer_role": "director",
      "name": "Gary EDGERTON",
      "appointed_on": "2001-11-08",
      "country_of_residence": "England",
      "nationality": "British"
    },
    {
      "officer_role": "director",
      "links": {
        "company": "/company/04143067"
      },
      "appointed_on": "2004-07-06",
      "name": "Gary EDGERTON",
      "nationality": "British",
      "appointed_to": {
        "company_name": "PAUL SCULTHORPE RIGHTS LIMITED",
        "company_number": "04143067",
        "company_status": "active"
      },
      "address": {
        "address_line_1": "6 Barrowcroft Close",
        "region": "Lancashire",
        "locality": "Wigan",
        "postal_code": "WN1 2TW"
      },
      "occupation": "Chartered Accountant",
      "name_elements": {
        "honours": "FCA",
        "surname": "EDGERTON",
        "forename": "Gary"
      },
      "resigned_on": "2004-09-01"
    }
  ],
  "date_of_birth": {
    "month": 2,
    "year": 1961
  },
  "name": "Gary EDGERTON",
  "etag": "5e210104bbd46f848221bde13b3f8cbcaf6cbad7",
  "total_results": 5,
  "links": {
    "self": "/officers/2z10pgPD6tsX6MTgrsK2A5eH84I/appointments"
  },
  "start_index": 0,
  "kind": "personal-appointment",
  "items_per_page": 35
}

Could you let me know which endpoint you are using and what query parameters have been provided so we can check if this is a data issue?

Thanks,

@mfairhurst

I follow this code .

Unable to get desired results .

Can u help me please?

Regards,
Hassaan

@ma1,

The code you are using is not developed by Companies House so is not something I can help with.

Thanks

@mfairhurst