What Not to Do: The 10 Most Common API Mistakes
Upcoming SlideShare
Loading in...5
×
 

What Not to Do: The 10 Most Common API Mistakes

on

  • 1,031 views

The Bronto API is a key tool for integrating your systems data with Bronto. Understanding all of the various aspects and features of the API will help maximize the full potential of the system, ...

The Bronto API is a key tool for integrating your systems data with Bronto. Understanding all of the various aspects and features of the API will help maximize the full potential of the system, driving revenue and ensuring customer engagement. Along the way, you may come across issues with your integration. This presentation will explore some of the common issues developers have when integrating with the Bronto API along with tips and tricks that will make the integration as painless as possible.

Statistics

Views

Total Views
1,031
Views on SlideShare
863
Embed Views
168

Actions

Likes
0
Downloads
5
Comments
0

4 Embeds 168

http://dev.bronto.com 147
http://www.brontosummit.com 8
http://community.bronto.com 8
http://brontosummit.com 5

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

What Not to Do: The 10 Most Common API Mistakes What Not to Do: The 10 Most Common API Mistakes Presentation Transcript

  • What Not To Do:The 10 Most Common API Mistakes
  • None of my date fields aresaving?API Date Formats
  • API Date Formats•  Standard ISO 8601 Combined Date and Time format•  2013-03-17T00:23:00YYYY-MM-DDTHH:MM:SS•  All date/time is stored as UTC•  Time zone offsets the API Input or the•  Output•  2013-03-17T00:23:00-4:00YYYY-MM-DDTHH:MM:SS-Offset
  • Why do I get invalid sessionserrors?Session Refresh
  • Session RefreshAlways keep it fresh!Sessions will timeout after 20minutes of inactivitySession Ids must stay the samewhen paging through results.
  • None of my contacts statuschanges are being saved?Contact Status Change
  • Contact Status ChangeStatus can only be updated byusing the updateContacts functionStatus update removed fromthe addOrUpdateContacts function
  • Why are my API deliveries beingskipped?Transactional vs. Triggered
  • Transactional vs. TriggeredWhat is a Triggered email?What is a Transactional email?Set your delivery type correctly.
  • What is an API Id and where can I getit?Using API Ids instead of named elements
  • Using API IdsWhere can I find API Ids?API calls or Bronto UIUse Ids as they are a faster read and write
  • Why was my contact removed fromall lists but one?List Management
  • List ManagementRemember to always read before you write.**All API functions are an overwrite, not an append.
  • Is there a way to process more thanone record at a time?Batch Processing
  • Batch ProcessingBatch processing can be up to 4x faster.Example: updateContacts function with 500 contactobjects**Try to limit the total elements per call to 5000
  • My API calls are no longer working,that code has not been touched inyears!Logging
  • LoggingLog it, Log it All!§  Log the error that the API returns.§  Log the SOAP request that went out.§  Log the SOAP response.
  • LoggingTrap, Wait and Retry.•  Timeouts•  Connection issues•  Etc.
  • Why cant I connect to the API rightnow?Queuing
  • QueuingSo what do you do when you cantconnect?Sit, Wait, Panic...Build a Queue!Queuing helps to alleviate issues or processing when:•  Processes are running slow•  Connectivity issues arise•  Maintenance windows
  • Why is my order data not notupdating properly?Orders and Conversions
  • Orders and ConversionsConversions lock data when they are added to the system.Items that cannot be modified.•  Contact ID•  Message ID•  Delivery IDIf an order already exists in the system and does not have acontact ID on the record, the order will need to be deleted andre-entered in order to associate that order to the contactcorrectly.
  • Thank you for attending…