POST api2/hooks/anedot/{companyID}/{id}

Anedot Campaigns Callback

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyID

integer

Required

id

integer

Required

Body Parameters

Root
NameDescriptionTypeAdditional information
event

string

None.

payload

Payload

None.

Request Format

{
  "event": "sample string 1",
  "payload": {
    "campaign_uid": "sample string 1",
    "uid": "sample string 2",
    "name": "sample string 3",
    "amount_in_dollars": 4.1,
    "event_amount": "sample string 5",
    "source": "sample string 6",
    "source_code": "sample string 7",
    "origin": "sample string 8",
    "date": "2024-12-18T23:14:57.536531+01:00",
    "processed_date": "2024-12-18T23:14:57.536531+01:00",
    "status": "sample string 11",
    "donor_type": "sample string 12",
    "organization_name": "sample string 13",
    "is_recurring_commitment": true,
    "recurring": true,
    "frequency": "sample string 16",
    "email": "sample string 17",
    "title": "sample string 18",
    "first_name": "sample string 19",
    "middle_initial": "sample string 20",
    "last_name": "sample string 21",
    "suffix": "sample string 22",
    "address": {
      "street": "sample string 1",
      "street_2": "sample string 2",
      "city": "sample string 3",
      "state": "sample string 4",
      "zip": "sample string 5",
      "country": "sample string 6"
    },
    "street": "sample string 23",
    "street_2": "sample string 24",
    "city": "sample string 25",
    "state": "sample string 26",
    "zip": "sample string 27",
    "country": "sample string 28",
    "phone": "sample string 29",
    "employer": "sample string 30",
    "occupation": "sample string 31",
    "comments": "sample string 32",
    "check_number": "sample string 33",
    "custom_fields": "sample string 34",
    "items": [
      {
        "amount": 1.1,
        "campaign_item_uuid": "sample string 2",
        "description": "sample string 3",
        "name": "sample string 4",
        "quantity": 5,
        "total": 6.1,
        "type": "sample string 7",
        "uuid": "sample string 8"
      },
      {
        "amount": 1.1,
        "campaign_item_uuid": "sample string 2",
        "description": "sample string 3",
        "name": "sample string 4",
        "quantity": 5,
        "total": 6.1,
        "type": "sample string 7",
        "uuid": "sample string 8"
      }
    ],
    "originating_uid": "sample string 35"
  }
}

Response Information

Resource Description

Collection of Empty

None.

Response Format

[
  {},
  {}
]