Skip to content

#2861365: Add a client callback for the associateLead API endpoint.#31

Open
slucero wants to merge 3 commits intoMarketoMA:8.x-2.xfrom
slucero:8.x-2.x--associate-lead-method
Open

#2861365: Add a client callback for the associateLead API endpoint.#31
slucero wants to merge 3 commits intoMarketoMA:8.x-2.xfrom
slucero:8.x-2.x--associate-lead-method

Conversation

@slucero
Copy link

@slucero slucero commented Mar 16, 2017

Add a pass-through function to the API client to support the
associateLead command provided by the Marketo REST Client.

This work is related to Drupal Issue #2861365.

Add a pass-through function to the API client to support the
associateLead command provided by the Marketo REST Client.
@slucero slucero changed the title Add a client callback for the associateLead API endpoint. #2861365: Add a client callback for the associateLead API endpoint. Mar 16, 2017
*
* @return mixed
*/
public function associateLead($leadId, $cookie, $args = array());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Args isn't a valid parameter to pass to the Marketo API, but I included it in the method signature to maintain consistency with the rest of the interface where an array of optional configuration could be passed through to influence the operation even if it was not directly passed along to Marketo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants