Create custom object data

post

/api/rest/1.0/data/customObject/{id}

Creates custom object data that matches the criteria specified by the request body.

Request

Supported Media Types
Path Parameters
Body ()
The request body defines the details of the custom object data to be created.
Root Schema : CustomObjectData
Type: object
Title: CustomObjectData
Show Source
  • Id of the contact. This is a read-only property.
  • The custom object's current status. This is a read-only property.
  • fieldValues
    Array containing type and id values for all of the fields associated with a given custom object data asset. Custom object date field values must be in Unix time format.
  • Read Only: true
    Id of the custom object. This is a read-only property.
  • The asset's type in Eloqua. This is a read-only property.
Nested Schema : fieldValues
Type: array
Array containing type and id values for all of the fields associated with a given custom object data asset. Custom object date field values must be in Unix time format.
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.
  • 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.
Back to Top

Response

Supported Media Types

201 Response

Success.
Body ()
Root Schema : CustomObjectData
Type: object
Title: CustomObjectData
Show Source
  • Id of the contact. This is a read-only property.
  • The custom object's current status. This is a read-only property.
  • fieldValues
    Array containing type and id values for all of the fields associated with a given custom object data asset. Custom object date field values must be in Unix time format.
  • Read Only: true
    Id of the custom object. This is a read-only property.
  • The asset's type in Eloqua. This is a read-only property.
Nested Schema : fieldValues
Type: array
Array containing type and id values for all of the fields associated with a given custom object data asset. Custom object date field values must be in Unix time format.
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.
  • 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