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 97"
    }
  },
  "_embedded": {
    "sample string 12": [
      {
        "Name": "sample string 81",
        "OrganizationNumber": "sample string 70",
        "Type": "sample string 12",
        "LastChanged": "2024-04-24T14:07:20.7783259+02:00",
        "LastConfirmed": "2024-04-24T14:07:20.7783259+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 22"
            }
          },
          "_embedded": {
            "sample string 60": [
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              },
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              },
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              }
            ]
          }
        }
      },
      {
        "Name": "sample string 81",
        "OrganizationNumber": "sample string 70",
        "Type": "sample string 12",
        "LastChanged": "2024-04-24T14:07:20.7783259+02:00",
        "LastConfirmed": "2024-04-24T14:07:20.7783259+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 22"
            }
          },
          "_embedded": {
            "sample string 60": [
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              },
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              },
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              }
            ]
          }
        }
      },
      {
        "Name": "sample string 81",
        "OrganizationNumber": "sample string 70",
        "Type": "sample string 12",
        "LastChanged": "2024-04-24T14:07:20.7783259+02:00",
        "LastConfirmed": "2024-04-24T14:07:20.7783259+02:00",
        "OfficialContacts": {
          "_links": {
            "self": {
              "href": "sample string 22"
            }
          },
          "_embedded": {
            "sample string 60": [
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              },
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              },
              {
                "MobileNumber": "sample string 58",
                "MobileNumberChanged": "2024-04-24T14:07:20.7783259+02:00",
                "EMailAddress": "sample string 31",
                "EMailAddressChanged": "2024-04-24T14:07:20.7783259+02:00"
              }
            ]
          }
        }
      }
    ]
  }
}