SlideShare a Scribd company logo
1 of 50
developer track
agenda
page
02
API Overview
09:15
Understanding Zuora’s API
Framework
Zuora APIs Deep
DiveComprehensive Overview
on Fresh New Zuora APIs
10:15
developer track
agenda
page
03
Data Science
1:00
Building a Data Pipeline to
Engage and Retain Your
Subscribers
Reporting APIs
11:15
ZOQL, Exports & AQuA
Customizing
Z4SF
2:00
Customizing Zuora for
Salesforce
developer track
agenda
page
04
OAuth Integration
3:15
Tips for Working with Zuora's
New API Gateway
Extending Zuora
4:15
Extending Zuora's Functionality
to Meet Changing Business
Needs
Understanding Zuora’s API
Framework
Kevin Lussie
Senior Solution Architect - Customer Success
Objective
page
06
You will be able to get
started with using
Zuora’s APIs
After This
Session.
agenda for this
session
page
07
01background information
03 api types & categories
02 api users and authentication
04 best practices, q&a
background
information
Callout Notifications, API Requests &
Responses
page
09
External
System
Callout Notification
(1) Event in Zuora
Triggers a Callout
Notification
(2) Receives
Notification
HTTP status code 200
(4) Depending on the Callout Data
Send API Request: query for
additional data
(5) Query is processed:
Sends API Response
API Request
API Response
(3) Parses the Notification Data
The Zuora Landscape with APIs
page
010
Pay-wall
(provisioning)
Marketing
System
Financial
System
Data
Warehouse
Web PortalCRM
SOAP
REST Actions
REST Functional
REST Actions
REST Functional
ExportsAQuA
Callouts Callouts
Zuora Objects – How We Represent Data in Zuora
page
011
Zuora Objects – How We Represent Data in Zuora
page
012
page
013
Zuora Object Relationships
page
014
Zuora Object Relationships
Zuora Object Relationships
page
015
page
016
Zuora Object Relationships
Zuora Data
Sources
page
017
• Zuora Objects joined together as pre-defined collections
Zuora Data
Sources
page
018
Zuora Data
Sources
page
019
Zuora Data
Sources
page
020
Zuora Data
Sources
page
021
API Users
You must authenticate with Zuora,
before using an API
API Authentication
page
023
Zuora’s APIs require the following for Authentication:
• Username and Password
• Session Key
API Users
page
024
• Users are created from within the Zuora UI
• Users are granted: “UI Access” and/or “API Write Access”
•
• An API User has UI Access turned off
• Create an API User Role, set as a “Platform” Role in Zuora
• NOTE: If an API User account logs into the Zuora UI,
• That login is subject to forced password expirations
• This could result in API authentication failures
API User Role
page
025
API Authentication Options
page
026
API Authentication Options
page
027
API Authentication Options
page
028
Header
• apiAccessKeyId: <Login>
• apiSecretAccessKey: <Password>
• Authorization: ZSession <Session Key>
Cookie
• ZSession
API types and
categories
Zuora API Types & Categories
page
030
• Callout Notifications
• Describe API
• SOAP & REST Actions
• Non-CRUD (Functional) REST APIs
• AQuA
• Reporting
Callout Notifications
page
031
• Data is in JSON or XML format
• Authentication: None, Basic, Digest & NTLM
• 25 Second Timeout
• 10 seconds to establish a socket connection
• 15 seconds for data transfer
• NOTE: Timeout Limit cannot be changed
• Retry Limits
• Maximum of 5 delivery retries
• Maximum Number of minutes between callout attempts is 1440 (24 hours)
• Functional API to retrieve Callout Histories
Callout Notification Groups
page
032
Callout Notification - Example using
Hookbin.com
page
033
• Create a Hookbin Endpoint
• Enable the Callout Notification to point to the Hookbin Endpoint
• Create a New Subscription Event in Zuora
• View the Callout data in Hookbin
Callout Notification Example using Hookbin
page
034
Zuora API Types & Categories
page
035
• Callout Notifications
• Describe API
• SOAP & REST Actions
• Non-CRUD (Functional) REST APIs
• AQuA
• Reporting
Describe API
page
036
• Lists Fields within Zuora Objects
• Shows Related Objects for Data Sources
• Versioned with WSDL numbers for compatibility
• https://apisandbox.zuora.com/apps/api/describe/Account
• https://apisandbox.zuora.com/apps/api/84/describe/Account
• GET calls return XML data by default
• HTML data can be returned with “format=html” query string
• https://apisandbox.zuora.com/apps/api/describe/Account?format=html
Describe API
page
037
• Lists Fields within Zuora Objects
• Shows Data Source Related Objects
• Versioned with WSDL numbers for compatibility
• GET calls return only XML and HTML data
Zuora API Types & Categories
page
038
• Callout Notifications
• Describe API
• SOAP & REST Actions
• Non-CRUD (Functional) REST APIs
• AQuA
• Reporting
SOAP and REST Actions
page
039
• SOAP & XML are the Past, REST & JSON are the Future
• SOAP APIs are no longer under active development
• There are no current deprecation plans, but all new features will be via REST
• Mostly for CRUD (Create, Read, Update, Delete) Operations
• Allows for changes of up to 50 objects at a time
• Non-CRUD calls include:
• BillingPreview (Generate preview of future invoice items)
• Execute (Split an invoice into multiple invoices)
• Generate (Generate Invoice on-demand)
• Amend
• Subscribe
SOAP and REST Actions
page
040
SOAP API REST Action
Amend() {{endPoint}}/v1/action/amend
BillingPreview() {{endPoint}}/v1/action/billingPreview
Create() {{endPoint}}/v1/action/create
Delete() {{endPoint}}/v1/action/delete
Execute() {{endPoint}}/v1/action/execute
Generate() {{endPoint}}/v1/action/generate
Login() {{endPoint}}/v1/action/login
Query() {{endPoint}}/v1/action/query
QueryMore() {{endPoint}}/v1/action/queryMore
Subscribe() {{endPoint}}/v1/action/subscribe
Update() {{endPoint}}/v1/action/update
Non-CRUD REST API Categories
page
041
• Billing
• Accounts
• Finance
• Operations
• Payments
• Product Catalog
• Subscriptions
DataSource Exports and AQuA - Similarities
page
042
• Asynchronous Data Source Queries
• Submit Query, Wait for Notification or poll job_ID status
• Download file upon completion
• Both work with the pre-joined DataSources
• Allow for data to be encrypted
• Allow for data to be compressed
• Event Callout Notifications upon completion
DataSource Exports and AQuA - Differences
page
043
Exports
• Allows for output in CSV and Excel Format
AQuA – Aggregate Query API
• Allows for output only in CSV Format
• Using Stateful queries allow for:
• Only get data that was updated since the last query.
• Export Deleted Objects since the last query
• AQuA results older than 72 hours are purged automatically
• Allows for data to be encrypted
• Event Callout Notification Upon Completion
Reports API
page
044
• Get Last Completed Report Run
• Get Report Data
• Export Report Run
• Run a Report
• Cancel a Report Run
• Search by Report Name
• Get Reports by Label
• Get Report Details
• Get Report by ID
• Get Report Details by Label
• Copy a Report and Assign Labels
• Get Report Labels for ReportID
• Create a Report and Assign
Labels
• Delete a Report
• Label or Unlabel a Report
• Save a Report
• Get Tenant Settings
• Update Tenant Settings
API Endpoints
page
045
Type Base / AQuA Rest Reporting
Sandbox https://apisandbox.zuora.com https://rest.apisandbox.zuora.com https://zconnectsandbox.zuora.com
Performance https://pt1.zuora.com https://rest.pt1.zuora.com https://zconnectpt1.zuora.com
Services* https://servicesXXX.zuora.com https://servicesXXX.zuora.com/app/ N/A**
Production https://www.zuora.com https://rest.zuora.com https://zconnect.zuora.com
*At this time, Only Legacy RESTworks in the services environment. (No REST Actions)
**ZConnect (Reports API) does not yet work in services environments
Best Practices
API Best Practices
page
047
• Keep a log of API Requests & Responses with their
timestamps.
• Review the Callout Notification log for errors
• Create separate API Users for each integrated system
• Every Month Check the Zuora Release Notes for changes &
enhancements to APIs
• Perform Negative testing to validate Error Handling
Q&A
page
048
Definitions
page
049
API - Application Programming Interface - Set of clearly defined methods of
communication between various software components. A Zuora Function
Notification Callout - Event-based XML calls that Zuora makes to other systems
Zuora SOAP API - Simple Object Access Protocol - XML-message based
protocol used for implementing web services
Zuora WSDL - Zuora Web Services Definition Language - Contains definitions of
the Zuora SOAP API along with custom field definitions.
Zuora REST API - Representational State Transfer / RESTful Web services
thank you.

