Skip to main content
PUT
https://prod-api.raisedonors.com
/
api
/
Query
/
{id}
Update a Saved Query
curl --request PUT \
  --url https://prod-api.raisedonors.com/api/Query/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "queryId": 123,
  "name": "<string>",
  "groups": [
    {
      "conditions": [
        {
          "parameter": "<string>",
          "value": "<string>",
          "secondaryValue": "<string>",
          "values": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "selectedColumns": [
    "<string>"
  ]
}
'

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

id
integer<int64>
required

The ID of the query to update.

Body

The updated query details.

queryId
integer<int64>
name
string | null
queryType
enum<integer>
Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
groups
object[] | null
selectedColumns
string[] | null

Response

200

OK

Last modified on June 5, 2026