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 95"
    }
  },
  "_embedded": {
    "sample string 18": [
      {
        "ReporteeId": "sample string 72",
        "Name": "sample string 90",
        "Type": "sample string 94",
        "SocialSecurityNumber": "sample string 86",
        "OrganizationNumber": "sample string 7",
        "ParentOrganizationNumber": "sample string 27",
        "OrganizationForm": "sample string 15",
        "Status": "sample string 97",
        "_links": {
          "self": {
            "href": "sample string 23"
          }
        }
      },
      {
        "ReporteeId": "sample string 72",
        "Name": "sample string 90",
        "Type": "sample string 94",
        "SocialSecurityNumber": "sample string 86",
        "OrganizationNumber": "sample string 7",
        "ParentOrganizationNumber": "sample string 27",
        "OrganizationForm": "sample string 15",
        "Status": "sample string 97",
        "_links": {
          "self": {
            "href": "sample string 23"
          }
        }
      },
      {
        "ReporteeId": "sample string 72",
        "Name": "sample string 90",
        "Type": "sample string 94",
        "SocialSecurityNumber": "sample string 86",
        "OrganizationNumber": "sample string 7",
        "ParentOrganizationNumber": "sample string 27",
        "OrganizationForm": "sample string 15",
        "Status": "sample string 97",
        "_links": {
          "self": {
            "href": "sample string 23"
          }
        }
      }
    ]
  }
}