More Related Content

What's hot

What's hot (20)

Qlik composeのご紹介
Qlik composeのご紹介Qlik composeのご紹介
Qlik composeのご紹介
 
はじめようLightningコンポーネント
はじめようLightningコンポーネントはじめようLightningコンポーネント
はじめようLightningコンポーネント
 
Swiggy - Marketing plan
Swiggy - Marketing planSwiggy - Marketing plan
Swiggy - Marketing plan
 
Kafka vs Pulsar @KafkaMeetup_20180316
Kafka vs Pulsar @KafkaMeetup_20180316Kafka vs Pulsar @KafkaMeetup_20180316
Kafka vs Pulsar @KafkaMeetup_20180316
 
Beyond the Twelve-Factor App
Beyond the Twelve-Factor AppBeyond the Twelve-Factor App
Beyond the Twelve-Factor App
 
自律型データベース Oracle Autonomous Database 最新情報
自律型データベース Oracle Autonomous Database 最新情報自律型データベース Oracle Autonomous Database 最新情報
自律型データベース Oracle Autonomous Database 最新情報
 
For Power BI Beginners
For Power BI BeginnersFor Power BI Beginners
For Power BI Beginners
 
DAT316_Report from the field on Aurora PostgreSQL Performance
DAT316_Report from the field on Aurora PostgreSQL PerformanceDAT316_Report from the field on Aurora PostgreSQL Performance
DAT316_Report from the field on Aurora PostgreSQL Performance
 
