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 Obsolete: This parameter is no longer in use.

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 88"
    }
  },
  "_embedded": {
    "sample string 29": [
      {
        "ReporteeId": "sample string 30",
        "PartyUUID": "f4348493-d9fd-48dc-b769-ffb947dfdf0d",
        "Name": "sample string 73",
        "Type": "sample string 60",
        "SocialSecurityNumber": "sample string 7",
        "OrganizationNumber": "sample string 52",
        "ParentOrganizationNumber": "sample string 70",
        "OrganizationForm": "sample string 51",
        "Status": "sample string 76",
        "_links": {
          "self": {
            "href": "sample string 3"
          }
        }
      },
      {
        "ReporteeId": "sample string 30",
        "PartyUUID": "f4348493-d9fd-48dc-b769-ffb947dfdf0d",
        "Name": "sample string 73",
        "Type": "sample string 60",
        "SocialSecurityNumber": "sample string 7",
        "OrganizationNumber": "sample string 52",
        "ParentOrganizationNumber": "sample string 70",
        "OrganizationForm": "sample string 51",
        "Status": "sample string 76",
        "_links": {
          "self": {
            "href": "sample string 3"
          }
        }
      },
      {
        "ReporteeId": "sample string 30",
        "PartyUUID": "f4348493-d9fd-48dc-b769-ffb947dfdf0d",
        "Name": "sample string 73",
        "Type": "sample string 60",
        "SocialSecurityNumber": "sample string 7",
        "OrganizationNumber": "sample string 52",
        "ParentOrganizationNumber": "sample string 70",
        "OrganizationForm": "sample string 51",
        "Status": "sample string 76",
        "_links": {
          "self": {
            "href": "sample string 3"
          }
        }
      }
    ]
  }
}