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 72"
    }
  },
  "_embedded": {
    "sample string 44": [
      {
        "Name": "sample string 57",
        "OrganizationNumber": "sample string 10",
        "Type": "sample string 50",
        "LastChanged": "2024-04-07T12:03:00.6289063+02:00",
        "LastConfirmed": "2024-04-07T12:03:00.6289063+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 65"
            }
          },
          "_embedded": {
            "sample string 21": [
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              },
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              },
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 32"
          }
        }
      },
      {
        "Name": "sample string 57",
        "OrganizationNumber": "sample string 10",
        "Type": "sample string 50",
        "LastChanged": "2024-04-07T12:03:00.6289063+02:00",
        "LastConfirmed": "2024-04-07T12:03:00.6289063+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 65"
            }
          },
          "_embedded": {
            "sample string 21": [
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              },
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              },
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 32"
          }
        }
      },
      {
        "Name": "sample string 57",
        "OrganizationNumber": "sample string 10",
        "Type": "sample string 50",
        "LastChanged": "2024-04-07T12:03:00.6289063+02:00",
        "LastConfirmed": "2024-04-07T12:03:00.6289063+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 65"
            }
          },
          "_embedded": {
            "sample string 21": [
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              },
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              },
              {
                "MobileNumber": "sample string 6",
                "MobileNumberChanged": "2024-04-07T12:03:00.6289063+02:00",
                "EMailAddress": "sample string 51",
                "EMailAddressChanged": "2024-04-07T12:03:00.6289063+02:00"
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 32"
          }
        }
      }
    ]
  }
}