Date post: | 04-Nov-2014 |
Category: |
Technology |
Upload: | kris-chant |
View: | 77 times |
Download: | 2 times |
Track: Developers
#CNX14
#CNX14
Dive Deep into the Fuel APIs
Kris Chant
Sr. Technical Product Manager - API
@sprshrp
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
Track: Developers
#CNX14
Track: Developers
#CNX14
Where We’ve Been
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
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
Track: Developers
#CNX14
Track: Developers
#CNX14
Where We’re Going
Track: Developers
#CNX14
API Calls / Month2014Q3
2,000,000,000
Track: Developers
#CNX14
Track: Developers
#CNX14
“Enabling others to build tools with our platform drives our business.”
Ed Frederici CTO Salesforce ExactTarget Marketing Cloud
Track: Developers
#CNX14
Simplified Interfaces
• Reduce platform knowledge requirements to achieve common goals
• Simplify interfaces, write less code.
Track: Developers
#CNX14
Faster Data Extraction
Traditionally:• API Polling• Batch Data Exports
New Paradigm:• Realtime Streaming
Track: Developers
#CNX14
Platform Consistency
• Documentation• Develop Fuel Platform Style Guide• Expose Hidden Platform Functionality
Track: Developers
#CNX14
Track: Developers
#CNX14
How We’ll Get There
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
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.
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
Track: Developers
#CNX14
Platform Consistency
API Discovery Service• Expose Full API Data Contract• Publicly consumable• Auto-generation• Begin Rollout in 2015Q1
Track: Developers
#CNX14
Platform Consistency
Expose Internal APIs• Meet Fuel Style Guide• Priorities: Customer Use, SOAP/REST Gaps• Begin Rollout in 2015Q2
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
Track: Developers
#CNX14
Track: Developers
#CNX14
Questions?
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
Track: Developers
#CNX14