Back to MarketoSync Opportunity Roles
Allows inserts, updates and upserts of Opportunity Role records in the target instance. Required Permissions: Read-Write Named Opportunity
Input
type: object
properties:
data:
required:
- input
type: object
properties:
action:
type: string
description: Type of sync operation to perform
enum:
- createOnly
- updateOnly
- createOrUpdate
dedupeBy:
type: string
description: >-
Field to deduplicate on. If the value in the field for a given record
is not unique, an error will be returned for the individual record.
input:
type: array
description: List of input records
items:
required:
- marketoGUID
- seq
type: object
properties:
marketoGUID:
type: string
description: Unique GUID of the custom object records
reasons:
type: array
description: >-
List of reasons why an operation did not succeed. Reasons are
only present in API responses and should not be submitted
items:
required:
- code
- message
type: object
properties:
code:
type: string
description: Integer code of the reason
message:
type: string
description: >-
Message describing the reason for the status of the
operation
seq:
type: integer
description: >-
Integer indicating the sequence of the record in response. This
value is correlated to the order of the records included in the
request input. Seq should only be part of responses and should
not be submitted.
format: int32
title: Data
Output
required:
- errors
- requestId
- result
- success
- warnings
type: object
properties:
errors:
type: array
description: Array of errors that occurred if the request was unsuccessful
items:
required:
- code
- message
type: object
properties:
code:
type: string
description: >-
Error code of the error. See full list of error codes <a
href="https://developers.marketo.com/rest-api/error-codes/">here</a>
message:
type: string
description: Message describing the cause of the error
moreResult:
type: boolean
description: Boolean indicating if there are more results in subsequent pages
example: false
nextPageToken:
type: string
description: Paging token given if the result set exceeded the allowed batch size
requestId:
type: string
description: Id of the request made
result:
type: array
description: Array of results for individual records in the operation, may be empty
items:
required:
- marketoGUID
- seq
type: object
properties:
marketoGUID:
type: string
description: Unique GUID of the custom object records
reasons:
type: array
description: >-
List of reasons why an operation did not succeed. Reasons are only
present in API responses and should not be submitted
items:
required:
- code
- message
type: object
properties:
code:
type: string
description: Integer code of the reason
message:
type: string
description: Message describing the reason for the status of the operation
seq:
type: integer
description: >-
Integer indicating the sequence of the record in response. This
value is correlated to the order of the records included in the
request input. Seq should only be part of responses and should not
be submitted.
format: int32
success:
type: boolean
description: Whether the request succeeded
example: false
warnings:
type: array
description: Array of warnings given for the operation
items:
required:
- code
- message
type: object
properties:
code:
type: integer
description: Integer code of the warning
format: int32
message:
type: string
description: Message describing the warning