Search PoPs by contact

Search for specified PoPs for a contact record, within a defined date range.

The get PoP by date will allow you to see all PoPs for a specific contact, and the associated Purchase, Booking, WIFI interaction details.

Configuration

https://api.airship.co.uk/v1/pop/by_date

Headers

FieldNotes

Authentication (bearer token)

The authentication token is linked to the account that you are searching bookings in. If you are unsure of what your Authentication token is, ask our support team to confirm.

Body

FieldNotes

account_id

The account ID represents the account that you are searching bookings in. If you are unsure of what your account ID is, ask our support team to confirm.

contact_id

Contact ID which you want to perform a PoP Search on

start_date

Start date to search for a PoP Required

end_date

End date to search for a PoP Required

types

Array of PoP types, you can add; - purchases - wifi - booking Required

Example request

{
    "account_id": 2,
    "contact_id": 90357243,
    "start_date": "2023-01-03",
    "end_date": "2023-09-03",
    "types" : ["purchases", "booking", "wifi"]
}

The results will return the PoPs by type, in an array if there are more than 1 interaction within that range

Last updated