/bulk/v1/leads.json Documentation Incomplete

Anonymous
Not applicable

/bulk/v1/leads.json Documentation Incomplete

Looking for assistance with the bulk leads import.

For the Import Lead documentation (/bulk/v1/leads.json), do you have an example of the "file" data which is to be passed in a 'string' as well as the "Example Request" which is missing from the documenation? 
 
DOC LINK: 
http://developers.marketo.com/documentation/rest/import-lead/
Tags (1)
5 REPLIES 5
Anonymous
Not applicable

Re: /bulk/v1/leads.json Documentation Incomplete

It's the same as you'd Import from the UI- a CSV. I'll pass this along to the docs folks.
Anonymous
Not applicable

Re: /bulk/v1/leads.json Documentation Incomplete

Josh - Thanks for the feedback. I will update the documentation with an example fie. 
Anonymous
Not applicable

Re: /bulk/v1/leads.json Documentation Incomplete

The documentation still seems to be incomplete. Do you have any reference docs that I can look into?
(One without cUrl)
Anonymous
Not applicable

Re: /bulk/v1/leads.json Documentation Incomplete

We only have a cURL. What language are you trying to implement this in?
Anonymous
Not applicable

Re: /bulk/v1/leads.json Documentation Incomplete

I was trying to post using windows app and simulating HttpClient PostAsync using MultipartFormDataContent,file as form data  and
/bulk/v1/leads.json?access_token=<TOKEN_PLACE_HOLDER>&format=csv&listId=1002&file=tradeshow-attendees.csv" as querystring.

I thought there were two ways to post the file
1) cUrl & 2) Form post with querystring and file as HTTP content like standard Rest API's

file

Required

Lead data is specified through multi part form data in the file.

Thanks