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
Name | Description | Additional information |
---|---|---|
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 88" } }, "_embedded": { "sample string 18": [ { "Name": "sample string 79", "OrganizationNumber": "sample string 81", "Type": "sample string 52", "LastChanged": "2024-11-21T22:11:51.3435879+01:00", "LastConfirmed": "2024-11-21T22:11:51.3435879+01:00", "OfficialContacts": { "_links": { "self": { "href": "sample string 5" } }, "_embedded": { "sample string 15": [ { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" }, { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" }, { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" } ] } }, "_links": { "self": { "href": "sample string 10" } } }, { "Name": "sample string 79", "OrganizationNumber": "sample string 81", "Type": "sample string 52", "LastChanged": "2024-11-21T22:11:51.3435879+01:00", "LastConfirmed": "2024-11-21T22:11:51.3435879+01:00", "OfficialContacts": { "_links": { "self": { "href": "sample string 5" } }, "_embedded": { "sample string 15": [ { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" }, { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" }, { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" } ] } }, "_links": { "self": { "href": "sample string 10" } } }, { "Name": "sample string 79", "OrganizationNumber": "sample string 81", "Type": "sample string 52", "LastChanged": "2024-11-21T22:11:51.3435879+01:00", "LastConfirmed": "2024-11-21T22:11:51.3435879+01:00", "OfficialContacts": { "_links": { "self": { "href": "sample string 5" } }, "_embedded": { "sample string 15": [ { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" }, { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" }, { "MobileNumber": "sample string 66", "MobileNumberChanged": "2024-11-21T22:11:51.3435879+01:00", "EMailAddress": "sample string 6", "EMailAddressChanged": "2024-11-21T22:11:51.3435879+01:00" } ] } }, "_links": { "self": { "href": "sample string 10" } } } ] } }