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 67"
    }
  },
  "_embedded": {
    "sample string 1": [
      {
        "ReporteeId": "sample string 74",
        "Name": "sample string 70",
        "Type": "sample string 41",
        "SocialSecurityNumber": "sample string 64",
        "OrganizationNumber": "sample string 68",
        "ParentOrganizationNumber": "sample string 54",
        "OrganizationForm": "sample string 27",
        "Status": "sample string 82",
        "_links": {
          "self": {
            "href": "sample string 22"
          }
        }
      },
      {
        "ReporteeId": "sample string 74",
        "Name": "sample string 70",
        "Type": "sample string 41",
        "SocialSecurityNumber": "sample string 64",
        "OrganizationNumber": "sample string 68",
        "ParentOrganizationNumber": "sample string 54",
        "OrganizationForm": "sample string 27",
        "Status": "sample string 82",
        "_links": {
          "self": {
            "href": "sample string 22"
          }
        }
      },
      {
        "ReporteeId": "sample string 74",
        "Name": "sample string 70",
        "Type": "sample string 41",
        "SocialSecurityNumber": "sample string 64",
        "OrganizationNumber": "sample string 68",
        "ParentOrganizationNumber": "sample string 54",
        "OrganizationForm": "sample string 27",
        "Status": "sample string 82",
        "_links": {
          "self": {
            "href": "sample string 22"
          }
        }
      }
    ]
  }
}