Input and Output of Upsert Custom Objects

When you use the Custom Objects 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 Custom Objects 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 custom object 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 Custom Objects 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, status, marketoGUID, and reasons.
success Boolean If the request is successful, this value is true.
errors Complex The error codes and messages for the activity.