Input and Output of Upsert List

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

Input and Output for Add Leads

If you select the Add Leads endpoint, the Input tab contains the following elements:
Input Item Data Type Description
listId String The ID of the list.
Ids Complex The IDs of the leads to be added to the list. Multiple IDs are supported.
The Output tab contains the following elements:
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: id, status, and reasons.
success Boolean If the request is successful, this value is true.

Input and Output for Remove Leads

If you select the Remove Leads endpoint, the Input tab contains the following elements:
Input Item Data Type Description
listId String The ID of the list.
Ids Complex The IDs of the leads to be removed from the list. Multiple IDs are supported.
The Output tab contains the following elements:
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: id, status, and reasons.
success Boolean If the request is successful, this value is true.