# WildApricot

> Read contacts, members, events, registrations, invoices, and payments.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/wild-apricot

## Actions

### Get account

Get account.

**Inputs**

- Account (`account_id`, number, required): Your account identifier

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "BillingPlan": {
      "Name": "example",
      "Price": 1
    },
    "ContactLimitInfo": {
      "BillingPlanContactsLimit": 1,
      "CurrentContactsCount": 1
    },
    "Currency": {
      "Code": "example",
      "Name": "example",
      "Symbol": "example"
    },
    "Id": 1,
    "IsFreeAccount": true,
    "Localization": {
      "DateFormat": "example",
      "TimeFormat": "example"
    },
    "Name": "example",
    "PaymentSettings": {
      "EventPaymentInstructions": "example",
      "GeneralPaymentInstructions": "example",
      "MembershipPaymentInstructions": "example"
    },
    "PrimaryDomainName": "example",
    "Resources": [
      {
        "AllowedOperations": [
          "example"
        ],
        "Description": "example",
        "Name": "example"
      }
    ],
    "SquareRegisterSettings": {
      "ClientId": "example",
      "IntegrationEnabled": true
    },
    "TimeZone": {
      "Name": "example",
      "UtcOffset": 1,
      "ZoneId": "example"
    }
  }
}
```

### Get contact

Get contact.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Contact ID (`contact_id`, number, required): Unique contact identifier
- Get extended membership info (`get_extended_membership_info`, true/false): When GetExtendedMembershipInfo specified the API returns the information about membership order status, membership invoice and allowed actions for current member status.

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "DisplayName": "example",
    "Email": "example",
    "ExtendedMembershipInfo": {
      "AllowedActions": [
        {
          "Id": 1,
          "Name": "example",
          "Url": "example"
        }
      ],
      "PendingMembershipInvoice": {
        "Id": 1,
        "Url": "example"
      },
      "PendingMembershipOrderStatusType": "Invisible"
    },
    "FieldValues": [
      {
        "CustomAccessLevel": "Public",
        "FieldName": "example",
        "SystemCode": "example",
        "Value": {}
      }
    ],
    "FirstName": "example",
    "Id": 1,
    "IsAccountAdministrator": true,
    "LastName": "example",
    "MembershipEnabled": true,
    "MembershipLevel": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "Organization": "example",
    "ProfileLastUpdated": "example",
    "Status": "Active",
    "TermsOfUseAccepted": true
  }
}
```

### Get event

