cnx2014 breakouts- dive deep into the fuel apis

21
Track: Developers #CNX14 #CNX14 Dive Deep into the Fuel APIs Kris Chant Sr. Technical Product Manager - API @sprshrp

Upload: kris-chant

Post on 04-Nov-2014

77 views

Category:

Technology


2 download

DESCRIPTION

ExactTarget Fuel offers a comprehensive set of APIs that enable you to automate your marketing campaigns and seamlessly integrate your marketing, analytics, and other business software. In this session, we'll provide an overview of Fuel's APIs with an emphasis on the latest and greatest additions to the REST API. We'll also highlight several examples of how to use these APIs to address core platform use cases such as automation and integration.

TRANSCRIPT

Page 1: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

#CNX14

Dive Deep into the Fuel APIs

Kris Chant

Sr. Technical Product Manager - API

@sprshrp

Page 2: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Goals – Presentation Overview

1 2 3

Where We’ve Been

• REST• SOAP• Lessons Learned

Where We’re Going

• Simplified Interfaces

• Faster Data Access

• Platform Consistency

• Developer Edition

How We’ll Get There

• New Sending Options

• Webhooks• Discovery Service• Expose Internal

APIs

Page 3: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Track: Developers

#CNX14

Where We’ve Been

Page 4: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

APIs

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <oAuth xmlns="http://exacttarget.com"> <oAuthToken> gd2324hruukedkremtwqhae9 </oAuthToken> </oAuth> </soap:Header> <soap:Body> <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI" <RetrieveRequest> <ObjectType>List</ObjectType> <Properties>ListName</Properties> <Properties>Description</Properties> <Properties>Category</Properties> <Properties>ListClassification</Properties>

• SOAP (since 2007)

• Oldest and comprehensive

• Programmatically exposes the email application

Page 5: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

APIs

POST https://www.exacttargetapis.com/address/v1/validateEmailAuthorization: Bearer gd2324hruukedkremtwqhae9{ "email": "[email protected]", "validators": [ "SyntaxValidator", "GlobalUnsubValidator", "ListDetectiveValidator" ]}HTTP/1.1 200 OK{ "email": "[email protected]", "valid": false, "failedValidation": "ListDetectiveValidator"}

• SOAP (since 2007)

• Oldest and comprehensive

• Programmatically exposes the email application

• REST (since 2012)

• Newer & less comprehensive

• Multi-channel support

Page 6: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Track: Developers

#CNX14

Where We’re Going

Page 7: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

API Calls / Month2014Q3

2,000,000,000

Page 8: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Track: Developers

#CNX14

“Enabling others to build tools with our platform drives our business.”

Ed Frederici CTO Salesforce ExactTarget Marketing Cloud

Page 9: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Simplified Interfaces

• Reduce platform knowledge requirements to achieve common goals

• Simplify interfaces, write less code.

Page 10: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Faster Data Extraction

Traditionally:• API Polling• Batch Data Exports

New Paradigm:• Realtime Streaming

Page 11: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Platform Consistency

• Documentation• Develop Fuel Platform Style Guide• Expose Hidden Platform Functionality

Page 12: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Track: Developers

#CNX14

How We’ll Get There

Page 13: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Simplified Interfaces

<SubscriberKey>[email protected]</SubscriberKey> <EmailAddress>[email protected]</EmailAddress> <Attributes> <Name>FirstName</Name> <Value>John</Value> </Attributes> <Attributes> <Name>LastName</Name> <Value>Cruz</Value> </Attributes> <Attributes> <Name>Country</Name> <Value>USA</Value> </Attributes> <Attributes> <Name>Zip</Name> <Value>46140</Value> </Attributes> <Attributes> <Name>Gender</Name> <Value>Male</Value> </Attributes> <Attributes> <Name>birthyear</Name> <Value>1970</Value> </Attributes> <Attributes> <Name>DOB</Name> <Value>19700101</Value> </Attributes> <Attributes> <Name>Id</Name> <Value></Value> </Attributes> <Attributes> <Name>RegDate</Name> <Value>02/12/2008</Value> </Attributes> </Subscribers> </TriggeredSend> </system></exacttarget>

• New REST and SMTP Interfaces for Transactional Email

• Simplified calls

• Reduced Platform Knowledge

This

Page 14: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Simplified Interfaces

{ "classificationId" : ”WelcomeEmail”,

"to" : [ { "name" : ”John Cruz", "email" : ”[email protected]" } ], "attributes" : { ”Country" : ”USA”,

”Zip" : ”46140”, ”Gender" : ”male”, ”BirthYear" : ”1970”,

}}

• New REST and SMTP Interfaces for Transactional Email

• Simplified calls

• Reduced Platform Knowledge

… to this.

Page 15: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Faster Data Extraction

Webhooks:• Interface for MC Apps to

stream data• Optimized for Latency

and Scale• Tracking Data First• Beta early 2015

Page 16: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Platform Consistency

API Discovery Service• Expose Full API Data Contract• Publicly consumable• Auto-generation• Begin Rollout in 2015Q1

Page 17: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Platform Consistency

Expose Internal APIs• Meet Fuel Style Guide• Priorities: Customer Use, SOAP/REST Gaps• Begin Rollout in 2015Q2

Page 18: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Track: Developers

#CNX14

Take the after-session survey!

Take the Survey in the Connections 2014 Mobile App

Join the Conversation!

#CNX14

$50Starbucks

Gift Card

Page 19: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

Track: Developers

#CNX14

Questions?

Page 20: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14

CUSTOMER JOURNEY SHOWCASE

MARKETING THOUGHT LEADERS

EMAIL MARKETING PRODUCT STRATEGY& ROADMAP

PERSONAL TRANSFORMATION

& GROWTH

SOCIAL MARKETING MOBILE & WEB MARKETING

DEVELOPERS HANDS-ON TRAINING

INDUSTRY TRENDSETTERS

CREATIVITY & INNOVATION

SALESFORCE FOR MARKETERS

ROUNDTABLES

Page 21: Cnx2014 breakouts- dive deep into the fuel apis

Track: Developers

#CNX14