全社のデータ活用を一段階上げる取り組み
全社のデータ活用を一段階上げる取り組み全社のデータ活用を一段階上げる取り組み
全社のデータ活用を一段階上げる取り組み
 
Sizing Amazon Elasticsearch Service for your workload - ADB303 - Santa Clara ...
Sizing Amazon Elasticsearch Service for your workload - ADB303 - Santa Clara ...Sizing Amazon Elasticsearch Service for your workload - ADB303 - Santa Clara ...
Sizing Amazon Elasticsearch Service for your workload - ADB303 - Santa Clara ...
 
OCI Logging 概要
OCI Logging 概要OCI Logging 概要
OCI Logging 概要
 
Oracle Cloud Platform:IDCSを使ったアイデンティティ・ドメイン管理者ガイド
Oracle Cloud Platform:IDCSを使ったアイデンティティ・ドメイン管理者ガイドOracle Cloud Platform:IDCSを使ったアイデンティティ・ドメイン管理者ガイド
Oracle Cloud Platform:IDCSを使ったアイデンティティ・ドメイン管理者ガイド
 
Cloudhub 2.0
Cloudhub 2.0Cloudhub 2.0
Cloudhub 2.0
 
Driving Mobile VAS Adoption and Creating a Sustainable VAS Proposition in New...
Driving Mobile VAS Adoption and Creating a Sustainable VAS Proposition in New...Driving Mobile VAS Adoption and Creating a Sustainable VAS Proposition in New...
Driving Mobile VAS Adoption and Creating a Sustainable VAS Proposition in New...
 
