Get Gifts for a Contact
GET {{baseUrl}}/api/Gift/ByContact/:contactId?sortBy=<string>&descending=<boolean>&skip=<integer>&take=<integer>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
sortBy | string | The field to be sorted. Supported: Id, GiftDate, Amount, Batch, CreatedDateTime. | |
descending | string | The direction to be sorted. | |
skip | string | The number of records to skip. Default = 0. | |
take | string | The number of records to take. Default = 10. |
RESPONSES
status: OK
{"list":[{"id":"\u003cinteger\u003e","contactId":"\u003cinteger\u003e","contactIndividualId":"\u003cinteger\u003e","giftType":"\u003cstring\u003e","giftDate":"\u003cstring\u003e","amount":"\u003cstring\u003e","segment":"\u003cstring\u003e","batch":"\u003cstring\u003e","giftUrl":"\u003cstring\u003e","culture":"\u003cstring\u003e","exchangeRate":"\u003cdouble\u003e"},{"id":"\u003cinteger\u003e","contactId":"\u003cinteger\u003e","contactIndividualId":"\u003cinteger\u003e","giftType":"\u003cstring\u003e","giftDate":"\u003cstring\u003e","amount":"\u003cstring\u003e","segment":"\u003cstring\u003e","batch":"\u003cstring\u003e","giftUrl":"\u003cstring\u003e","culture":"\u003cstring\u003e","exchangeRate":"\u003cdouble\u003e"}],"total":"\u003cinteger\u003e"}