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 58": [
      {
        "Guid": "8c0a27b4-e2c8-4d41-803c-3f707360ea10",
        "RequestStatus": "None",
        "CoveredBy": "sample string 37",
        "OfferedBy": "sample string 89",
        "RedirectUrl": "sample string 25",
        "RequestMessage": "sample string 51",
        "KeepSessionAlive": true,
        "Created": "2021-07-31T23:22:51.786973+02:00",
        "LastChanged": "2021-07-31T23:22:51.786973+02:00",
        "RequestResources": [
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          },
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          },
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          }
        ],
        "Errors": [
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          },
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          },
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 6"
          }
        }
      },
      {
        "Guid": "8c0a27b4-e2c8-4d41-803c-3f707360ea10",
        "RequestStatus": "None",
        "CoveredBy": "sample string 37",
        "OfferedBy": "sample string 89",
        "RedirectUrl": "sample string 25",
        "RequestMessage": "sample string 51",
        "KeepSessionAlive": true,
        "Created": "2021-07-31T23:22:51.786973+02:00",
        "LastChanged": "2021-07-31T23:22:51.786973+02:00",
        "RequestResources": [
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          },
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          },
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          }
        ],
        "Errors": [
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          },
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          },
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 6"
          }
        }
      },
      {
        "Guid": "8c0a27b4-e2c8-4d41-803c-3f707360ea10",
        "RequestStatus": "None",
        "CoveredBy": "sample string 37",
        "OfferedBy": "sample string 89",
        "RedirectUrl": "sample string 25",
        "RequestMessage": "sample string 51",
        "KeepSessionAlive": true,
        "Created": "2021-07-31T23:22:51.786973+02:00",
        "LastChanged": "2021-07-31T23:22:51.786973+02:00",
        "RequestResources": [
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          },
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          },
          {
            "ServiceCode": "sample string 45",
            "ServiceEditionCode": 2,
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-15": "sample string 44",
              "sample-string-98": "sample string 29",
              "sample-string-77": "sample string 93"
            }
          }
        ],
        "Errors": [
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          },
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          },
          {
            "ErrorCode": "sample string 67",
            "ErrorMessage": "sample string 60"
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 6"
          }
        }
      }
    ]
  },
  "continuationtoken": "sample string 73"
}