openapi: 3.1.0
info:
title: Salesforce Bulk API 2.0 Abort Publish API
description: 'Salesforce Bulk API 2.0 is a simplified, REST-based interface for bulk data operations that improves on the original Bulk API. It uses a straightforward job model and supports CSV format for ingest and query jobs, enabling processing of millions of records asynchronously.
'
version: v63.0
contact:
name: Salesforce Developers
url: https://developer.salesforce.com/
license:
name: Salesforce Developer Terms
url: https://www.salesforce.com/company/legal/agreements/
servers:
- url: https://{instance}.salesforce.com/services/data/v{version}/jobs
description: Salesforce Bulk API 2.0 jobs endpoint
variables:
instance:
default: yourInstance
description: 'The Salesforce instance identifier (e.g., na1, eu3, or a My Domain subdomain like mycompany).
'
version:
default: '63.0'
description: 'The Salesforce API version number (e.g., 63.0). Use the latest supported version for new integrations.
'
security:
- BearerAuth: []
tags:
- name: Publish
paths:
/data/v64.0/sobjects/{EventApiName}:
parameters: []
post:
tags:
- Publish
summary: Salesforce Publish Single Event
operationId: Publishsingleevent
parameters:
- name: EventApiName
in: path
description: ''
required: true
schema:
type: string
examples:
- Carbon_Comparison__e
example: example_value
requestBody:
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/PublishsingleeventRequest'
- examples:
- Annual_Mileage__c: 12000
Current_Vehicle__c: Fast car
Model_Year__c: 2019
contentMediaType: application/json
example:
Annual_Mileage__c: 12000
Current_Vehicle__c: Fast car
Model_Year__c: 2019
required: true
responses:
'201':
description: Created
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 03 Jul 2023 13:18:20 GMT
Strict-Transport-Security:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: max-age=63072000; includeSubDomains
X-Content-Type-Options:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: nosniff
X-Robots-Tag:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: none
Cache-Control:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: no-cache,must-revalidate,max-age=0,no-store,private
Sforce-Limit-Info:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: api-usage=16/15000
Location:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: /services/data/v58.0/sobjects/Sample__e/e00xx0000000001AAA
Vary:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Accept-Encoding
Content-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: gzip
Transfer-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: chunked
content:
application/json;charset=UTF-8:
schema:
allOf:
- $ref: '#/components/schemas/Publishsingleevent'
- examples:
- id: e00xx0000000001AAA
success: true
errors:
- statusCode: OPERATION_ENQUEUED
message: 234995b6-53b6-4887-93fc-ecd0fac8b36c
fields: []
contentMediaType: application/json;charset=UTF-8
example:
id: e00xx0000000001AAA
success: true
errors:
- statusCode: OPERATION_ENQUEUED
message: 234995b6-53b6-4887-93fc-ecd0fac8b36c
fields: []
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/Soap/u/64.0:
parameters: []
post:
tags:
- Publish
summary: Salesforce Publish Multiple Events With Soap Call
operationId: PublishmultipleeventswithSOAPcall
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
const: text/xml
type: string
examples:
- text/xml
example: example_value
- name: charset
in: header
description: ''
required: true
schema:
type: string
examples:
- UTF-8
example: example_value
- name: SOAPAction
in: header
description: ''
required: true
schema:
type: string
examples:
- create
example: example_value
- name: Accept
in: header
description: ''
required: true
schema:
type: string
examples:
- text/xml
example: example_value
requestBody:
description: ''
content:
application/xml:
schema:
allOf:
- $ref: '#/components/schemas/Envelope'
- xml:
name: Envelope
attribute: false
wrapped: false
examples:
- "\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Carbon_Comparison__e\n\n 12000\n\n Fast car 1\n\n 2019\n\n \n\n \n\n Carbon_Comparison__e\n\n 12000\n\n Fast car 2\n\n 2019\n\n \n\n \n\n \n\n"
contentMediaType: application/xml
example: "\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Carbon_Comparison__e\n\n 12000\n\n Fast car 1\n\n 2019\n\n \n\n \n\n Carbon_Comparison__e\n\n 12000\n\n Fast car 2\n\n 2019\n\n \n\n \n\n \n\n"
required: true
responses:
'200':
description: ''
headers: {}
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
schemas:
Body16:
title: Body16
required:
- create
type: object
properties:
create:
allOf:
- $ref: '#/components/schemas/create'
- xml:
name: create
namespace: urn:partner.soap.sforce.com
prefix: ns2
attribute: false
wrapped: false
example: example_value
xml:
name: Body
namespace: http://schemas.xmlsoap.org/soap/envelope/
prefix: SOAP-ENV
attribute: false
wrapped: false
Header4:
title: Header4
required:
- SessionHeader
type: object
properties:
SessionHeader:
allOf:
- $ref: '#/components/schemas/SessionHeader'
- xml:
name: SessionHeader
namespace: urn:partner.soap.sforce.com
prefix: ns2
attribute: false
wrapped: false
example: example_value
xml:
name: Header
namespace: http://schemas.xmlsoap.org/soap/envelope/
prefix: SOAP-ENV
attribute: false
wrapped: false
SessionHeader:
title: SessionHeader
required:
- sessionId
type: object
properties:
sessionId:
type: string
xml:
name: sessionId
namespace: urn:partner.soap.sforce.com
prefix: ns2
attribute: false
wrapped: false
example: '500123'
xml:
name: SessionHeader
namespace: urn:partner.soap.sforce.com
prefix: ns2
attribute: false
wrapped: false
Envelope:
title: Envelope
required:
- Header
- Body
type: object
properties:
Header:
allOf:
- $ref: '#/components/schemas/Header4'
- xml:
name: Header
namespace: http://schemas.xmlsoap.org/soap/envelope/
prefix: SOAP-ENV
attribute: false
wrapped: false
example: example_value
Body:
allOf:
- $ref: '#/components/schemas/Body16'
- xml:
name: Body
namespace: http://schemas.xmlsoap.org/soap/envelope/
prefix: SOAP-ENV
attribute: false
wrapped: false
example: example_value
xml:
name: Envelope
namespace: http://schemas.xmlsoap.org/soap/envelope/
prefix: SOAP-ENV
attribute: false
wrapped: false
Publishsingleevent:
title: Publishsingleevent
required:
- id
- success
- errors
type: object
properties:
id:
type: string
example: abc123
success:
type: boolean
example: true
errors:
type: array
items:
$ref: '#/components/schemas/Errors7'
description: ''
example: []
examples:
- id: e00xx0000000001AAA
success: true
errors:
- statusCode: OPERATION_ENQUEUED
message: 234995b6-53b6-4887-93fc-ecd0fac8b36c
fields: []
create:
title: create
required:
- sObjects
type: object
properties:
sObjects:
type: array
items:
$ref: '#/components/schemas/sObjects'
description: ''
xml:
namespace: urn:partner.soap.sforce.com
prefix: ns2
attribute: false
wrapped: false
example: []
xml:
name: create
namespace: urn:partner.soap.sforce.com
prefix: ns2
attribute: false
wrapped: false
PublishsingleeventRequest:
title: PublishsingleeventRequest
required:
- Annual_Mileage__c
- Current_Vehicle__c
- Model_Year__c
type: object
properties:
Annual_Mileage__c:
type: integer
contentEncoding: int32
example: 10
Current_Vehicle__c:
type: string
example: example_value
Model_Year__c:
type: integer
contentEncoding: int32
example: 10
examples:
- Annual_Mileage__c: 12000
Current_Vehicle__c: Fast car
Model_Year__c: 2019
Errors7:
title: Errors7
required:
- statusCode
- message
- fields
type: object
properties:
statusCode:
type: string
example: example_value
message:
type: string
example: example_value
fields:
type: array
items:
type: string
description: ''
example: []
examples:
- statusCode: OPERATION_ENQUEUED
message: 234995b6-53b6-4887-93fc-ecd0fac8b36c
fields: []
sObjects:
title: sObjects
required:
- type
- Annual_Mileage__c
- Current_Vehicle__c
- Model_Year__c
type: object
properties:
type:
type: string
xml:
name: type
namespace: urn:sobject.partner.soap.sforce.com
prefix: ns1
attribute: false
wrapped: false
example: example_value
Annual_Mileage__c:
type: integer
contentEncoding: int32
xml:
name: Annual_Mileage__c
namespace: ''
attribute: false
wrapped: false
example: 10
Current_Vehicle__c:
type: string
xml:
name: Current_Vehicle__c
namespace: ''
attribute: false
wrapped: false
example: example_value
Model_Year__c:
type: integer
contentEncoding: int32
xml:
name: Model_Year__c
namespace: ''
attribute: false
wrapped: false
example: 10
xml:
name: sObjects
namespace: urn:partner.soap.sforce.com
prefix: ns2
attribute: false
wrapped: false
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'OAuth 2.0 Bearer token obtained from the Salesforce OAuth 2.0 token endpoint. Include this token in the Authorization header as "Bearer {access_token}".
'