Salesforceの開発についてちょっと詳しくなる
Salesforceの開発についてちょっと詳しくなるSalesforceの開発についてちょっと詳しくなる
Salesforceの開発についてちょっと詳しくなる
 
Windows Server Container and Windows Subsystem for Linux
Windows Server Container and Windows Subsystem for LinuxWindows Server Container and Windows Subsystem for Linux
Windows Server Container and Windows Subsystem for Linux
 
これから始めるSAPのクラウド化 Azure が選ばれる理由
これから始めるSAPのクラウド化 Azure が選ばれる理由これから始めるSAPのクラウド化 Azure が選ばれる理由
これから始めるSAPのクラウド化 Azure が選ばれる理由
 
Oracle Cloud Infrastructure:2022年4月度サービス・アップデート
Oracle Cloud Infrastructure:2022年4月度サービス・アップデートOracle Cloud Infrastructure:2022年4月度サービス・アップデート
Oracle Cloud Infrastructure:2022年4月度サービス・アップデート
 
Single Sign-On and User Provisioning with Salesforce Identity
Single Sign-On and User Provisioning with Salesforce IdentitySingle Sign-On and User Provisioning with Salesforce Identity
Single Sign-On and User Provisioning with Salesforce Identity
 
MuleSoft's Approach to Driving Customer Outcomes
MuleSoft's Approach to Driving Customer Outcomes MuleSoft's Approach to Driving Customer Outcomes
MuleSoft's Approach to Driving Customer Outcomes
 

Similar to Subscribed 2017: Understanding Zuora’s API Framework

Crafting Consumable APIs
Crafting Consumable APIsCrafting Consumable APIs
Crafting Consumable APIs
WSO2
 
20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager
BTUGbe
 

Similar to Subscribed 2017: Understanding Zuora’s API Framework (20)

