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 0"
    }
  },
  "_embedded": {
    "sample string 60": [
      {
        "ReporteeId": "sample string 8",
        "PartyUUID": "02421bde-00fa-42f7-800f-2ba6dcd15cbc",
        "Name": "sample string 61",
        "Type": "sample string 89",
        "SocialSecurityNumber": "sample string 29",
        "OrganizationNumber": "sample string 15",
        "ParentOrganizationNumber": "sample string 65",
        "OrganizationForm": "sample string 29",
        "Status": "sample string 51",
        "_links": {
          "self": {
            "href": "sample string 16"
          }
        }
      },
      {
        "ReporteeId": "sample string 8",
        "PartyUUID": "02421bde-00fa-42f7-800f-2ba6dcd15cbc",
        "Name": "sample string 61",
        "Type": "sample string 89",
        "SocialSecurityNumber": "sample string 29",
        "OrganizationNumber": "sample string 15",
        "ParentOrganizationNumber": "sample string 65",
        "OrganizationForm": "sample string 29",
        "Status": "sample string 51",
        "_links": {
          "self": {
            "href": "sample string 16"
          }
        }
      },
      {
        "ReporteeId": "sample string 8",
        "PartyUUID": "02421bde-00fa-42f7-800f-2ba6dcd15cbc",
        "Name": "sample string 61",
        "Type": "sample string 89",
        "SocialSecurityNumber": "sample string 29",
        "OrganizationNumber": "sample string 15",
        "ParentOrganizationNumber": "sample string 65",
        "OrganizationForm": "sample string 29",
        "Status": "sample string 51",
        "_links": {
          "self": {
            "href": "sample string 16"
          }
        }
      }
    ]
  }
}