GET serviceowner/organizations?email={email}&phoneNumber={phoneNumber}

Get a list of organizations that match the provided filters. The special email and phone number parameters can be used to search for all organizations that have those values as their official or personal contact point.

Request Information

Parameters

NameDescriptionAdditional information
email The email address to look for.

Define this parameter in the request URI.

phoneNumber The phone number to look for.

Define this parameter in the request URI.

queryOptions There are support for OData, but with some limitations: $top - Number of organizations to retrieve. The value can be from 1 to 1000. Values outside this range will be adjusted automatically.$skip - Number of organizations to skip. (Use this together with $top to create paging functionality.) The value can be 0 or higher. Negative values will be ignored.$orderby - Can be used to change sorting. It is possible to sort by Name or OrganizationNumber. The default is OrganizationNumber.$filter - Can be used to filter the result. Currently limited to filtering on Type with exact value. Eg: $filter=Type eq 'ENK'$expand - Can be used to include official contacts of each organization in the list. Use: $expand=OfficialContacts

None.

Response Information

All units matching the given criteria.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 99"
    }
  },
  "_embedded": {
    "sample string 54": [
      {
        "Name": "sample string 23",
        "OrganizationNumber": "sample string 52",
        "Type": "sample string 21",
        "LastChanged": "2024-06-05T13:06:57.5103771+02:00",
        "LastConfirmed": "2024-06-05T13:06:57.5103771+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 37"
            }
          },
          "_embedded": {
            "sample string 7": [
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              },
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              },
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              }
            ]
          }
        }
      },
      {
        "Name": "sample string 23",
        "OrganizationNumber": "sample string 52",
        "Type": "sample string 21",
        "LastChanged": "2024-06-05T13:06:57.5103771+02:00",
        "LastConfirmed": "2024-06-05T13:06:57.5103771+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 37"
            }
          },
          "_embedded": {
            "sample string 7": [
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              },
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              },
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              }
            ]
          }
        }
      },
      {
        "Name": "sample string 23",
        "OrganizationNumber": "sample string 52",
        "Type": "sample string 21",
        "LastChanged": "2024-06-05T13:06:57.5103771+02:00",
        "LastConfirmed": "2024-06-05T13:06:57.5103771+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 37"
            }
          },
          "_embedded": {
            "sample string 7": [
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              },
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              },
              {
                "MobileNumber": "sample string 9",
                "MobileNumberChanged": "2024-06-05T13:06:57.5103771+02:00",
                "EMailAddress": "sample string 74",
                "EMailAddressChanged": "2024-06-05T13:06:57.5103771+02:00"
              }
            ]
          }
        }
      }
    ]
  }
}