Get event.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Event ID (`event_id`, number, required): Unique event identifier

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "AccessLevel": "Public",
    "CheckedInAttendeesNumber": 1,
    "ConfirmedRegistrationsCount": 1,
    "Details": {
      "AccessControl": {
        "AccessLevel": "Public",
        "AvailableForAnyGroup": true,
        "AvailableForAnyLevel": true,
        "AvailableForGroups": [
          {}
        ],
        "AvailableForLevels": [
          {}
        ]
      },
      "AttendeesDisplaySettings": {
        "ShowPendingAttendees": true,
        "VisibleTo": "Public"
      },
      "DescriptionHtml": "example",
      "EventRegistrationFields": [
        {
          "ExtraCharge": {},
          "Kind": "Common"
        }
      ],
      "GuestRegistrationSettings": {
        "CreateContactMode": "NeverCreateContact",
        "Enabled": true
      },
      "IsWaitlistEnabled": true,
      "MultipleRegistrationAllowed": true,
      "Organizer": {
        "Id": 1,
        "Url": "example"
      },
      "PaymentInstructions": "example",
      "PaymentMethod": "Undefined",
      "RegistrationConfirmationExtraInfo": "example",
      "RegistrationMessage": "example",
      "RegistrationTypes": [
        {
          "Availability": "Everyone",
          "AvailableForMembershipLevels": [
            {}
          ],
          "AvailableFrom": "example",
          "AvailableThrough": "example",
          "BasePrice": 1,
          "CancellationBehaviour": "DoNotAllow",
          "CancellationDaysBeforeEvent": 1,
          "CurrentRegistrantsCount": 1,
          "Description": "example",
          "EventId": 1,
          "GuestPrice": 1,
          "GuestRegistrationPolicy": "Disabled",
          "Id": 1,
          "IsEnabled": true,
          "IsGuestRegistrationRequired": true,
          "IsWaitlistEnabled": true,
          "MaximumRegistrantsCount": 1,
          "Name": "example",
          "RegistrationCode": "example",
          "UnavailabilityPolicy": "ShowDisabled",
          "UseTaxScopeSettings": true
        }
      ],
      "SendEmailCopy": true,
      "TimeZone": {
        "Name": "example",
        "UtcOffset": 1,
        "ZoneId": "example"
      },
      "TotalDue": 1,
      "TotalPaid": 1,
      "WaitlistSettings": {
        "InformationToCollect": "None",
        "WaitlistType": "None"
      }
    },
    "EndDate": "example",
    "EndTimeSpecified": true,
    "EventOrganizers": [
      {}
    ],
    "EventType": "Reqular",
    "HasEnabledRegistrationTypes": true,
    "Id": 1,
    "InviteeStat": {
      "Attended": 1,
      "MaybeAttended": 1,
      "NotAttended": 1,
      "NotResponded": 1
    },
    "Location": "example",
    "Name": "example",
    "PendingRegistrationsCount": 1,
    "RegistrationEnabled": true,
    "RegistrationsLimit": 1,
    "Sessions": [
      {
        "EndDate": "example",
        "EndTimeSpecified": true,
        "Id": 1,
        "StartDate": "example",
        "StartTimeSpecified": true,
        "Title": "example"
      }
    ],
    "StartDate": "example",
    "StartTimeSpecified": true,
    "Tags": [
      "example"
    ]
  }
}
```

### Get invoice

Get invoice.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Invoice ID (`invoice_id`, number, required): Unique invoice identifier

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "Contact": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "CreatedBy": {
      "Id": 1,
      "Url": "example"
    },
    "CreatedDate": "example",
    "DocumentDate": "example",
    "DocumentNumber": "example",
    "EventRegistration": {
      "Id": 1,
      "Url": "example"
    },
    "Id": 1,
    "IsPaid": true,
    "Memo": "example",
    "OrderDetails": [
      {
        "Notes": "example",
        "OrderDetailType": "Unspecified",
        "Taxes": {
          "Amount": 1,
          "CalculatedTax1": 1,
          "CalculatedTax2": 1,
          "NetAmount": 1,
          "RoundedAmount": 1,
          "Tax1": {},
          "Tax2": {}
        },
        "Value": 1
      }
    ],
    "OrderType": "Undefined",
    "PaidAmount": 1,
    "PublicMemo": "example",
    "UpdatedBy": {
      "Id": 1,
      "Url": "example"
    },
    "UpdatedDate": "example",
    "Value": 1,
    "VoidedDate": "example"
  }
}
```

### Get membership group

Get membership group.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Member group ID (`member_group_id`, number, required): member group identifier
- Include archived members (`include_archived_members`, true/false): include archived contacts in ContactIds list. Default - true.

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "ContactIds": [
      1
    ],
    "ContactsCount": 1,
    "Description": "example",
    "Id": 1,
    "Name": "example"
  }
}
```

### Get membership level

Get membership level.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Level ID (`level_id`, number, required): Unique membership level identifier

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "BundleMembersLimit": 1,
    "Description": "example",
    "Id": 1,
    "MemberCanChangeToLevels": [
      {
        "Id": 1,
        "Url": "example"
      }
    ],
    "MembershipFee": 1,
    "Name": "example",
    "PublicCanApply": true,
    "RenewalPeriod": {
      "ApplicationReview": {
        "AdminApprovalRequired": true,
        "PrepayRequired": true
      },
      "AutomaticRecurringPayments": true,
      "Dates": [
        {
          "Day": 1,
          "Month": 1
        }
      ],
      "Kind": "Never",
      "StartFromJoinDate": true
    },
    "Type": "Individual"
  }
}
```

### Get payment

