Search for pledge date
Filtered by the posted fields. Returned in ID order.
e.g. to search for all pledge dates for a specific pledge
[{"by":"pledge_id","value":1}]
Path parameters
-
The ID that is previous to the one to start from e.g. if IDs are 1,2,3 fromthisid as 1 will return 2,3
POST
/pledgedate/search/{fromthisid}
curl \
-X POST https://YOURSITE.infoodle.com/apiv2/pledgedate/search/4 \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"search":[{"by":"name","value":"Test Item"}]}'
Request examples
{
"search": [
{
"by": "name",
"value": "Test Item"
}
]
}
Response examples (200)
[
{
"id": 123,
"pledge_id": 544,
"status": "P",
"payment_date_local": "2017-07-18",
"amount": 30,
"form_entry_id": 76,
"user_id": 569,
"paid_date_local": "2024-12-31",
"transaction_id": 435123,
"matched_status": "M",
"gateway_fees": 3.45,
"bank_response": "Card declined",
"datetime_created_utc": "2017-07-18 23:15:10",
"datetime_modified_utc": "2017-09-18 12:12:10"
}
]
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}