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 24"
    }
  },
  "_embedded": {
    "sample string 40": [
      {
        "ReporteeId": "sample string 84",
        "PartyUUID": "e1692e72-7c53-4b4e-8736-e1c4b2104838",
        "Name": "sample string 13",
        "Type": "sample string 2",
        "SocialSecurityNumber": "sample string 27",
        "OrganizationNumber": "sample string 76",
        "ParentOrganizationNumber": "sample string 7",
        "OrganizationForm": "sample string 73",
        "Status": "sample string 35",
        "_links": {
          "self": {
            "href": "sample string 42"
          }
        }
      },
      {
        "ReporteeId": "sample string 84",
        "PartyUUID": "e1692e72-7c53-4b4e-8736-e1c4b2104838",
        "Name": "sample string 13",
        "Type": "sample string 2",
        "SocialSecurityNumber": "sample string 27",
        "OrganizationNumber": "sample string 76",
        "ParentOrganizationNumber": "sample string 7",
        "OrganizationForm": "sample string 73",
        "Status": "sample string 35",
        "_links": {
          "self": {
            "href": "sample string 42"
          }
        }
      },
      {
        "ReporteeId": "sample string 84",
        "PartyUUID": "e1692e72-7c53-4b4e-8736-e1c4b2104838",
        "Name": "sample string 13",
        "Type": "sample string 2",
        "SocialSecurityNumber": "sample string 27",
        "OrganizationNumber": "sample string 76",
        "ParentOrganizationNumber": "sample string 7",
        "OrganizationForm": "sample string 73",
        "Status": "sample string 35",
        "_links": {
          "self": {
            "href": "sample string 42"
          }
        }
      }
    ]
  }
}