Input and Output of Retrieve 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
filterType String The filter types supported by Marketo. Possible values: idField, dedupeFields, externalCompanyId, and externalSalesPersonId.
Note: You can only use the filterValues field for idField.

You can only use the corresponding fields in the Object node for dedupeFields.

filterValues String A separated list of filter values.
Note: You cannot specify the values of multiple fields in this field.
Object Complex The multiple fields for filtering. If no fields are selected in the Field Selector tab, the following fields are displayed: externalOpportunityId, amount, closeDate, description, expectedRevenue, externalCompanyId, externalCreatedDate, externalSalesPersonId, fiscal, fiscalQuarter, fiscalYear, forecastCategoryName, isClosed, isWon, lastActivityDate, leadSource, name, nextStep, probability, quantity, stage, and type. If the fields in the Field Selector tab are selected, these fields are added to the object node.
nextPageToken String This parameter is used to paginate through large result sets. This value can be used to access next set of records.
Note: The value of the next page token is obtained from the output of the previous activity.
batchSize Integer The maximum number of records to be returned. The default maximum number of the batch size is 300.
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: reasons, seq, marketoGUID, updatedAt, and createdAt.
success Boolean If the request is successful, this value is true.
errors Complex The error codes and messages for the activity.