Get Pledges for a Contact

GET {{baseUrl}}/api/v2/Pledge/ByContact/:contactId?sortBy=<string>&descending=<boolean>&skip=<integer>&take=<integer>

Request Params

KeyDatatypeRequiredDescription
sortBystringThe field to be sorted. Supported: Id, PledgeDate, AmountPledged, CreatedDateTime.
descendingstringThe direction to be sorted.
skipstringThe number of records to skip. Default = 0.
takestringThe number of records to take. Default = 10.

RESPONSES

status: OK

{&quot;list&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;contactId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;amountPledged&quot;:&quot;\u003cdouble\u003e&quot;,&quot;frequency&quot;:&quot;\u003cstring\u003e&quot;,&quot;pledgeDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedFulfillmentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;modifiedDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;modifiedByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;segmentId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;segment&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;project&quot;:&quot;\u003cstring\u003e&quot;,&quot;isPrivate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;payments&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;giftId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;actualAmount&quot;:&quot;\u003cdouble\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;giftId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;actualAmount&quot;:&quot;\u003cdouble\u003e&quot;}],&quot;customFields&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;}]},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;contactId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;amountPledged&quot;:&quot;\u003cdouble\u003e&quot;,&quot;frequency&quot;:&quot;\u003cstring\u003e&quot;,&quot;pledgeDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedFulfillmentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;modifiedDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;modifiedByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;segmentId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;segment&quot;:&quot;\u003cstring\u003e&quot;,&quot;projectId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;project&quot;:&quot;\u003cstring\u003e&quot;,&quot;isPrivate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;payments&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;giftId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;actualAmount&quot;:&quot;\u003cdouble\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;expectedPaymentDate&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;expectedAmount&quot;:&quot;\u003cdouble\u003e&quot;,&quot;giftId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;actualAmount&quot;:&quot;\u003cdouble\u003e&quot;}],&quot;customFields&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;}]}],&quot;total&quot;:&quot;\u003cinteger\u003e&quot;}