Skip to content

Searches for gifts using predefined parameters

Request

Searches for gifts using predefined parameters

Security
knox-authorizer
Path
tenantIdstringrequired

The id of the tenant being accessed.

Query
exclusiveStartKeystring

The start key for the search, for paging support

fieldsToReturnstring

The fields that you want to retrieve; if omitted, the entire object is returned

Bodyapplication/jsonrequired

The gift that you would like to be saved.

appeal_idArray of strings(Appeal)

Appeal ids to search

campaign_idArray of strings(Campaign)

Campaign ids to search

contact_idArray of strings(Contact)

Contact ids for the donor

dateArray of strings, (date-time), = 2 items(Date)
fund_idArray of strings(Fund)

Fund ids to search

idsArray of strings(Ids)

IDs to search

master_gift_idArray of strings(Master Gift)

Parent gift ids to search

order_idArray of strings(Order)

Order ids to search

organization_idArray of strings(Organization)

Organization ids for the donor

pledge_idArray of strings(Pledge)

Pledge ids to search

recurring_gift_idArray of strings(Recurring Gift)

Recurring gift ids to search

typeArray of strings(Type)

Types of the gifts

curl -i -X POST \
  'https://docs.api.rhythmsoftware.com/_mock/apis/fundraising/fundraising-v1/gifts/{tenantId}/search?exclusiveStartKey=string&fieldsToReturn=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "appeal_id": [
      "string"
    ],
    "campaign_id": [
      "string"
    ],
    "contact_id": [
      "string"
    ],
    "date": [
      "2019-08-24T14:15:22Z",
      "2019-08-24T14:15:22Z"
    ],
    "fund_id": [
      "string"
    ],
    "ids": [
      "string"
    ],
    "master_gift_id": [
      "string"
    ],
    "order_id": [
      "string"
    ],
    "organization_id": [
      "string"
    ],
    "pledge_id": [
      "string"
    ],
    "recurring_gift_id": [
      "string"
    ],
    "type": [
      "string"
    ]
  }'

Responses

The gift search was saved successfully.

Headers
Access-Control-Allow-Headersstring
Access-Control-Allow-Methodsstring
Access-Control-Allow-Originstring
Bodyapplication/json
ItemsArray of objects(GiftSearchResults)
LastEvaluatedKeystring
Response
{ "Items": [ { … } ], "LastEvaluatedKey": "string" }