Retrieve a list of event registrants
get
/api/rest/2.0/data/eventRegistration/{parentId}/instances
Retrieves the registrants (records) for an event specified by the
parentId
that match the criteria specified by the query parameters.Request
Supported Media Types
- application/json
Path Parameters
-
parentId(required): integer
Id of the parent event.
Query Parameters
-
count: integer
Maximum number of entities to return. Must be less than or equal to 1000 and greater than or equal to 1.
-
depth: string
This parameter is not used for this endpoint.
-
orderBy: string
Specifies the field by which list results are ordered.
-
page: integer
Specifies which page of event registrant to return (the count parameter defines the number of event registrant assets per page). If the page parameter is not supplied, 1 will be used by default.
-
search: string
Specifies the search criteria used to retrieve entities. See the tutorial for information about using this parameter.
Response
Supported Media Types
- application/json
200 Response
OK.
Root Schema : QueryResultEventRegistrationData
Type:
object
Title:
Show Source
QueryResultEventRegistrationData
-
elements:
array elements
Array of event field elements.
-
page:
integer
The specified page.
-
pageSize:
integer
The page size.
-
total:
integer
The total amount of results.
-
type:
string
The asset's type in Eloqua.
Nested Schema : elements
Type:
array
Array of event field elements.
Show Source
-
Array of:
object EventRegistrationData
Title:
EventRegistrationData
Nested Schema : EventRegistrationData
Type:
object
Title:
Show Source
EventRegistrationData
-
accountId:
string
The account record Id associated to this event registrant. This is a read-only property.
-
contactId:
string
The contact record Id associated to this event registrant. Use the desired contact's id as the value for this parameter.
-
createdAt:
string
Read Only:
true
The date and time the event registrant was created, expressed in Unix time. This is a read-only property. -
createdBy:
string
Read Only:
true
This property is not used for event registrants. -
currentStatus:
string
This property is not used for event registrants.
-
customObjectRecordStatus:
string
The status of the event registrant. Only returned when creating or updating an event registrant. This is a read-only property.
-
depth:
string
Read Only:
true
This property is not used for event registrants. -
description:
string
This property is not used for event registrants.
-
fieldValues:
array fieldValues
Array containing
type
,id
, andvalue
for all of the fields associated with a given event registrant. -
folderId:
string
Read Only:
true
This property is not used for event registrants. -
id:
string
Read Only:
true
Id of the event registrant. This is a read-only property. -
isMapped:
string
Whether or not the event registrant is mapped to a contact or account. This is a read-only property.
-
name:
string
The name of the event registrant. This is a read-only property.
-
permissions:
array permissions
This property is not used for event registrants.
-
scheduledFor:
string
Read Only:
true
This property is not used for event registrants. -
sourceTemplateId:
string
This property is not used for event registrants.
-
type:
string
The asset's type in Eloqua. This is a read-only property.
-
uniqueCode:
string
The unique value associated to the event registrant. This is a read-only property.
-
updatedAt:
string
Read Only:
true
Unix timestamp for the date and time the event registrant was last updated. This is a read-only property. -
updatedBy:
string
Read Only:
true
This property is not used for event registrants.
Nested Schema : fieldValues
Type:
array
Array containing
Show Source
type
, id
, and value
for all of the fields associated with a given event registrant.-
Array of:
object FieldValue
Title:
FieldValue
Nested Schema : permissions
Type:
array
This property is not used for event registrants.
Show Source
Nested Schema : FieldValue
Type:
object
Title:
Show Source
FieldValue
-
id:
string
Read Only:
true
The id of the field to be set to the corresponding value. -
name:
string
Name of the field value.
-
type:
string
The asset's type in Eloqua. This is a read-only property.
-
value:
string
The value to set the corresponding field id to. Date values must be submitted as a unix timestamp.
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Examples
Retrieve all event registrants for the event with Id #1260:
GET /api/REST/2.0/data/eventRegistration/1260/instances
Response:
{
"elements": [
{
"type": "EventRegistrationData",
"id": "332375",
"createdAt": "1493161593",
"name": "john.doe@oracle.com",
"updatedAt": "1493161644",
"contactId": "1504652",
"fieldValues": [
{
"type": "FieldValue",
"id": "3958",
"value": "john.doe@oracle.com"
},
{
"type": "FieldValue",
"id": "3959",
"value": "John"
},
{
"type": "FieldValue",
"id": "3960",
"value": "Technology"
},
{
"type": "FieldValue",
"id": "3962",
"value": "Married"
},
{
"type": "FieldValue",
"id": "3964",
"value": "North America"
},
{
"type": "FieldValue",
"id": "3963",
"value": "Doe"
},
{
"type": "FieldValue",
"id": "3961",
"value": "Yes"
}
],
"isMapped": "Yes",
"uniqueCode": "john.doe@oracle.com"
},
{
"type": "EventRegistrationData",
"id": "332377",
"createdAt": "1493232098",
"name": "anna.nystrom@oracle.com",
"updatedAt": "1493232255",
"contactId": "1653174",
"fieldValues": [
{
"type": "FieldValue",
"id": "3958",
"value": "anna.nystrom@oracle.com"
},
{
"type": "FieldValue",
"id": "3959",
"value": "Anna"
},
{
"type": "FieldValue",
"id": "3960",
"value": "Computer Hardware"
},
{
"type": "FieldValue",
"id": "3962",
"value": "Nystrom"
},
{
"type": "FieldValue",
"id": "3964",
"value": "Europe"
},
{
"type": "FieldValue",
"id": "3963",
"value": "Female"
},
{
"type": "FieldValue",
"id": "3961",
"value": "No"
}
],
"isMapped": "Yes",
"uniqueCode": "anna.nystrom@oracle.com"
},
{
"type": "EventRegistrationData",
"id": "332378",
"createdAt": "1493232353",
"name": "terry@oracle.com",
"updatedAt": "1493232353",
"fieldValues": [
{
"type": "FieldValue",
"id": "3958",
"value": "terry@oracle.com"
},
{
"type": "FieldValue",
"id": "3959",
"value": "Terry"
},
{
"type": "FieldValue",
"id": "3960",
"value": "Education"
},
{
"type": "FieldValue",
"id": "3962",
"value": "Married"
},
{
"type": "FieldValue",
"id": "3964",
"value": "North America"
},
{
"type": "FieldValue",
"id": "3963",
"value": "Multiple"
},
{
"type": "FieldValue",
"id": "3961",
"value": "Yes"
}
],
"isMapped": "No",
"uniqueCode": "terry@oracle.com"
}
],
"page": 1,
"pageSize": 1000,
"total": 3
}