Query Gift Designations
POST {{baseUrl}}/api/GiftDesignation/Query?skip=<integer>&take=<integer>
You can sort by Id, Amount, GiftDate, ReceiptDate and Batch.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
skip | string | The number of records to skip. Default = 0. | |
take | string | The number of records to take. Default = 10. Max is 1000. |
Request Body
{"groups"=>[{"conditions"=>[{"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}, {"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}]}, {"conditions"=>[{"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}, {"parameter"=>"<string>", "operator"=>"<string>", "value"=>"<string>", "secondaryValue"=>"<string>", "values"=>["<string>", "<string>"]}]}], "sortBy"=>"<string>", "descending"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"list":[{"id":"\u003cinteger\u003e","createDate":"\u003cstring\u003e","amountDesignated":"\u003cdouble\u003e","giftId":"\u003cinteger\u003e","giftDate":"\u003cstring\u003e","giftType":"\u003cstring\u003e","giftIsPrivate":"\u003cboolean\u003e","giftCustomFields":"\u003cobject\u003e","giftUrl":"\u003cstring\u003e","contactId":"\u003cinteger\u003e","contactName":"\u003cstring\u003e","contactType":"\u003cstring\u003e","contactUrl":"\u003cstring\u003e","projectId":"\u003cinteger\u003e","project":"\u003cstring\u003e","projectCode":"\u003cstring\u003e","projectExternalAccountingCode":"\u003cstring\u003e","projectType":"\u003cstring\u003e","projectLocation":"\u003cstring\u003e","projectCustomFields":"\u003cobject\u003e","projectUrl":"\u003cstring\u003e","parentProjectId":"\u003cinteger\u003e","parentProject":"\u003cstring\u003e","parentProjectCode":"\u003cstring\u003e","parentProjectExternalAccountingCode":"\u003cstring\u003e","parentProjectType":"\u003cstring\u003e","parentProjectLocation":"\u003cstring\u003e","parentProjectCustomFields":"\u003cobject\u003e","parentProjectUrl":"\u003cstring\u003e","batch":"\u003cstring\u003e","segmentName":"\u003cstring\u003e","segmentCode":"\u003cstring\u003e"},{"id":"\u003cinteger\u003e","createDate":"\u003cstring\u003e","amountDesignated":"\u003cdouble\u003e","giftId":"\u003cinteger\u003e","giftDate":"\u003cstring\u003e","giftType":"\u003cstring\u003e","giftIsPrivate":"\u003cboolean\u003e","giftCustomFields":"\u003cobject\u003e","giftUrl":"\u003cstring\u003e","contactId":"\u003cinteger\u003e","contactName":"\u003cstring\u003e","contactType":"\u003cstring\u003e","contactUrl":"\u003cstring\u003e","projectId":"\u003cinteger\u003e","project":"\u003cstring\u003e","projectCode":"\u003cstring\u003e","projectExternalAccountingCode":"\u003cstring\u003e","projectType":"\u003cstring\u003e","projectLocation":"\u003cstring\u003e","projectCustomFields":"\u003cobject\u003e","projectUrl":"\u003cstring\u003e","parentProjectId":"\u003cinteger\u003e","parentProject":"\u003cstring\u003e","parentProjectCode":"\u003cstring\u003e","parentProjectExternalAccountingCode":"\u003cstring\u003e","parentProjectType":"\u003cstring\u003e","parentProjectLocation":"\u003cstring\u003e","parentProjectCustomFields":"\u003cobject\u003e","parentProjectUrl":"\u003cstring\u003e","batch":"\u003cstring\u003e","segmentName":"\u003cstring\u003e","segmentCode":"\u003cstring\u003e"}],"total":"\u003cinteger\u003e"}