openapi: 3.2.0
info:
title: REST API for Oracle Eloqua Marketing Cloud Service Bulk/2.0/campaigns 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: Bulk/2.0/campaigns
description: The operations from the Bulk/2.0/campaigns category.
paths:
/api/bulk/2.0/campaigns/fields/{id}:
get:
tags:
- Bulk/2.0/campaigns
summary: Retrieve a campaign field definition
description: This endpoint is not valid.
operationId: GetCampaignFieldIndividual
parameters:
- name: id
in: path
description: The campaign field definition's resource identification number.
required: true
schema:
type: integer
responses:
'200':
description: OK.
content:
application/json:
schema:
title: CampaignFieldIndividualResponse
description: The response body contains information about the campaign field definition.
properties:
createdAt:
format: date-time
title: createdAt
description: The date and time the entity was created, expressed using the ISO-8601 standard. This is a read-only property.
type: string
createdBy:
title: createdBy
description: The login id of the user who created the entity. This is a read-only property.
type: string
dataType:
$ref: '#/components/schemas/DataType'
defaultValue:
title: defaultValue
description: The field's default value.
type: string
hasNotNullConstraint:
title: hasNotNullConstraint
description: Indicates whether the field can have null values (i.e. empty).
type: boolean
hasReadOnlyConstraint:
title: hasReadOnlyConstraint
description: Indicates whether the field can be written to.
type: boolean
hasUniquenessConstraint:
title: hasUniquenessConstraint
description: Indicates whether the field must have a unique value.
type: boolean
internalName:
title: internalName
description: The field's internal name (used to uniquely identify it).
type: string
name:
title: name
description: The name of the campaign field definition.
type: string
statement:
title: statement
description: The markup language statement used to reference the field in an import or export mapping.
type: string
updatedAt:
format: date-time
title: updatedAt
description: The date and time the entity was last updated, expressed using the ISO-8601 standard. This is a read-only property.
type: string
updatedBy:
title: updatedBy
description: The login id of the user that last updated the entity. This is a read-only property.
type: string
uri:
title: uri
description: System-generated unique resource identifier that defines the definition for future referencing. This is a read-only property.
type: string
'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.
'409':
description: There was a conflict. See Status Codes for information about other possible HTTP status codes.
'410':
description: The requested resource is no longer available. See Status Codes for information about other possible HTTP status codes.
'412':
description: The resource you are attempting to delete has dependencies, and cannot be deleted. See Status Codes for information about other possible HTTP status codes.
'413':
description: Storage space exceeded. See Status Codes for information about other possible HTTP status codes.
'500':
description: The service has encountered an internal server error. See Status Codes for information about other possible HTTP status codes.
'503':
description: There was a timeout processing the request. See Status Codes for information about other possible HTTP status codes.
deprecated: false
x-internal-id: api-bulk-2.0-campaigns-fields-{id}-get
x-filename-id: api-bulk-2.0-campaigns-fields-id-get
/api/bulk/2.0/campaigns/fields:
get:
tags:
- Bulk/2.0/campaigns
summary: Retrieve a list of campaign fields
description: Retrieves a list of campaign fields.
operationId: GetCampaignFieldSearch
parameters:
- name: limit
in: query
description: 'A URL parameter that specifies the maximum number of records to return. This can be any positive integer between 1 and 1000 inclusive. If not specified, the default is 1000. Example: ?limit=5.'
schema:
type: integer
- name: links
in: query
description: The links section in a resource return all the links by default. The client side might be only interested in a particular link. To satisfy that requirement, a "links" query parameter might be supported. The value of this query parameter is a list of relations separated by comma ",". For example, ?links=canonical, next will only return the links with "rel" property be canonical or next.
schema:
type: string
- name: offset
in: query
description: 'Specifies an offset that allows you to retrieve the next batch of records. Any positive integer. For example, if your limit is 1000, specifying an offset of 1000 will return records 1000 through 2000. If not specified, the default is 0. Example: ?offset=1000.'
schema:
type: integer
- name: orderBy
in: query
description: 'Specifies the name of the property to order the results by. The orderBy format is term ASC | DESC. Example: ?orderBy=name ASC.'
schema:
type: string
- name: q
in: query
description: 'A URL parameter that specifies query criteria used to filter results. The q format is termoperatorvalue. Use "*" for wildcard values. Example: ?q="name=*Test*" will find all the entities where the "name" field contains the string "Test".'
schema:
type: string
- name: totalResults
in: query
description: Whether or not the total results are shown, and factored into the hasMore property in the response. When set to false, the totalResults property will not be returned, and the hasMore property will be determined based on returned events that match the criteria specified in the URL parameters. If not specified, the default is true.
schema:
type: boolean
- name: type
in: query
description: The value of this query parameter is sourceCampaign, activity, or campaignResponse. Used to return source campaign field statements and what fields are available depending on export type
schema:
type: string
responses:
'200':
description: OK.
content:
application/json:
schema:
title: CampaignFieldSearchResponse
description: The response body contains information about the campaign fields.
properties:
count:
title: count
description: Number of results returned in the request.
type: integer
hasMore:
title: hasMore
description: Indicates if there are more results.
type: boolean
items:
title: items
description: The collection of items returned.
type: array
items:
$ref: '#/components/schemas/CampaignField'
limit:
title: limit
description: The maximum number of records returned. Set with the limit URL parameter, and defaults to 1000 if not specified.
type: integer
offset:
title: offset
description: The requested index from which records are returned. Set with the offset URL parameter, and defaults to 0 if not specified.
type: integer
totalResults:
format: int64
title: totalResults
description: Number of total results. Returned when the totalResults URL parameter is not set to false.
type: integer
'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.
'409':
description: There was a conflict. See Status Codes for information about other possible HTTP status codes.
'410':
description: The requested resource is no longer available. See Status Codes for information about other possible HTTP status codes.
'412':
description: The resource you are attempting to delete has dependencies, and cannot be deleted. See Status Codes for information about other possible HTTP status codes.
'413':
description: Storage space exceeded. See Status Codes for information about other possible HTTP status codes.
'500':
description: The service has encountered an internal server error. See Status Codes for information about other possible HTTP status codes.
'503':
description: There was a timeout processing the request. See Status Codes for information about other possible HTTP status codes.
deprecated: false
x-internal-id: api-bulk-2.0-campaigns-fields-get
x-filename-id: api-bulk-2.0-campaigns-fields-get
components:
schemas:
DataType:
title: DataType
description: The type of data, used for field definitions.
default: number
enum:
- number
- string
- boolean
- date
- emailAddress
type: string
CampaignField:
title: CampaignField
description: The definition of a campaign field in the system.
properties:
createdAt:
format: date-time
title: createdAt
description: The date and time the entity was created, expressed using the ISO-8601 standard. This is a read-only property.
type: string
createdBy:
title: createdBy
description: The login id of the user who created the entity. This is a read-only property.
type: string
dataType:
$ref: '#/components/schemas/DataType'
defaultValue:
title: defaultValue
description: The field's default value.
type: string
hasNotNullConstraint:
title: hasNotNullConstraint
description: Indicates whether the field can have null values (i.e. empty).
type: boolean
hasReadOnlyConstraint:
title: hasReadOnlyConstraint
description: Indicates whether the field can be written to.
type: boolean
hasUniquenessConstraint:
title: hasUniquenessConstraint
description: Indicates whether the field must have a unique value.
type: boolean
internalName:
title: internalName
description: The field's internal name (used to uniquely identify it).
type: string
name:
title: name
description: The name of the campaign field definition.
type: string
statement:
title: statement
description: The markup language statement used to reference the field in an import or export mapping.
type: string
updatedAt:
format: date-time
title: updatedAt
description: The date and time the entity was last updated, expressed using the ISO-8601 standard. This is a read-only property.
type: string
updatedBy:
title: updatedBy
description: The login id of the user that last updated the entity. This is a read-only property.
type: string
uri:
title: uri
description: System-generated unique resource identifier that defines the definition for future referencing. This is a read-only property.
type: string