#2861365: Add a client callback for the associateLead API endpoint.#31
Open
slucero wants to merge 3 commits intoMarketoMA:8.x-2.xfrom
Open
#2861365: Add a client callback for the associateLead API endpoint.#31slucero wants to merge 3 commits intoMarketoMA:8.x-2.xfrom
slucero wants to merge 3 commits intoMarketoMA:8.x-2.xfrom
Conversation
Add a pass-through function to the API client to support the associateLead command provided by the Marketo REST Client.
greylabel
reviewed
Jul 10, 2017
| * | ||
| * @return mixed | ||
| */ | ||
| public function associateLead($leadId, $cookie, $args = array()); |
There was a problem hiding this comment.
Not seeing that args is a valid parameter here: http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Leads/associateLeadUsingPOST
Author
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.