POST
/
v1
/
delegations
/
global-search
Search delegations
curl --request POST \
  --url https://staging.api.us.aptlydone.com/decision/v1/delegations/global-search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "page": 1,
  "limit": 10,
  "tenantId": "105fa115-52d0-4466-baff-740447a60774",
  "search": "Authority Wisdom",
  "startDate": "2025-03-05T11:49:50.577Z",
  "endDate": "2025-03-05T11:49:50.577Z",
  "status": "ISSUED",
  "section": null,
  "category": null,
  "groupIds": "delegationDisplayId",
  "positionIds": null,
  "redelegable": true,
  "roles": "Comma separated roles IDs",
  "conditions": true,
  "authorityTypeIds": null,
  "authorityLimitValueTypes": "Time (days),Time (months),Time (years)",
  "authorityLimitValueFilters": [
    {
      "authorityLimitValueType": "Time (years)",
      "minValue": "1",
      "maxValue": "Unlimited"
    }
  ],
  "invalidFields": "delegationIssuer,delegationGroups,delegationPathway",
  "sortOrder": "asc",
  "sortBy": "delegationDisplayId"
}'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T10:47:33.417Z",
  "message": "Success",
  "data": {
    "page": 1,
    "limit": 10,
    "total": 100,
    "data": [
      {
        "id": "9f45f94d-20d2-4163-85d9-68f4f699e440",
        "tenantId": "105fa115-52d0-4466-baff-740447a60774",
        "status": "DRAFT",
        "isRootDelegation": false,
        "issuerType": "ROOT_AUTHORITY",
        "issuerUserId": "648fa115-52d0-4466-baff-740447a60774",
        "issuerPositionId": "257fa115-52d0-4466-baff-740447a60774",
        "recipientType": "PERSONNEL_IN_POSITION",
        "recipientAutoIssue": false,
        "decisionId": "864fa115-52d0-4466-baff-740447a60774",
        "parentDelegationId": "726fa115-52d0-4466-baff-740447a60774",
        "issuedDate": "2025-01-01T12:00:00Z",
        "expirationDate": "2025-12-31T12:00:00Z",
        "isNoExpiration": false,
        "effectiveDate": "2025-01-01T12:00:00Z",
        "copiedFrom": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
        "delegationPathway": [],
        "delegationRecipients": [],
        "delegationGroups": [],
        "delegationAuthorities": [],
        "delegationDocuments": [],
        "delegationDisplayId": "12789",
        "link": "/delegations/view/eyJ0ZW5hbnRJZCI6IjEwNWZhMTE1LTUyZDAtNDQ2Ni1iYWZmLTc0MDQ0N2E2MDc3NCIsImRlbGVnYXRpb25JZCI6IjMwOGNiMzMxLWYwMTgtNGJjNS1hMWE3LTQ1MTI4NTU4MTg0MyJ9",
        "delegationId": "9f45f94d-20d2-4163-85d9-68f4f699e440",
        "sourceDecision": {
          "id": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
          "decisionDisplayId": "14623",
          "name": "Long-term Investments",
          "description": "The Long-term Investments authority involves approving strategic investments",
          "guidance": "Investment decisions for long-term, strategic investments...",
          "sectionId": "105fa115-52d0-4466-baff-740447a60774",
          "categoryId": "248fa115-52d0-4466-baff-740447a60774"
        },
        "isInvalid": false,
        "invalidFields": [
          "delegationGroups",
          "delegationAuthorities"
        ],
        "actionIssuerApproval": true,
        "actionDelegationAcceptance": true,
        "actionAuthorityRequest": true,
        "approvalActionExistForUser": true,
        "acceptanceActionExistForUser": true
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Delegations list retrieved successfully

The response is of type object.