GET reportees?showConsentReportees={showConsentReportees}&includeInactiveReportees={includeInactiveReportees}

Gets a list of entities that the current user can represent.

Request Information

Parameters

NameDescriptionAdditional information
queryOptions OData Query details. This object is created by the Framework based on parameters in the url.

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 legal entities that the user can represent.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 10"
    }
  },
  "_embedded": {
    "sample string 73": [
      {
        "ReporteeId": "sample string 97",
        "Name": "sample string 90",
        "Type": "sample string 94",
        "SocialSecurityNumber": "sample string 23",
        "OrganizationNumber": "sample string 88",
        "ParentOrganizationNumber": "sample string 21",
        "OrganizationForm": "sample string 77",
        "Status": "sample string 34",
        "_links": {
          "self": {
            "href": "sample string 56"
          }
        }
      },
      {
        "ReporteeId": "sample string 97",
        "Name": "sample string 90",
        "Type": "sample string 94",
        "SocialSecurityNumber": "sample string 23",
        "OrganizationNumber": "sample string 88",
        "ParentOrganizationNumber": "sample string 21",
        "OrganizationForm": "sample string 77",
        "Status": "sample string 34",
        "_links": {
          "self": {
            "href": "sample string 56"
          }
        }
      },
      {
        "ReporteeId": "sample string 97",
        "Name": "sample string 90",
        "Type": "sample string 94",
        "SocialSecurityNumber": "sample string 23",
        "OrganizationNumber": "sample string 88",
        "ParentOrganizationNumber": "sample string 21",
        "OrganizationForm": "sample string 77",
        "Status": "sample string 34",
        "_links": {
          "self": {
            "href": "sample string 56"
          }
        }
      }
    ]
  }
}