Get payment.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Payment ID (`payment_id`, number, required): Unique payment identifier

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "AllocatedValue": 1,
    "Comment": "example",
    "Contact": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "CreatedBy": {
      "Id": 1,
      "Url": "example"
    },
    "CreatedDate": "example",
    "DocumentDate": "example",
    "DonationId": 1,
    "FieldValues": [
      {
        "FieldName": "example",
        "SystemCode": "example",
        "Value": {}
      }
    ],
    "Id": 1,
    "PaymentMethodID": "example",
    "PublicComment": "example",
    "RefundedAmount": 1,
    "Tender": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "Type": "Unknown",
    "UpdatedBy": {
      "Id": 1,
      "Url": "example"
    },
    "UpdatedDate": "example",
    "Value": 1
  }
}
```

### Get refund

Get refund.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Refund ID (`refund_id`, number, required): Unique refund identifier

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "Comment": "example",
    "Contact": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "CreatedBy": {
      "Id": 1,
      "Url": "example"
    },
    "CreatedDate": "example",
    "DocumentDate": "example",
    "Id": 1,
    "PublicComment": "example",
    "SettledValue": 1,
    "Tender": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "UpdatedBy": {
      "Id": 1,
      "Url": "example"
    },
    "UpdatedDate": "example",
    "Value": 1
  }
}
```

### Get registration

Get registration.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Event registration ID (`event_registration_id`, number, required): event registration identifier

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "Contact": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "DisplayName": "example",
    "Event": {
      "EndDate": "example",
      "Id": 1,
      "Location": "example",
      "Name": "example",
      "StartDate": "example"
    },
    "GuestRegistrationsSummary": {
      "GuestRegistrations": [
        {
          "Id": 1,
          "Url": "example"
        }
      ],
      "NumberOfGuests": 1,
      "NumberOfGuestsCheckedIn": 1
    },
    "Id": 1,
    "IsCheckedIn": true,
    "IsGuestRegistration": true,
    "IsPaid": true,
    "Memo": "example",
    "OnWaitlist": true,
    "Organization": "example",
    "PaidSum": 1,
    "ParentRegistration": {
      "Id": 1,
      "Url": "example"
    },
    "RecreateInvoice": true,
    "RegistrationDate": "example",
    "RegistrationFee": 1,
    "RegistrationFields": [
      {
        "FieldName": "example",
        "SystemCode": "example",
        "Value": {}
      }
    ],
    "RegistrationType": {
      "Id": 1,
      "Name": "example",
      "Url": "example"
    },
    "RegistrationTypeId": 1,
    "ShowToPublic": true,
    "Status": "Undefined"
  }
}
```

### List accounts

List accounts.

**Inputs**: None.

**Outputs**

- `data` (list): The response from WildApricot.

**Example output**

```json
{
  "data": [
    {
      "BillingPlan": {
        "Name": "example",
        "Price": 1
      },
      "ContactLimitInfo": {
        "BillingPlanContactsLimit": 1,
        "CurrentContactsCount": 1
      },
      "Currency": {
        "Code": "example",
        "Name": "example",
        "Symbol": "example"
      },
      "Id": 1,
      "IsFreeAccount": true,
      "Localization": {
        "DateFormat": "example",
        "TimeFormat": "example"
      },
      "Name": "example",
      "PaymentSettings": {
        "EventPaymentInstructions": "example",
        "GeneralPaymentInstructions": "example",
        "MembershipPaymentInstructions": "example"
      },
      "PrimaryDomainName": "example",
      "Resources": [
        {
          "AllowedOperations": [
            {}
          ],
          "Description": "example",
          "Name": "example"
        }
      ],
      "SquareRegisterSettings": {
        "ClientId": "example",
        "IntegrationEnabled": true
      },
      "TimeZone": {
        "Name": "example",
        "UtcOffset": 1,
        "ZoneId": "example"
      }
    }
  ]
}
```

### List contact fields

List contact fields.

**Inputs**

- Account (`account_id`, number, required): Your account identifier

**Outputs**

- `data` (list): The response from WildApricot.

**Example output**

```json
{
  "data": [
    {
      "Id": 1,
      "Name": "example"
    }
  ]
}
```

### List contacts

List contacts.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Filter (`filter`, text): Filter.
- Simple query (`simple_query`, text): Simple query.
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "ContactIdentifiers": [
      1
    ],
    "Contacts": [
      {
        "DisplayName": "example",
        "Email": "example",
        "FieldValues": [
          {}
        ],
        "FirstName": "example",
        "Id": 1,
        "IsAccountAdministrator": true,
        "LastName": "example",
        "MemberRenewalType": "Automatic",
        "MembershipEnabled": true,
        "MembershipLevel": {},
        "Organization": "example",
        "ProfileLastUpdated": "example",
        "Status": "Active",
        "TermsOfUseAccepted": true
      }
    ],
    "Count": 1,
    "ErrorDetails": "example",
    "InitialQuery": {
      "FilterExpression": "example",
      "ObjectType": "example",
      "ReturnIds": true,
      "SelectExpression": "example"
    },
    "Processed": "example",
    "ProcessingState": "Waiting",
    "Requested": "example",
    "ResultId": "example",
    "ResultUrl": "example"
  }
}
```

