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 47"
    }
  },
  "_embedded": {
    "sample string 61": [
      {
        "ReporteeId": "sample string 11",
        "Name": "sample string 38",
        "Type": "sample string 57",
        "SocialSecurityNumber": "sample string 46",
        "OrganizationNumber": "sample string 74",
        "ParentOrganizationNumber": "sample string 78",
        "OrganizationForm": "sample string 31",
        "Status": "sample string 52"
      },
      {
        "ReporteeId": "sample string 11",
        "Name": "sample string 38",
        "Type": "sample string 57",
        "SocialSecurityNumber": "sample string 46",
        "OrganizationNumber": "sample string 74",
        "ParentOrganizationNumber": "sample string 78",
        "OrganizationForm": "sample string 31",
        "Status": "sample string 52"
      },
      {
        "ReporteeId": "sample string 11",
        "Name": "sample string 38",
        "Type": "sample string 57",
        "SocialSecurityNumber": "sample string 46",
        "OrganizationNumber": "sample string 74",
        "ParentOrganizationNumber": "sample string 78",
        "OrganizationForm": "sample string 31",
        "Status": "sample string 52"
      }
    ]
  }
}