Authentication | |
Yes | PRIVATE API Token |
Response Parameters | |
people_available_fields | |
Name | The text name for the custom field |
Data Type | The type (i.e. text, numeric) of data collected by the custom field |
Created Date | The datetime stamp for the custom field’s creation |
WINDOWS USERS – Please see note at the end
This endpoint will return an array that contains all of the custom fields for your account – there are no parameters for this call. The “name” field can be used in conjunction with the exclude parameter in our GET people endpoint to trim out unwanted fields there.
curl -v -D - -H 'Authorization: Token token="[private_api_token_here]"' -H "Accept: application/json" -H "Content-type: application/json" "https://fundraise.givesmart.com/api/v2/reports/people_available_fields"
By default these commands will not work on the Windows command prompt as it does not escape double quotes properly. Windows users can use Cygwin to have a Unix-like command prompt, or they can structure the calls to escape the quotes like so:
curl -H "Authorization: Token token=\"[private_api_token_here]\"" -H "Accept: application/json" -H "Content-type: application/json" -X GET -d " {\"status\":\"collected,pending\",\"transaction_type\":\"sale,credit\",\"amount_min\":\"50.00\"}" https://fundraise.givesmart.com/api/v2/reports/transactions.json?
and
curl -H "Authorization: Token token=\"[private_api_token_here]\"" -H "Accept: application/json" -H "Content-type: application/json" -X GET -d " {\"id\":\"[report_id_here]\"}" https://fundraise.givesmart.com/api/v2/reports/results.json?