### List events

List events.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Filter (`filter`, text): Filter.
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "Count": 1,
    "Events": [
      {
        "AccessLevel": "Public",
        "CheckedInAttendeesNumber": 1,
        "ConfirmedRegistrationsCount": 1,
        "Details": {
          "AccessControl": {},
          "AttendeesDisplaySettings": {},
          "DescriptionHtml": "example",
          "EventRegistrationFields": [
            {}
          ],
          "GuestRegistrationSettings": {},
          "IsWaitlistEnabled": true,
          "MultipleRegistrationAllowed": true,
          "Organizer": {},
          "PaymentInstructions": "example",
          "PaymentMethod": "Undefined",
          "RegistrationConfirmationExtraInfo": "example",
          "RegistrationMessage": "example",
          "RegistrationTypes": [
            {}
          ],
          "SendEmailCopy": true,
          "TimeZone": {},
          "TotalDue": 1,
          "TotalPaid": 1,
          "WaitlistSettings": {}
        },
        "EndDate": "example",
        "EndTimeSpecified": true,
        "EventOrganizers": [
          {}
        ],
        "EventType": "Reqular",
        "HasEnabledRegistrationTypes": true,
        "Id": 1,
        "InviteeStat": {
          "Attended": 1,
          "MaybeAttended": 1,
          "NotAttended": 1,
          "NotResponded": 1
        },
        "Location": "example",
        "Name": "example",
        "PendingRegistrationsCount": 1,
        "RegistrationEnabled": true,
        "RegistrationsLimit": 1,
        "Sessions": [
          {}
        ],
        "StartDate": "example",
        "StartTimeSpecified": true,
        "Tags": [
          "example"
        ]
      }
    ],
    "EventsIdentifiers": [
      1
    ]
  }
}
```

### List invoices

List invoices.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Event ID (`event_id`, number): Identifier of event. When specified API returns collection of invoices associated with event registrations for the event.
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "InvoiceIdentifiers": [
      1
    ],
    "Invoices": [
      {
        "CreatedBy": {},
        "CreatedDate": "example",
        "DocumentDate": "example",
        "DocumentNumber": "example",
        "EventRegistration": {},
        "Id": 1,
        "IsPaid": true,
        "Memo": "example",
        "OrderDetails": [
          {}
        ],
        "OrderType": "Undefined",
        "PaidAmount": 1,
        "PublicMemo": "example",
        "UpdatedBy": {},
        "UpdatedDate": "example",
        "Value": 1,
        "VoidedDate": "example"
      }
    ]
  }
}
```

### List membership groups

List membership groups.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (list): The response from WildApricot.

**Example output**

```json
{
  "data": [
    {
      "Description": "example",
      "Id": 1,
      "Name": "example"
    }
  ]
}
```

### List membership levels

List membership levels.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (list): The response from WildApricot.

**Example output**

