Forum Stats

  • 3,678,985 Users
  • 7,014 Discussions
  • 11,990 Comments

Discussions

Security Groups - API

Simon Roggeman
Simon Roggeman Posts: 5 Blue Ribbon
edited Nov 2, 2017 12:06PM in Dream It

Would like to get the option to create/update security groups via the API. In enterprise level implementations we often see the need for different security groups per business unit, where assets created should not always be shared with the entire enterprise.

This results in a lot of clicks in the UI after cloning a security group to set the correct default asset permissions.

If we could handle this via the API that could save us a massive amount of time in these large implementations.

18 votes

Active · Last Updated

Comments

  • Jacob Esson
    Jacob Esson Posts: 25 Silver Badge

    Hi Simon this is the endpoint the Eloqua is using.

    https://secure.p06.eloqua.com/API/REST/2.0/assets/email/group

    this is the body of the request.

    {

    "name": "Untitled Email Group",

    "id": "-500002",

    "createdBy": "297",

    "createdAt": "1509709681",

    "type": "EmailGroup",

    "permissions": ["Retrieve", "Update", "Delete", "SetSecurity"],

    "emailHeaderId": "9",

    "emailFooterId": "16",

    "isVisibleInOutlookPlugin": "true",

    "isVisibleInPublicSubscriptionList": "true",

    "subscriptionLandingPageId": "67",

    "unsubscriptionLandingPageId": "67",

    "x_e10_isTemplate": "false",

    "depth": "complete"

    }

  • Jacob Esson
    Jacob Esson Posts: 25 Silver Badge

    Hi Simon this is the endpoint the Eloqua is using.

    https://secure.p06.eloqua.com/API/REST/2.0/assets/email/group

    this is the body of the request.

    {

    "name": "Untitled Email Group",

    "id": "-500002",

    "createdBy": "297",

    "createdAt": "1509709681",

    "type": "EmailGroup",

    "permissions": ["Retrieve", "Update", "Delete", "SetSecurity"],

    "emailHeaderId": "9",

    "emailFooterId": "16",

    "isVisibleInOutlookPlugin": "true",

    "isVisibleInPublicSubscriptionList": "true",

    "subscriptionLandingPageId": "67",

    "unsubscriptionLandingPageId": "67",

    "x_e10_isTemplate": "false",

    "depth": "complete"

    }

    the only problem is the Permission but you may get around it by using a different user with the default asset permissions

  • Simon Roggeman
    Simon Roggeman Posts: 5 Blue Ribbon

    Hi Simon this is the endpoint the Eloqua is using.

    https://secure.p06.eloqua.com/API/REST/2.0/assets/email/group

    this is the body of the request.

    {

    "name": "Untitled Email Group",

    "id": "-500002",

    "createdBy": "297",

    "createdAt": "1509709681",

    "type": "EmailGroup",

    "permissions": ["Retrieve", "Update", "Delete", "SetSecurity"],

    "emailHeaderId": "9",

    "emailFooterId": "16",

    "isVisibleInOutlookPlugin": "true",

    "isVisibleInPublicSubscriptionList": "true",

    "subscriptionLandingPageId": "67",

    "unsubscriptionLandingPageId": "67",

    "x_e10_isTemplate": "false",

    "depth": "complete"

    }

    Thanks Jacob, but it's security groups I'm looking for, not email groups.

  • Ken Lague
    Ken Lague Posts: 32 Bronze Badge

    API updates to Security Group membership would be useful in situations where we need to restrict access to certain contacts based on actions or triggers that happen in CRM or other external systems.

    Adjusting contacts security model via a Program is not always timely, especially since contacts can only enter once a day at the moment.

    Thanks for voting this up.

  • Devon Guerrero
    Devon Guerrero Posts: 47 Bronze Badge

    API updates to Security Group membership would be useful in situations where we need to restrict access to certain contacts based on actions or triggers that happen in CRM or other external systems.

    Adjusting contacts security model via a Program is not always timely, especially since contacts can only enter once a day at the moment.

    Thanks for voting this up.

    The label assignment workflow allows for contacts to enter every hour.

  • Jacob Esson
    Jacob Esson Posts: 25 Silver Badge

    The label assignment workflow allows for contacts to enter every hour.

    with the new feeder (field listener) you could add up to 3 fields as a feeder, as if a new contact was created.

  • Niall Quinn
    Niall Quinn Posts: 2 Green Ribbon

    We have the same requirement for our client, the recent updates to the API allow for more SSO standard funcitons but are not incouding the provisioning of groups at this time.  This will make the adoption alot easier compared to other competing systems and provide a simpler operations step for enterprise customers with established user and role automated creation.