Retrieve an event registrant

get

/api/rest/2.0/data/eventRegistration/{parentId}/instance/{id}

Retrieves the registrant for the event specified by the parentId and id parameters.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : EventRegistrationData
Type: object
Title: EventRegistrationData
Show Source
Nested Schema : fieldValues
Type: array
Array containing type, id, and value for all of the fields associated with a given event registrant.
Show Source
Nested Schema : permissions
Type: array
This property is not used for event registrants.
Show Source
Nested Schema : FieldValue
Type: object
Title: FieldValue
Show Source
  • Read Only: true
    The id of the field to be set to the corresponding value.
  • Name of the field value.
  • The asset's type in Eloqua. This is a read-only property.
  • 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.
Back to Top

Examples

Retrieve the event registrant whose Id# is 332375, for the event with the Id# 1260:


GET /api/REST/2.0/data/eventRegistration/1260/instance/332375
			

Response:


{
  "type": "EventRegistrationData",
  "id": "332375",
  "createdAt": "1493161593",
  "name": "john.doe@oracle.com",
  "updatedAt": "1493161644",
  "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": "Male"
    },
    {
      "type": "FieldValue",
      "id": "3964",
      "value": "North America"
    },
    {
      "type": "FieldValue",
      "id": "3963",
      "value": "Married"
    },
    {
      "type": "FieldValue",
      "id": "3961",
      "value": "Yes"
    }
  ],
  "isMapped": "No",
  "uniqueCode": "john.doe@oracle.com"
}
			
Back to Top