GET /v0/physical_persons/:id
Get a specific physical person.

Examples

{
  "data": {
    "id": "13493181",
    "type": "physical_persons",
    "attributes": {
      "first_name": "Florent",
      "last_name": "Schläppi",
      "gender": "male",
      "origin": "Saint-Légier-La Chiésaz",
      "residence": "Lausanne",
      "origin_country": null,
      "residence_country": null
    },
    "relationships": {
      "companies": {
        "data": [
          {
            "id": "522490",
            "type": "companies"
          }
        ]
      }
    }
  }
}

Params

Param name Description
id
required

The physical person id.

Validations:

  • Must match regular expression /\A\d+\Z/.


GET /v0/physical_persons/search_by_name
Search physical persons by name. Supports fuzziness. Responds with a maximum of 30 results.

Examples

# curl -H "Authorization: Bearer your_api_key" 'https://api.business-monitor.ch/v0/physical_persons/search_by_name?filters[query]=Schlaeppi'
{
  "data": [
    {
      "id": "33493181",
      "type": "physical_persons",
      "attributes": {
        "first_name":"Florent",
        "last_name":"Schläppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "43689261",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Pascal",
        "last_name": "Schlaeppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "55123095",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Marco",
        "last_name": "Schäppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "65831802",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Jürg",
        "last_name": "Schläppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "75831803",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Peter",
        "last_name": "Schläppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "85834033",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Olivier",
        "last_name": "Schläppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "95860652",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Martin",
        "last_name": "Schläppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "16046381",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Thomas",
        "last_name": "Schläppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    },
    {
      "id": "26750853",
      "type": "physical_persons",
      "attributes": {
        "first_name": "Andreas",
        "last_name": "Schläppi",
        "gender": "male",
        "origin": "Saint-Légier-La Chiésaz",
        "residence": "Lausanne",
        "origin_country": null,
        "residence_country": null
      }
    }
  ]
}

Params

Param name Description
filters
required

Validations:

  • Must be a Hash

filters[query]
required

Search query.

Validations:

  • Must be a String