```json
{
  "data": [
    {
      "BundleMembersLimit": 1,
      "Description": "example",
      "Id": 1,
      "MemberCanChangeToLevels": [
        {
          "Id": 1,
          "Url": "example"
        }
      ],
      "MembershipFee": 1,
      "Name": "example",
      "PublicCanApply": true,
      "RenewalPeriod": {
        "ApplicationReview": {
          "AdminApprovalRequired": true,
          "PrepayRequired": true
        },
        "AutomaticRecurringPayments": true,
        "Dates": [
          {}
        ],
        "Kind": "Never",
        "StartFromJoinDate": true
      },
      "Type": "Individual"
    }
  ]
}
```

### List payments

List payments.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Event ID (`event_id`, number): Identifier of event. When specified API returns collection of payments settled to invoices associated with event registrations for the event.
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "PaymentIdentifiers": [
      1
    ],
    "Payments": [
      {
        "AllocatedValue": 1,
        "Comment": "example",
        "CreatedBy": {},
        "CreatedDate": "example",
        "DocumentDate": "example",
        "DonationId": 1,
        "FieldValues": [
          {}
        ],
        "Id": 1,
        "PaymentMethodID": "example",
        "PublicComment": "example",
        "RefundedAmount": 1,
        "Tender": {},
        "Type": "Unknown",
        "UpdatedBy": {},
        "UpdatedDate": "example",
        "Value": 1
      }
    ]
  }
}
```

### List refunds

List refunds.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Event ID (`event_id`, number): Identifier of event. When specified API returns collection of refunds settled to invoices associated with event registrations for the event.
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (object): The response from WildApricot.

**Example output**

```json
{
  "data": {
    "RefundIdentifiers": [
      1
    ],
    "Refunds": [
      {
        "Comment": "example",
        "CreatedBy": {},
        "CreatedDate": "example",
        "DocumentDate": "example",
        "Id": 1,
        "PublicComment": "example",
        "SettledValue": 1,
        "Tender": {},
        "UpdatedBy": {},
        "UpdatedDate": "example",
        "Value": 1
      }
    ]
  }
}
```

### List registrations

List registrations.

**Inputs**

- Account (`account_id`, number, required): Your account identifier
- Event ID (`event_id`, number): event identifier
- Filter (`filter`, text): Filter.
- Offset (`offset`, number): Offset.
- Limit (`limit`, number): this parameter specifies the maximum number of entries to be returned. If omitted or set more than 100 then maximum 100 items returned.

**Outputs**

- `data` (list): The response from WildApricot.

**Example output**

```json
{
  "data": [
    {
      "Contact": {
        "Id": 1,
        "Name": "example",
        "Url": "example"
      },
      "DisplayName": "example",
      "Event": {
        "EndDate": "example",
        "Id": 1,
        "Location": "example",
        "Name": "example",
        "StartDate": "example"
      },
      "GuestRegistrationsSummary": {
        "GuestRegistrations": [
          {}
        ],
        "NumberOfGuests": 1,
        "NumberOfGuestsCheckedIn": 1
      },
      "Id": 1,
      "IsCheckedIn": true,
      "IsGuestRegistration": true,
      "IsPaid": true,
      "Memo": "example",
      "OnWaitlist": true,
      "Organization": "example",
      "PaidSum": 1,
      "ParentRegistration": {
        "Id": 1,
        "Url": "example"
      },
      "RecreateInvoice": true,
      "RegistrationDate": "example",
      "RegistrationFee": 1,
      "RegistrationFields": [
        {
          "FieldName": "example",
          "SystemCode": "example",
          "Value": {}
        }
      ],
      "RegistrationType": {
        "Id": 1,
        "Name": "example",
        "Url": "example"
      },
      "RegistrationTypeId": 1,
      "ShowToPublic": true,
      "Status": "Undefined"
    }
  ]
}
```

### List saved searches

List saved searches.

**Inputs**

- Account (`account_id`, number, required): Your account identifier

**Outputs**

- `data` (list): The response from WildApricot.

**Example output**

```json
{
  "data": [
    {
      "Id": 1,
      "Name": "example"
    }
  ]
}
```
