GET delegationRequests?serviceCode={serviceCode}&serviceEditionCode={serviceEditionCode}&direction={direction}&status[0]={status[0]}&status[1]={status[1]}&continuation={continuation}

Gets a list of all the DelegationRequests where the authenticated organization is either coveredBy or offeredBy. Optional parameters can be used in order to filter the result.

Request Information

Parameters

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

None.

serviceCode Optional filter parameter for serviceCode

Define this parameter in the request URI.

serviceEditionCode Optional filter parameter for serviceEditionCode

Define this parameter in the request URI.

direction Optional filter parameter for directions (incoming, outgoing). If no direction is specified, both incoming and outgoing requests will be returned

Define this parameter in the request URI.

status Optional filter parameter for status. (created, unopened, approved, rejected, deleted)

Define this parameter in the request URI.

continuation Optional filter parameter for continuationToken

Define this parameter in the request URI.

Response Information

An HttpResponse with the added request or errors if any.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 88"
    }
  },
  "_embedded": {
    "sample string 70": [
      {
        "Guid": "15678f30-ad8c-40d6-9e26-ef99aa56881b",
        "RequestStatus": "None",
        "CoveredBy": "sample string 41",
        "OfferedBy": "sample string 87",
        "RedirectUrl": "sample string 8",
        "RequestMessage": "sample string 12",
        "KeepSessionAlive": true,
        "Created": "2021-10-11T18:21:13.3302993+02:00",
        "LastChanged": "2021-10-11T18:21:13.3302993+02:00",
        "RequestResources": [
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          },
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          },
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          }
        ],
        "Errors": [
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          },
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          },
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          }
        ]
      },
      {
        "Guid": "15678f30-ad8c-40d6-9e26-ef99aa56881b",
        "RequestStatus": "None",
        "CoveredBy": "sample string 41",
        "OfferedBy": "sample string 87",
        "RedirectUrl": "sample string 8",
        "RequestMessage": "sample string 12",
        "KeepSessionAlive": true,
        "Created": "2021-10-11T18:21:13.3302993+02:00",
        "LastChanged": "2021-10-11T18:21:13.3302993+02:00",
        "RequestResources": [
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          },
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          },
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          }
        ],
        "Errors": [
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          },
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          },
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          }
        ]
      },
      {
        "Guid": "15678f30-ad8c-40d6-9e26-ef99aa56881b",
        "RequestStatus": "None",
        "CoveredBy": "sample string 41",
        "OfferedBy": "sample string 87",
        "RedirectUrl": "sample string 8",
        "RequestMessage": "sample string 12",
        "KeepSessionAlive": true,
        "Created": "2021-10-11T18:21:13.3302993+02:00",
        "LastChanged": "2021-10-11T18:21:13.3302993+02:00",
        "RequestResources": [
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          },
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          },
          {
            "ServiceCode": "sample string 90",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-23": "sample string 16",
              "sample-string-19": "sample string 84",
              "sample-string-43": "sample string 64"
            }
          }
        ],
        "Errors": [
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          },
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          },
          {
            "ErrorCode": "sample string 54",
            "ErrorMessage": "sample string 2"
          }
        ]
      }
    ]
  },
  "continuationtoken": "sample string 42"
}