REST API - Assign Email to Program | Adobe Higher Education
Skip to main content
Level 1
August 1, 2022
Beantwortet

REST API - Assign Email to Program

  • August 1, 2022
  • 2 Antworten
  • 1278 Ansichten

Hi,

 

I have created an Email-type Program (Program Test) and a child Email (Test Email 002):

I would like to use the REST API to associate this Email with the parent Program so that it shows up as the selected Email in the Program UI:

I've tried looking through the documentation for the REST API but have been unable to find an endpoint that will allow me to perform this action. Does such an endpoint exist and if so, could you point me to the relevant documentation?

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von Darshil_Shah1

AFAIK - I don't think something of this sort is possible via API. But, you can always clone (via. UI/API) an existing email program with email asset added in the Email tile, the cloned email program would have the cloned email within it added to the Email tile. Just a note that you'd not be able to add an un-approved email asset to the email program. So if you clone from an email program with an un-approved email asset to start with, the cloned email program would not have the asset added to it (like your snapshot).

 

2 Antworten

Darshil_Shah1
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
August 1, 2022

AFAIK - I don't think something of this sort is possible via API. But, you can always clone (via. UI/API) an existing email program with email asset added in the Email tile, the cloned email program would have the cloned email within it added to the Email tile. Just a note that you'd not be able to add an un-approved email asset to the email program. So if you clone from an email program with an un-approved email asset to start with, the cloned email program would not have the asset added to it (like your snapshot).

 

Level 1
August 1, 2022

Thank you.