GET organizations?showConsentReportees={showConsentReportees}&includeInactiveReportees={includeInactiveReportees}

Gets a list of all organizations the currently logged in user can represent.

Request Information

Parameters

NameDescriptionAdditional information
queryOptions The given OData query options.

None.

showConsentReportees Whether reportee from Consent delegated rights should be included in the list.

Define this parameter in the request URI.

includeInactiveReportees Whether inactive reportee should be included in the list.

Define this parameter in the request URI.

Response Information

List of organizations.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 7"
    }
  },
  "_embedded": {
    "sample string 88": [
      {
        "ReporteeId": "sample string 56",
        "Name": "sample string 68",
        "Type": "sample string 8",
        "SocialSecurityNumber": "sample string 87",
        "OrganizationNumber": "sample string 26",
        "ParentOrganizationNumber": "sample string 72",
        "OrganizationForm": "sample string 5",
        "Status": "sample string 65"
      },
      {
        "ReporteeId": "sample string 56",
        "Name": "sample string 68",
        "Type": "sample string 8",
        "SocialSecurityNumber": "sample string 87",
        "OrganizationNumber": "sample string 26",
        "ParentOrganizationNumber": "sample string 72",
        "OrganizationForm": "sample string 5",
        "Status": "sample string 65"
      },
      {
        "ReporteeId": "sample string 56",
        "Name": "sample string 68",
        "Type": "sample string 8",
        "SocialSecurityNumber": "sample string 87",
        "OrganizationNumber": "sample string 26",
        "ParentOrganizationNumber": "sample string 72",
        "OrganizationForm": "sample string 5",
        "Status": "sample string 65"
      }
    ]
  }
}