Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Introduction

This suite of modules provides services to all of the Salesforce marketing cloud APIs, and validates all payloads against Json Schema. The following API resources are available in sub-modules:

  • Address
  • Assets
  • Campaigns
  • Contacts
  • Data Events
  • Interaction
  • Messages
  • Platform
  • Push
  • SMS

This module is intended for module developers.

Requirements

Core

3rd Party

These should be automatically installed by composer when you install this module.

Recommended

This is used to render the module info pages from the markdown code. If not installed, you will still be able to view the info pages, but they will be rendered as plain text.

Objectives

There are a lot of API calls available in the Salesforce Marketing Cloud API. This module provides all of them as services in one place.

The different sections of API have been separated into sub-modules, to allow lighter weight in Drupal and for developers using this as a sub-module, to select which services they want to be available.

The JSON body objects in API calls can often be very complex and potentially infinite depth. Therefore, the module does not provide service functions that have individual input variables and then render the JSON from that. Instead, it is up to the developer to produce the JSON object, and the service will then validate the JSON object against the schema to make sure that it meets minimum requirements.

The schema can be edited and validated, and Json validation can we switched on/off in the settings.

Similar projects

Salesforce

This suite integrates with Salesforce by asynchronously synchronizing Drupal entities (E.g., users, nodes, files) with Salesforce objects (E.g., contacts, organizations, opportunities).

However it uses Salesforce OAuth, which is an entirely different endpoint to Marketing Cloud, and requires different credentials.

ExactTarget API

Provides abstraction of the ExactTarget XML API for use by other modules, and is in the process of being ported to D8. By itself, this module provides no functionality and should only be installed if another module requires it as a dependency.

Support

Updates to the Json Schema and the code are welcome.

Drupal 8

Release 8.x-1.1 supports 8.5+

Drupal 9

Release 8.x-1.3 and above supports 8.8+ and Drupal 9

Drupal 10

Release 8.x-1.8 and above supports Drupal 9/10

A community documentation page is available on Drupal.org. Please add your notes on solving issues and configuring the module there.

Please search the issue queue before filing an issue, and update to latest development release to make sure your problem has not already been fixed. Issues filed using the issue summary template will receive priority over other issues.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.8 Stable Aug 10, 2023