Search Results

Input and Output of Upsert Opportunity

When you use the Opportunity resource, the information in the Input and Output tabs varies depending on the endpoint that you select.

The following table lists the input elements in the Input tab of the Opportunity resource:
Input Item Data Type Description
action String An action to be performed. Possible values: createOnly, updateOnly, createOrUpdate (default request), and createDuplicate.
dedupeBy String The deduplication method. Possible values: idField and dedupeFields (default).
Note: This field is valid only when you use the updateOnly action.
object Complex An array of opportunity records that you create or update. If the fields in the Field Selector tab are selected, these fields are added to the object node.
The following table lists the output elements in the Output tab of the Opportunity resource:
Output Item Data Type Description
requestId String The request ID returned from the Marketo server.
result Complex The fields that are displayed in the response. The following fields are displayed: seq, marketoGUID, status, and reasons.
success Boolean If the request is successful, this value is true.
errors Complex The error codes and messages for the activity.