Doctor Flow: Enterprise Flows best practices - patterns (SharePoint Saturday...
Doctor Flow:  Enterprise Flows best practices - patterns (SharePoint Saturday...Doctor Flow:  Enterprise Flows best practices - patterns (SharePoint Saturday...
Doctor Flow: Enterprise Flows best practices - patterns (SharePoint Saturday...
 
Voxeo Summit Day 2 -Voxeo APIs and SDKs
Voxeo Summit Day 2 -Voxeo APIs and SDKsVoxeo Summit Day 2 -Voxeo APIs and SDKs
Voxeo Summit Day 2 -Voxeo APIs and SDKs
 
2019-05-16 aOS Luxembourg - 6 - Flow avancé - Serge Luca
2019-05-16 aOS Luxembourg - 6 - Flow avancé - Serge Luca2019-05-16 aOS Luxembourg - 6 - Flow avancé - Serge Luca
2019-05-16 aOS Luxembourg - 6 - Flow avancé - Serge Luca
 
Mobile Services for Windows Azure
Mobile Services for Windows AzureMobile Services for Windows Azure
Mobile Services for Windows Azure
 
Cloud Powered Mobile Apps with Azure
Cloud Powered Mobile Apps  with AzureCloud Powered Mobile Apps  with Azure
Cloud Powered Mobile Apps with Azure
 
Deploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePointDeploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePoint
 
Crafting Consumable APIs
Crafting Consumable APIsCrafting Consumable APIs
Crafting Consumable APIs
 
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
 
Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)
 
20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager
 
Exploring Contact Lens and Amazon Connect
Exploring Contact Lens and Amazon ConnectExploring Contact Lens and Amazon Connect
Exploring Contact Lens and Amazon Connect
 
February 2020 Salesforce API Review
February 2020 Salesforce API ReviewFebruary 2020 Salesforce API Review
February 2020 Salesforce API Review
 
Subscribed 2017: Reporting APIs
Subscribed 2017: Reporting APIsSubscribed 2017: Reporting APIs
Subscribed 2017: Reporting APIs
 
Serverless API with Azure Functions
Serverless API with Azure FunctionsServerless API with Azure Functions
Serverless API with Azure Functions
 
App fabric introduction
App fabric introductionApp fabric introduction
App fabric introduction
 
[Rakuten TechConf2014] [C-5] Ichiba Architecture on ExaLogic
[Rakuten TechConf2014] [C-5] Ichiba Architecture on ExaLogic[Rakuten TechConf2014] [C-5] Ichiba Architecture on ExaLogic
[Rakuten TechConf2014] [C-5] Ichiba Architecture on ExaLogic
 
Doctor Flow- Best practices Microsoft flow - Techorama 2019
Doctor Flow- Best practices Microsoft flow - Techorama 2019Doctor Flow- Best practices Microsoft flow - Techorama 2019
Doctor Flow- Best practices Microsoft flow - Techorama 2019
 
Tokyo Azure Meetup #14 - Azure Functions Proxies
Tokyo Azure Meetup #14  -  Azure Functions ProxiesTokyo Azure Meetup #14  -  Azure Functions Proxies
Tokyo Azure Meetup #14 - Azure Functions Proxies
 
[Vončina] Configuring SharePoint 2016 for BI Scenarios
[Vončina] Configuring SharePoint 2016 for BI Scenarios[Vončina] Configuring SharePoint 2016 for BI Scenarios
[Vončina] Configuring SharePoint 2016 for BI Scenarios
 
A Practical Deep Dive into Observability of Streaming Applications with Kosta...
A Practical Deep Dive into Observability of Streaming Applications with Kosta...A Practical Deep Dive into Observability of Streaming Applications with Kosta...
A Practical Deep Dive into Observability of Streaming Applications with Kosta...
 

More from Zuora, Inc.

More from Zuora, Inc. (20)

SSP Your New Strategic Growth Weapon
SSP  Your New Strategic Growth Weapon SSP  Your New Strategic Growth Weapon
SSP Your New Strategic Growth Weapon
 
Subscribed 2019 - CPQ X: The Future of CPQ
Subscribed 2019 - CPQ X: The Future of CPQSubscribed 2019 - CPQ X: The Future of CPQ
Subscribed 2019 - CPQ X: The Future of CPQ
 
Subscribed 2019 - Going Global: Demystifying International Payments
Subscribed 2019 - Going Global: Demystifying International PaymentsSubscribed 2019 - Going Global: Demystifying International Payments
Subscribed 2019 - Going Global: Demystifying International Payments
 
Subscribed 2019 - Fraud Management Strategies: Reducing Collection Friction t...
Subscribed 2019 - Fraud Management Strategies: Reducing Collection Friction t...Subscribed 2019 - Fraud Management Strategies: Reducing Collection Friction t...
Subscribed 2019 - Fraud Management Strategies: Reducing Collection Friction t...
 
Subscribed 2019 - Optimizing Recurring Collections at Scale
Subscribed 2019 - Optimizing Recurring Collections at ScaleSubscribed 2019 - Optimizing Recurring Collections at Scale
Subscribed 2019 - Optimizing Recurring Collections at Scale
 
Subscribed 2019 - Regulations and What Lies Ahead with Zuora Payments and Col...
Subscribed 2019 - Regulations and What Lies Ahead with Zuora Payments and Col...Subscribed 2019 - Regulations and What Lies Ahead with Zuora Payments and Col...
Subscribed 2019 - Regulations and What Lies Ahead with Zuora Payments and Col...
 
Subscribed 2019 - Collection Strategies: Recovering Critical Revenue to Drive...
Subscribed 2019 - Collection Strategies: Recovering Critical Revenue to Drive...Subscribed 2019 - Collection Strategies: Recovering Critical Revenue to Drive...
Subscribed 2019 - Collection Strategies: Recovering Critical Revenue to Drive...
 
Subscribed 2019 - Why Digital Transformation Should Drive Business Model Tran...
Subscribed 2019 - Why Digital Transformation Should Drive Business Model Tran...Subscribed 2019 - Why Digital Transformation Should Drive Business Model Tran...
Subscribed 2019 - Why Digital Transformation Should Drive Business Model Tran...
 
Subscribed 2019 - Business Transformation: Architecting the Launch for Success
Subscribed 2019 - Business Transformation: Architecting the Launch for SuccessSubscribed 2019 - Business Transformation: Architecting the Launch for Success
Subscribed 2019 - Business Transformation: Architecting the Launch for Success
 
Subscribed 2019 - Deliver Growth Without Breaking Your Back Office
Subscribed 2019 - Deliver Growth Without Breaking Your Back OfficeSubscribed 2019 - Deliver Growth Without Breaking Your Back Office
Subscribed 2019 - Deliver Growth Without Breaking Your Back Office
 
Subscribed 2019 - Customer First Approach to Pricing
Subscribed 2019  - Customer First Approach to Pricing Subscribed 2019  - Customer First Approach to Pricing
Subscribed 2019 - Customer First Approach to Pricing
 
Subscribed 2019 - Empower Sales Operations
Subscribed 2019 -  Empower Sales Operations Subscribed 2019 -  Empower Sales Operations
Subscribed 2019 - Empower Sales Operations
 
Subscribed 2019 - Best Practices for Realizing Optimal Value from Zuora
Subscribed 2019 -  Best Practices for Realizing Optimal Value from ZuoraSubscribed 2019 -  Best Practices for Realizing Optimal Value from Zuora
Subscribed 2019 - Best Practices for Realizing Optimal Value from Zuora
 
Subscribed 2019 - Omni-Channel Customer Acquisition and Retention
Subscribed 2019 - Omni-Channel Customer Acquisition and RetentionSubscribed 2019 - Omni-Channel Customer Acquisition and Retention
Subscribed 2019 - Omni-Channel Customer Acquisition and Retention
 
Subscribed 2019 - Quote Smarter, Faster and Get Products to Market Quicker wi...
Subscribed 2019 - Quote Smarter, Faster and Get Products to Market Quicker wi...Subscribed 2019 - Quote Smarter, Faster and Get Products to Market Quicker wi...
Subscribed 2019 - Quote Smarter, Faster and Get Products to Market Quicker wi...
 
Subscribed 2019 - Empower Sales Operations with Zuora CPQ
Subscribed 2019 - Empower Sales Operations with Zuora CPQSubscribed 2019 - Empower Sales Operations with Zuora CPQ
Subscribed 2019 - Empower Sales Operations with Zuora CPQ
 
Subscribed 2019 - Implementing a Consumption-Based Pricing Strategy
Subscribed 2019 - Implementing a Consumption-Based Pricing StrategySubscribed 2019 - Implementing a Consumption-Based Pricing Strategy
Subscribed 2019 - Implementing a Consumption-Based Pricing Strategy
 
Subscribed 2019 - Proration: Why Getting it Right Matters
Subscribed 2019 - 	Proration: Why Getting it Right MattersSubscribed 2019 - 	Proration: Why Getting it Right Matters
Subscribed 2019 - Proration: Why Getting it Right Matters
 
Subscribed 2019 - Beyond reporting analytics for growth
Subscribed 2019 - Beyond reporting analytics for growthSubscribed 2019 - Beyond reporting analytics for growth
Subscribed 2019 - Beyond reporting analytics for growth
 
Subscribed 2019 - The Future of Orders
Subscribed 2019 - The Future of Orders Subscribed 2019 - The Future of Orders
Subscribed 2019 - The Future of Orders
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Subscribed 2017: Understanding Zuora’s API Framework

  • 1.
  • 2. developer track agenda page 02 API Overview 09:15 Understanding Zuora’s API Framework Zuora APIs Deep DiveComprehensive Overview on Fresh New Zuora APIs 10:15
  • 3. developer track agenda page 03 Data Science 1:00 Building a Data Pipeline to Engage and Retain Your Subscribers Reporting APIs 11:15 ZOQL, Exports & AQuA Customizing Z4SF 2:00 Customizing Zuora for Salesforce
  • 4. developer track agenda page 04 OAuth Integration 3:15 Tips for Working with Zuora's New API Gateway Extending Zuora 4:15 Extending Zuora's Functionality to Meet Changing Business Needs
  • 5. Understanding Zuora’s API Framework Kevin Lussie Senior Solution Architect - Customer Success
  • 6. Objective page 06 You will be able to get started with using Zuora’s APIs After This Session.
  • 7. agenda for this session page 07 01background information 03 api types & categories 02 api users and authentication 04 best practices, q&a
  • 9. Callout Notifications, API Requests & Responses page 09 External System Callout Notification (1) Event in Zuora Triggers a Callout Notification (2) Receives Notification HTTP status code 200 (4) Depending on the Callout Data Send API Request: query for additional data (5) Query is processed: Sends API Response API Request API Response (3) Parses the Notification Data
  • 10. The Zuora Landscape with APIs page 010 Pay-wall (provisioning) Marketing System Financial System Data Warehouse Web PortalCRM SOAP REST Actions REST Functional REST Actions REST Functional ExportsAQuA Callouts Callouts
  • 11. Zuora Objects – How We Represent Data in Zuora page 011
  • 12. Zuora Objects – How We Represent Data in Zuora page 012
  • 17. Zuora Data Sources page 017 • Zuora Objects joined together as pre-defined collections
  • 22. API Users You must authenticate with Zuora, before using an API
  • 23. API Authentication page 023 Zuora’s APIs require the following for Authentication: • Username and Password • Session Key
  • 24. API Users page 024 • Users are created from within the Zuora UI • Users are granted: “UI Access” and/or “API Write Access” • • An API User has UI Access turned off • Create an API User Role, set as a “Platform” Role in Zuora • NOTE: If an API User account logs into the Zuora UI, • That login is subject to forced password expirations • This could result in API authentication failures
  • 28. API Authentication Options page 028 Header • apiAccessKeyId: <Login> • apiSecretAccessKey: <Password> • Authorization: ZSession <Session Key> Cookie • ZSession
  • 30. Zuora API Types & Categories page 030 • Callout Notifications • Describe API • SOAP & REST Actions • Non-CRUD (Functional) REST APIs • AQuA • Reporting
  • 31. Callout Notifications page 031 • Data is in JSON or XML format • Authentication: None, Basic, Digest & NTLM • 25 Second Timeout • 10 seconds to establish a socket connection • 15 seconds for data transfer • NOTE: Timeout Limit cannot be changed • Retry Limits • Maximum of 5 delivery retries • Maximum Number of minutes between callout attempts is 1440 (24 hours) • Functional API to retrieve Callout Histories
  • 33. Callout Notification - Example using Hookbin.com page 033 • Create a Hookbin Endpoint • Enable the Callout Notification to point to the Hookbin Endpoint • Create a New Subscription Event in Zuora • View the Callout data in Hookbin
  • 34. Callout Notification Example using Hookbin page 034
  • 35. Zuora API Types & Categories page 035 • Callout Notifications • Describe API • SOAP & REST Actions • Non-CRUD (Functional) REST APIs • AQuA • Reporting
  • 36. Describe API page 036 • Lists Fields within Zuora Objects • Shows Related Objects for Data Sources • Versioned with WSDL numbers for compatibility • https://apisandbox.zuora.com/apps/api/describe/Account • https://apisandbox.zuora.com/apps/api/84/describe/Account • GET calls return XML data by default • HTML data can be returned with “format=html” query string • https://apisandbox.zuora.com/apps/api/describe/Account?format=html
  • 37. Describe API page 037 • Lists Fields within Zuora Objects • Shows Data Source Related Objects • Versioned with WSDL numbers for compatibility • GET calls return only XML and HTML data
  • 38. Zuora API Types & Categories page 038 • Callout Notifications • Describe API • SOAP & REST Actions • Non-CRUD (Functional) REST APIs • AQuA • Reporting
  • 39. SOAP and REST Actions page 039 • SOAP & XML are the Past, REST & JSON are the Future • SOAP APIs are no longer under active development • There are no current deprecation plans, but all new features will be via REST • Mostly for CRUD (Create, Read, Update, Delete) Operations • Allows for changes of up to 50 objects at a time • Non-CRUD calls include: • BillingPreview (Generate preview of future invoice items) • Execute (Split an invoice into multiple invoices) • Generate (Generate Invoice on-demand) • Amend • Subscribe
  • 40. SOAP and REST Actions page 040 SOAP API REST Action Amend() {{endPoint}}/v1/action/amend BillingPreview() {{endPoint}}/v1/action/billingPreview Create() {{endPoint}}/v1/action/create Delete() {{endPoint}}/v1/action/delete Execute() {{endPoint}}/v1/action/execute Generate() {{endPoint}}/v1/action/generate Login() {{endPoint}}/v1/action/login Query() {{endPoint}}/v1/action/query QueryMore() {{endPoint}}/v1/action/queryMore Subscribe() {{endPoint}}/v1/action/subscribe Update() {{endPoint}}/v1/action/update
  • 41. Non-CRUD REST API Categories page 041 • Billing • Accounts • Finance • Operations • Payments • Product Catalog • Subscriptions
  • 42. DataSource Exports and AQuA - Similarities page 042 • Asynchronous Data Source Queries • Submit Query, Wait for Notification or poll job_ID status • Download file upon completion • Both work with the pre-joined DataSources • Allow for data to be encrypted • Allow for data to be compressed • Event Callout Notifications upon completion
  • 43. DataSource Exports and AQuA - Differences page 043 Exports • Allows for output in CSV and Excel Format AQuA – Aggregate Query API • Allows for output only in CSV Format • Using Stateful queries allow for: • Only get data that was updated since the last query. • Export Deleted Objects since the last query • AQuA results older than 72 hours are purged automatically • Allows for data to be encrypted • Event Callout Notification Upon Completion
  • 44. Reports API page 044 • Get Last Completed Report Run • Get Report Data • Export Report Run • Run a Report • Cancel a Report Run • Search by Report Name • Get Reports by Label • Get Report Details • Get Report by ID • Get Report Details by Label • Copy a Report and Assign Labels • Get Report Labels for ReportID • Create a Report and Assign Labels • Delete a Report • Label or Unlabel a Report • Save a Report • Get Tenant Settings • Update Tenant Settings
  • 45. API Endpoints page 045 Type Base / AQuA Rest Reporting Sandbox https://apisandbox.zuora.com https://rest.apisandbox.zuora.com https://zconnectsandbox.zuora.com Performance https://pt1.zuora.com https://rest.pt1.zuora.com https://zconnectpt1.zuora.com Services* https://servicesXXX.zuora.com https://servicesXXX.zuora.com/app/ N/A** Production https://www.zuora.com https://rest.zuora.com https://zconnect.zuora.com *At this time, Only Legacy RESTworks in the services environment. (No REST Actions) **ZConnect (Reports API) does not yet work in services environments
  • 47. API Best Practices page 047 • Keep a log of API Requests & Responses with their timestamps. • Review the Callout Notification log for errors • Create separate API Users for each integrated system • Every Month Check the Zuora Release Notes for changes & enhancements to APIs • Perform Negative testing to validate Error Handling
  • 49. Definitions page 049 API - Application Programming Interface - Set of clearly defined methods of communication between various software components. A Zuora Function Notification Callout - Event-based XML calls that Zuora makes to other systems Zuora SOAP API - Simple Object Access Protocol - XML-message based protocol used for implementing web services Zuora WSDL - Zuora Web Services Definition Language - Contains definitions of the Zuora SOAP API along with custom field definitions. Zuora REST API - Representational State Transfer / RESTful Web services