openapi: 3.2.0
info:
title: REST API for Oracle Eloqua Marketing Cloud Service Application/1.0/Option lists API
description: The Oracle Eloqua Marketing Cloud Service REST APIs enable you to extend the functionality of the product, build Apps, and perform high volume data transfers.
version: 2026.08.07
x-summary: The Oracle Eloqua Marketing Cloud Service REST APIs enable you to extend the functionality of the product, build Apps, and perform high volume data transfers.
tags:
- name: Application/1.0/Option lists
description: 'Option lists are usually referred to on the marketers'' side as select lists or pick lists.
Learn more about option lists.'
paths:
/api/rest/1.0/assets/optionList/{id}:
get:
operationId: ReadIndividualGETRest10
parameters:
- name: id
in: path
description: Id of the option list.
required: true
schema:
type: integer
- name: depth
in: query
description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.'
required: false
schema:
type: string
summary: Retrieve an option list
description: Retrieves the option list specified by the id parameter.
responses:
'200':
description: OK.
content:
application/json:
schema:
$ref: '#/components/schemas/OptionListRest10'
'400':
description: Bad request. See Status Codes for information about other possible HTTP status codes.
'401':
description: Unauthorized. See Status Codes for information about other possible HTTP status codes.
'403':
description: Forbidden. See Status Codes for information about other possible HTTP status codes.
'404':
description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
'500':
description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
tags:
- Application/1.0/Option lists
x-internal-id: api-rest-1.0-assets-optionList-{id}-get
x-filename-id: api-rest-1.0-assets-optionlist-id-get
put:
operationId: UpdateIndividualPUTRest10
parameters:
- name: id
in: path
description: Id of the option list. This is a read-only property.
required: true
schema:
type: integer
summary: Update an option list
description: Updates the option list specified by the id parameter. All properties should be included in PUT requests, as some properties will be considered blank if not included.
responses:
'200':
description: OK.
content:
application/json:
schema:
$ref: '#/components/schemas/OptionListRest10'
'400':
description: Bad request. See Status Codes for information about other possible HTTP status codes.
'401':
description: Unauthorized. See Status Codes for information about other possible HTTP status codes.
'403':
description: Forbidden. See Status Codes for information about other possible HTTP status codes.
'404':
description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
'500':
description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
tags:
- Application/1.0/Option lists
x-internal-id: api-rest-1.0-assets-optionList-{id}-put
x-filename-id: api-rest-1.0-assets-optionlist-id-put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OptionListRest10'
description: The request body defines the details of the option list to be updated.
required: true
delete:
operationId: DeleteIndividualDELETERest10
parameters:
- name: id
in: path
description: Id of the option list
required: true
schema:
type: integer
summary: Delete an option list
description: Deletes the option list specified by the id parameter.
responses:
'200':
description: OK.
'400':
description: Bad request. See Status Codes for information about other possible HTTP status codes.
'401':
description: Unauthorized. See Status Codes for information about other possible HTTP status codes.
'403':
description: Forbidden. See Status Codes for information about other possible HTTP status codes.
'404':
description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
'500':
description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
tags:
- Application/1.0/Option lists
x-internal-id: api-rest-1.0-assets-optionList-{id}-delete
x-filename-id: api-rest-1.0-assets-optionlist-id-delete
/api/rest/1.0/assets/optionLists:
get:
operationId: SearchGETRest10
parameters:
- name: depth
in: query
description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to minimal by default.'
required: false
schema:
type: string
- name: count
in: query
description: Maximum number of entities to return. Must be less than or equal to 1000 and greater than or equal to 1.
required: false
schema:
type: integer
- name: page
in: query
description: Specifies which page of entities to return (the count parameter defines the number of entities per page). If the page parameter is not supplied, 1 will be used by default.
required: false
schema:
type: integer
- name: search
in: query
description: Specifies the search criteria used to retrieve entities. See the tutorial for information about using this parameter.
required: false
schema:
type: string
- name: orderBy
in: query
description: Specifies the field by which list results are ordered.
required: false
schema:
type: string
- name: lastUpdatedAt
in: query
description: The date and time the option list was last updated.
required: false
schema:
type: integer
summary: Retrieve a list of option lists
description: Retrieves all option lists that match the criteria specified by the request parameters.
responses:
'200':
description: OK.
content:
application/json:
schema:
$ref: '#/components/schemas/QueryResultOptionListRest10'
'400':
description: Bad request. See Status Codes for information about other possible HTTP status codes.
'401':
description: Unauthorized. See Status Codes for information about other possible HTTP status codes.
'403':
description: Forbidden. See Status Codes for information about other possible HTTP status codes.
'404':
description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
'500':
description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
tags:
- Application/1.0/Option lists
x-internal-id: api-rest-1.0-assets-optionLists-get
x-filename-id: api-rest-1.0-assets-optionlists-get
/api/rest/1.0/assets/optionList:
post:
operationId: CreateIndividualPOSTRest10
summary: Create an option list
description: Creates an option list that matches the criteria specified by the request body.
responses:
'201':
description: Success.
content:
application/json:
schema:
$ref: '#/components/schemas/OptionListRest10'
'400':
description: Bad request. See Status Codes for information about other possible HTTP status codes.
'401':
description: Unauthorized. See Status Codes for information about other possible HTTP status codes.
'403':
description: Forbidden. See Status Codes for information about other possible HTTP status codes.
'404':
description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
'500':
description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
tags:
- Application/1.0/Option lists
x-internal-id: api-rest-1.0-assets-optionList-post
x-filename-id: api-rest-1.0-assets-optionlist-post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OptionListRest10'
description: The request body defines the details of the option list to be created.
required: true
components:
schemas:
OptionRest10:
title: Option
properties:
type:
type: string
description: The asset's type in Eloqua. This is a read-only property. This asset is an "Option".
displayName:
type: string
description: The display name for the option that is displayed within the option list.
value:
type: string
description: The option's internal value. This value is not displayed externally.
QueryResultOptionListRest10:
title: QueryResultOptionList
properties:
type:
type: string
description: The asset's type in Eloqua.
elements:
type: array
description: Array of option list fields.
items:
$ref: '#/components/schemas/OptionListRest10'
total:
type: integer
description: The total amount of results.
pageSize:
type: integer
description: The page size.
page:
type: integer
description: The specified page.
OptionListRest10:
title: OptionList
properties:
type:
type: string
description: The option list's type in Eloqua. This is a read-only property.
id:
type: string
readOnly: true
description: The option list's unique identifier.
currentStatus:
type: string
description: The option list's current status.
name:
type: string
description: The name of the option list.
description:
type: string
description: The description of the option list.
permissions:
type: string
description: The permissions for the option list granted to your current instance. This is a read-only property.
createdBy:
type: string
readOnly: true
description: The login id of the user who created the option list.
createdAt:
type: string
readOnly: true
description: Unix timestamp for the date and time the option list was created.
updatedBy:
type: string
readOnly: true
description: The login id of the user that last updated the option list.
updatedAt:
type: string
readOnly: true
description: Unix timestamp for the date and time the option list was last updated.
depth:
type: string
readOnly: true
description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.'
elements:
type: array
description: A list of option elements.
items:
$ref: '#/components/schemas/OptionRest10'