API v1 Reference

Retrieve Event Attendees

Retrieve a list of all attendees and attendee data for a given event.

REST

Request

https://api.neoncrm.com/neonws/services/api/event/retrieveEventAttendees?&userSessionId=[session id]&eventId=22

Response

{
    "retrieveEventAttendeesResponse": {
        "operationResult": "SUCCESS",
        "responseDateTime": "2014-04-10T16:37:22.338+08:00",
        "eventAttendeesResults": {
            "eventAttendeesResult": [
                {
                    "registrantAccountId": 99748,
                    "registrantName": "AnnieOakley",
                    "attendeeId": 423,
                    "attendeeAccountId": 51511,
                    "attendeeFirstName": "Bob",
                    "attendeeLastName": "Smith",
                    "registrationStatus": "SUCCEED",
                    "registrationDate": "04/10/2014"
                },
                {
                    "registrantAccountId": 15358,
                    "registrantName": "BillAnderson",
                    "attendeeId": 223,
                    "attendeeFirstName": "Jason",
                    "attendeeLastName": "Anderson",
                    "registrationStatus": "SUCCEED",
                    "registrationDate": "04/14/2014"
                },
                {
                    "registrantAccountId": 15358,
                    "registrantName": "BillAnderson",
                    "attendeeId": 224,
                    "attendeeFirstName": "Paul",
                    "attendeeLastName": "Anderson",
                    "registrationStatus": "SUCCEED",
                    "registrationDate": "04/14/2014"
                },
                {
                    "registrantAccountId": 23444,
                    "registrantName": "AndreaAnderson",
                    "attendeeId": 553,
                    "registrationStatus": "SUCCEED",
                    "registrationDate": "04/14/2014"
                },
                {
                    "registrantAccountId": 3298,
                    "registrantName": "MikeJones",
                    "attendeeFirstName": "Alex",
                    "attendeeLastName": "Smith",
                    "attendeeId": 554,
                    "registrationStatus": "SUCCEED",
                    "registrationDate": "01/01/2004",
                    "customFieldDataList": {
                        "customFieldData": [
                            {
                                "fieldId": "22",
                                "fieldValue": "Salmon"
                            },
                            {
                                "fieldId": "34",
                                "fieldValue": "Yes"
                            }
                        ]
                    }
                }
            ]
        },
        "page": {
            "currentPage": 1,
            "pageSize": 10,
            "totalPage": 1,
            "totalResults": 4
        }
    }
}

Request Parameters

Name Required Description
eventId Yes ID of the event to be retrieved.

Response Parameters

Name Required Description
registrantAccountId Yes The account ID of the registrant who is responsible for this attendee.
registrantName Yes The full name of the registrant.
registrationStatus Yes Status of the event registration. Possible values are SUCCEED, DECLINED, PENDING, CANCELLED.
registrationDate Yes Date of the event registration.
attendeeId Yes The internal ID of this attendee specific to this event. This is not their account ID.
attendeeAccountId   The account ID of the attendee. Attendees do not necessarily have accounts.
attendeeFirstName   Attendee first name
attendeeLastName   Attendee last name
outputfields.idnamepair.id   Output attendee custom field values. These can be retrieved using the listCustomFields API method.

Error Codes

Name Required Description
14001 Event id is required. You must supply the parameter “eventId” in your request.
14002 Event id is invalid. The Event ID provided in your request is not valid. Ensure you are using a valid Event ID. These can be retrieved using the listEvents API method.