GET reportees?serviceCode={serviceCode}&serviceEdition={serviceEdition}&showConsentReportees={showConsentReportees}

Gets all entities with access to the given service (identified by ServiceCode and ServiceEdition

Request Information

Parameters

NameDescriptionAdditional information
serviceCode ServiceCode of the service the result should be filtered on

Define this parameter in the request URI.

serviceEdition ServiceEdition of the service the result should be filtered on

Define this parameter in the request URI.

queryOptions OData query options

None.

showConsentReportees Whether reportee from Consent delegated rights should be included in the list.

Define this parameter in the request URI.

Response Information

All entities with access to the given service

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 59"
    }
  },
  "_embedded": {
    "sample string 95": [
      {
        "ReporteeId": "sample string 21",
        "Name": "sample string 17",
        "Type": "sample string 74",
        "SocialSecurityNumber": "sample string 33",
        "OrganizationNumber": "sample string 44",
        "ParentOrganizationNumber": "sample string 63",
        "OrganizationForm": "sample string 58",
        "Status": "sample string 94",
        "_links": {
          "self": {
            "href": "sample string 1"
          }
        }
      },
      {
        "ReporteeId": "sample string 21",
        "Name": "sample string 17",
        "Type": "sample string 74",
        "SocialSecurityNumber": "sample string 33",
        "OrganizationNumber": "sample string 44",
        "ParentOrganizationNumber": "sample string 63",
        "OrganizationForm": "sample string 58",
        "Status": "sample string 94",
        "_links": {
          "self": {
            "href": "sample string 1"
          }
        }
      },
      {
        "ReporteeId": "sample string 21",
        "Name": "sample string 17",
        "Type": "sample string 74",
        "SocialSecurityNumber": "sample string 33",
        "OrganizationNumber": "sample string 44",
        "ParentOrganizationNumber": "sample string 63",
        "OrganizationForm": "sample string 58",
        "Status": "sample string 94",
        "_links": {
          "self": {
            "href": "sample string 1"
          }
        }
      }
    ]
  }
}