Custom Activity Update Rest API

Anonymous
Not applicable

Custom Activity Update Rest API

Hi,

I working an custom activity through rest API.  Add Custom Activities » Marketo Developers

But I am not sure what is "leadId". When i checked my lead details,the lead ID is empty. How can i update the custom activity?

Also I am not sure what is "activityTypeId".

14 REPLIES 14
Anonymous
Not applicable

Re: Custom Activity Update Rest API

Hello,

You can find that info here Get Activity Types » Marketo Developers

Anonymous
Not applicable

Re: Custom Activity Update Rest API

I have gone through the link.

In My marketo datbase leadid is empty for an email address. how can i update activity for that lead?

SanfordWhiteman
Level 10 - Community Moderator

Re: Custom Activity Update Rest API

Lead ID != Email.

All leads have an ID.

Look in the URL on the Lead Detail page.

Anonymous
Not applicable

Re: Custom Activity Update Rest API

lead id empty.png

I have checked  the lead id in marketo. it shows the mpty value. Please refer the screenshot. Also it is not integrated with CRM.

SanfordWhiteman
Level 10 - Community Moderator

Re: Custom Activity Update Rest API

What is the URL of that page?

Anonymous
Not applicable

Re: Custom Activity Update Rest API

Thank you. I find it in the URL.  leadDatabase/loadLeadDetail?leadId=xxxxxxxxxx

Great. Thank  you very much. Thank you.

Anonymous
Not applicable

Re: Custom Activity Update Rest API

Hi,

I tried to update the activity. It shows me the error Activity type id '1001' not found". I am using PHP.

Any suggestions?

SanfordWhiteman
Level 10 - Community Moderator

Re: Custom Activity Update Rest API

Anonymous
Not applicable

Re: Custom Activity Update Rest API

Hi,

Thank you for the answers.

i checked the activity types.      i tried to update "visits web page". it shows me an error "Invalid activity type id '1".

any Suggestions?