SOLVED

Program member fields: fill them via REST API

Go to solution
ggerla
Level 2

Program member fields: fill them via REST API

Hi everyone,

I want to submit a situation like that: I've created a program with a form, relative to an event/webinar.

I've also added custom program member fields to this program, but they are not fillable by form, because they have a post-event purpose (like the number of viewed sessions or minutes of attendance).

 

Then, I've got a script that parses a spreadsheet: it has email, # of viewed sessions, and minutes of attendance; when I've retrieved the lead ID, I would like to update my custom program fields (numberViewedSessions and minutesAttendance) by REST API.

 

It's possible to do that? I can update a lead by a POST to /rest/v1/leads.json and the status by a POST to /rest/v1/leads/programs/{programID}/status.json, but I don't know if there is a way to update those fields. Maybe a workaround?

 

Thanks!

Gianluca

 

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Program member fields: fill them via REST API

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Program member fields: fill them via REST API

Use a Program Member Bulk Import Job, specifiying the field names from https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Leads....