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 86"
    }
  },
  "_embedded": {
    "sample string 53": [
      {
        "ReporteeId": "sample string 1",
        "Name": "sample string 32",
        "Type": "sample string 92",
        "SocialSecurityNumber": "sample string 92",
        "OrganizationNumber": "sample string 26",
        "ParentOrganizationNumber": "sample string 56",
        "OrganizationForm": "sample string 1",
        "Status": "sample string 7",
        "_links": {
          "self": {
            "href": "sample string 95"
          }
        }
      },
      {
        "ReporteeId": "sample string 1",
        "Name": "sample string 32",
        "Type": "sample string 92",
        "SocialSecurityNumber": "sample string 92",
        "OrganizationNumber": "sample string 26",
        "ParentOrganizationNumber": "sample string 56",
        "OrganizationForm": "sample string 1",
        "Status": "sample string 7",
        "_links": {
          "self": {
            "href": "sample string 95"
          }
        }
      },
      {
        "ReporteeId": "sample string 1",
        "Name": "sample string 32",
        "Type": "sample string 92",
        "SocialSecurityNumber": "sample string 92",
        "OrganizationNumber": "sample string 26",
        "ParentOrganizationNumber": "sample string 56",
        "OrganizationForm": "sample string 1",
        "Status": "sample string 7",
        "_links": {
          "self": {
            "href": "sample string 95"
          }
        }
      }
    ]
  }
}