SlideShare a Scribd company logo
1 of 29
Alexander Stoykovych
REST API
101
© Copyright 2000-2017 TIBCO Software Inc. 2
What are we talking about?
Then
Your app
Analytics
Consumer
Now
Embedded BI
Put answers
in context
Increase
adoption of BI
Give consumers
actionable data
© Copyright 2000-2017 TIBCO Software Inc.
What APIs does Jaspersoft have?
Not
Integrated
RESTful API iFrame
Integration
JavaScript
API
Separate portal for
reporting & analytics
Mass reporting &
administration
Integration as
separate app
Seamless, in-page
analytics
AnalyticsApplication
© Copyright 2000-2014 TIBCO Software Inc.
4
What is a RESTful API?
•http://server.com/rest_v2URL
•weather/san_franciscoServices
•PUT, POST,GET,DELETEVerbs
•JSON
•XML
Representations
REST API is an Application Programming Interface that follows the guidelines of
REpresentational State Transfer design. It communicates with the server through the
HTTP protocol. Client applications send requests to named URLs that are called
services using verbs and sending and receiving payloads in different
representations.
© Copyright 2000-2017 TIBCO Software Inc.
Fast access to All
Jasper Reports
Server functionality
© Copyright 2000-2017 TIBCO Software Inc.
Uniform interface
© Copyright 2000-2017 TIBCO Software Inc.
Big variety of client
application libraries
ready to integrate
required REST API
© Copyright 2000-2017 TIBCO Software Inc.
Security
© Copyright 2000-2017 TIBCO Software Inc.
Who is using REST API?
© Copyright 2000-2017 TIBCO Software Inc.
API is how programs communicate between each other
Inside any app
or process
Delivery
Your app
REST
API
What else can I
use Jasper
Server REST API
for?
© Copyright 2000-2017 TIBCO Software Inc.
Authentication
JRS support various ways how to authenticate to the server
Application
Authenticate using Pre-Authentication Token
HTTP Basic Authentication
Login service which returns Session ID
Login using SSO Token
© Copyright 2000-2017 TIBCO Software Inc.
Repository resources
Resource creation: reports, folders, files, etc.
Resource update
Resource removal
Set and update permissions
Import and Export Resources
Run reports and generate output files
Schedule Report execution
Access to all repository resources
© Copyright 2000-2017 TIBCO Software Inc.
Multi Tenant Environment
Manage (create/update/remove) Organizations, Users, Roles
Set Profile Attributes
State = CA State = NV State = WA
Which service
to start with?
Demo Topics. 3 common use cases
Search Repository Object
Run Report
Schedule Report Execution
© Copyright 2000-2017 TIBCO Software Inc.
REST Client Postman
Demo
© Copyright 2000-2017 TIBCO Software Inc.
Search Repository
http://localhost:8080/jasperserver-
pro/rest_v2/resources?type=reportUnit&folderUri=/publi
c&q=Account {
"resourceLookup": [
{
"version": 0,
"permissionMask": 1,
"creationDate": "2017-04-28T16:06:12",
"updateDate": "2013-10-03T16:17:06",
"label": "05g. Accounts Report",
"description": "Basic interactive Table
Component report with alternate color scheme.",
"uri":
"/public/Samples/Reports/5g.AccountsReport",
"resourceType": "reportUnit"
}
...
}
© Copyright 2000-2017 TIBCO Software Inc.
Run a report in two ways
Synchronously
Asynchronously
Run
Generate
Download
Change
Report Options
Check Status
Download
Generate
Run
© Copyright 2000-2017 TIBCO Software Inc.
Run a report
Synchronously
http://localhost:8080/jasperserver-pro/rest_v2/reports
/public/Samples/Reports/5g.AccountsReport.pdf
© Copyright 2000-2017 TIBCO Software Inc.
Run a report
Asynchronously
Method: POST
{
"status": "ready",
"totalPages": 46,
"requestId": "b619fbd2-c40e-4138-945b-10a3d8a37b63”,
"reportURI": "/public/Samples/Reports/5g.AccountsReport"
}
http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions
Content-Type: application/json
Body:
{“reportUnitUri” : “/public/Samples/Reports/5g.AccountReport”}
© Copyright 2000-2017 TIBCO Software Inc.
Asynchronously generate export file
http://localhost:8080/jasperserver-
pro/rest_v2/reportExecutions/b619fbd2-c40e-4138-945b-
10a3d8a37b63
Method: GET
{
"status": "ready",
"totalPages": 46,
"requestId": "d60427b0-0df7-4e73-bec4-91251e31708f",
"reportURI": "/public/Samples/Reports/5g.AccountsReport",
"exports": [
{
"id": "239c0187-bed9-4840-8d72-598845db802d",
"status": "ready",
"outputResource": {
"contentType": "application/pdf",
"fileName": "5g.AccountsReport.pdf",
…
© Copyright 2000-2017 TIBCO Software Inc.
Asynchronously download the output file
http://localhost:8080/jasperserver-
pro/rest_v2/reportExecutions/b619fbd2-c40e-4138-945b-
10a3d8a37b63/exports/239c0187-bed9-4840-8d72-
598845db802d/outputResource
Method: GET
© Copyright 2000-2017 TIBCO Software Inc.
Schedule a report
http://localhost:8080/jasperserv
er-pro/rest_v2/jobs/
Method: PUT
Schedule a report to be executed twice and every 1 minute
Body {…}
© Copyright 2000-2017 TIBCO Software Inc.
Scheduler capabilities
• Search for a particular job
• Get job by it’s id
• Check the job status
• Edit job definition
• Update jobs in Bulk
• Pausing, Resuming, Restarting failed jobs
• Delete jobs
Today we learned how to
Search Repository Object
Run Report
Schedule Report Execution
© Copyright 2000-2017 TIBCO Software Inc.
Thank you!
Questions?

More Related Content

What's hot

OPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATIONOPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATION
SUMIT KUMAR
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2
dejavee
 

What's hot (20)

Building an IoT Monitoring App with InfluxDB and LoRa
Building an IoT Monitoring App with InfluxDB and LoRaBuilding an IoT Monitoring App with InfluxDB and LoRa
Building an IoT Monitoring App with InfluxDB and LoRa
 
Open Source Reporting Tool Comparison
Open Source Reporting Tool ComparisonOpen Source Reporting Tool Comparison
Open Source Reporting Tool Comparison
 
Alfresco 4.0 en français
Alfresco 4.0 en françaisAlfresco 4.0 en français
Alfresco 4.0 en français
 
End-to-end Streaming Between gRPC Services Via Kafka with John Fallows
End-to-end Streaming Between gRPC Services Via Kafka with John FallowsEnd-to-end Streaming Between gRPC Services Via Kafka with John Fallows
End-to-end Streaming Between gRPC Services Via Kafka with John Fallows
 
OPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATIONOPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATION
 
AWS Batch: Simplifying Batch Computing in the Cloud
AWS Batch: Simplifying Batch Computing in the CloudAWS Batch: Simplifying Batch Computing in the Cloud
AWS Batch: Simplifying Batch Computing in the Cloud
 
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
 
Why Splunk Chose Pulsar_Karthik Ramasamy
Why Splunk Chose Pulsar_Karthik RamasamyWhy Splunk Chose Pulsar_Karthik Ramasamy
Why Splunk Chose Pulsar_Karthik Ramasamy
 
2016 06 - design your api management strategy - axway - Api Management
2016 06 - design your api management strategy - axway - Api Management2016 06 - design your api management strategy - axway - Api Management
2016 06 - design your api management strategy - axway - Api Management
 
Sap Cloud Migration
Sap Cloud MigrationSap Cloud Migration
Sap Cloud Migration
 
When NOT to use Apache Kafka?
When NOT to use Apache Kafka?When NOT to use Apache Kafka?
When NOT to use Apache Kafka?
 
Build and run an sql data warehouse on sap hana
Build and run an sql data warehouse on sap hanaBuild and run an sql data warehouse on sap hana
Build and run an sql data warehouse on sap hana
 
Flink in Zalando's World of Microservices
Flink in Zalando's World of Microservices  Flink in Zalando's World of Microservices
Flink in Zalando's World of Microservices
 
카프카, 산전수전 노하우
카프카, 산전수전 노하우카프카, 산전수전 노하우
카프카, 산전수전 노하우
 
Analysis process designer (apd) part 2
Analysis process designer (apd) part   2Analysis process designer (apd) part   2
Analysis process designer (apd) part 2
 
Apache Flink 101 - the rise of stream processing and beyond
Apache Flink 101 - the rise of stream processing and beyondApache Flink 101 - the rise of stream processing and beyond
Apache Flink 101 - the rise of stream processing and beyond
 
Webinar "Alfresco en une heure"
Webinar "Alfresco en une heure"Webinar "Alfresco en une heure"
Webinar "Alfresco en une heure"
 
Webinar "La plateforme Alfresco"
Webinar "La plateforme Alfresco"Webinar "La plateforme Alfresco"
Webinar "La plateforme Alfresco"
 
Apache Kafka Best Practices
Apache Kafka Best PracticesApache Kafka Best Practices
Apache Kafka Best Practices
 
SAP BW/4HANA - The Intelligent Enterprise Data Warehouse
SAP BW/4HANA - The Intelligent Enterprise Data WarehouseSAP BW/4HANA - The Intelligent Enterprise Data Warehouse
SAP BW/4HANA - The Intelligent Enterprise Data Warehouse
 

Similar to Back to [Jaspersoft] Basics: Rest API 101

Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptxTransform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
kmani5
 
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).pptTransform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
HusseinWassof
 
A great api is hard to find
A great api is hard to findA great api is hard to find
A great api is hard to find
Dan Diephouse
 

Similar to Back to [Jaspersoft] Basics: Rest API 101 (20)

Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptxTransform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx
 
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).pptTransform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
Transform-to-Smart-ERP-using-Custom-Mobile-Apps.pptx (3).ppt
 
JASPERSOFT LIVE DEMO - NAM
JASPERSOFT LIVE DEMO - NAMJASPERSOFT LIVE DEMO - NAM
JASPERSOFT LIVE DEMO - NAM
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
Microservices on AWS: Divide & Conquer for Agility and Scalability
Microservices on AWS: Divide & Conquer for Agility and ScalabilityMicroservices on AWS: Divide & Conquer for Agility and Scalability
Microservices on AWS: Divide & Conquer for Agility and Scalability
 
Back to [Jaspersoft] basics: visualize.js 101
Back to [Jaspersoft] basics: visualize.js 101Back to [Jaspersoft] basics: visualize.js 101
Back to [Jaspersoft] basics: visualize.js 101
 
Microservices on AWS: Divide & Conquer for Agility and Scalability
 Microservices on AWS: Divide & Conquer for Agility and Scalability Microservices on AWS: Divide & Conquer for Agility and Scalability
Microservices on AWS: Divide & Conquer for Agility and Scalability
 
A great api is hard to find
A great api is hard to findA great api is hard to find
A great api is hard to find
 
Taking Control of Your Future: Own Your Service Platforms
Taking Control of Your Future: Own Your Service PlatformsTaking Control of Your Future: Own Your Service Platforms
Taking Control of Your Future: Own Your Service Platforms
 
z/OS Connect - Overview at the "z Systems Agile Enterprise Development Confer...
z/OS Connect - Overview at the "z Systems Agile Enterprise Development Confer...z/OS Connect - Overview at the "z Systems Agile Enterprise Development Confer...
z/OS Connect - Overview at the "z Systems Agile Enterprise Development Confer...
 
Enterprise summit – architecting microservices on aws final v2
Enterprise summit – architecting microservices on aws   final v2Enterprise summit – architecting microservices on aws   final v2
Enterprise summit – architecting microservices on aws final v2
 
Open Architecture for Developing Multitenant Software-as-a-Service Applications
Open Architecture for Developing Multitenant Software-as-a-Service ApplicationsOpen Architecture for Developing Multitenant Software-as-a-Service Applications
Open Architecture for Developing Multitenant Software-as-a-Service Applications
 
Spring Boot & Spring Cloud on Pivotal Application Service
Spring Boot & Spring Cloud on Pivotal Application ServiceSpring Boot & Spring Cloud on Pivotal Application Service
Spring Boot & Spring Cloud on Pivotal Application Service
 
shiv_chandra_pathak
shiv_chandra_pathakshiv_chandra_pathak
shiv_chandra_pathak
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
Open API and API Management - Introduction and Comparison of Products: TIBCO ...Open API and API Management - Introduction and Comparison of Products: TIBCO ...
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
 
Divide and conquer for agility and scalability: An introduction to Microservices
Divide and conquer for agility and scalability: An introduction to MicroservicesDivide and conquer for agility and scalability: An introduction to Microservices
Divide and conquer for agility and scalability: An introduction to Microservices
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
 
Service Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitectureService Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices Architecture
 
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
Granite state #spug The #microsoftGraph and #SPFx on steroids with #AzureFunc...
 

More from TIBCO Jaspersoft

More from TIBCO Jaspersoft (20)

Managing the Experience + Ad Hoc Reporting
Managing the Experience + Ad Hoc ReportingManaging the Experience + Ad Hoc Reporting
Managing the Experience + Ad Hoc Reporting
 
How to Design Reports and Data Visualizations Your Users Love
How to Design Reports and Data Visualizations Your Users LoveHow to Design Reports and Data Visualizations Your Users Love
How to Design Reports and Data Visualizations Your Users Love
 
Back to Basics: Data Integration and Virtualisation 101
Back to Basics: Data Integration and Virtualisation 101  Back to Basics: Data Integration and Virtualisation 101
Back to Basics: Data Integration and Virtualisation 101
 
Back to Basics: Embedded Analytics 101
Back to Basics: Embedded Analytics 101Back to Basics: Embedded Analytics 101
Back to Basics: Embedded Analytics 101
 
Back to Basics: Dashboards 101
Back to Basics: Dashboards 101Back to Basics: Dashboards 101
Back to Basics: Dashboards 101
 
Back to Basics: Reporting 101
Back to Basics: Reporting 101Back to Basics: Reporting 101
Back to Basics: Reporting 101
 
Best practices: embedding interactive reports & visualizations in your app
Best practices: embedding interactive reports & visualizations in your appBest practices: embedding interactive reports & visualizations in your app
Best practices: embedding interactive reports & visualizations in your app
 
Getting Started: How to Set Up Your "Data as a Feature" Project
Getting Started: How to Set Up Your "Data as a Feature" ProjectGetting Started: How to Set Up Your "Data as a Feature" Project
Getting Started: How to Set Up Your "Data as a Feature" Project
 
Build Answer-generating Apps that Users Love: Development best practices for ...
Build Answer-generating Apps that Users Love: Development best practices for ...Build Answer-generating Apps that Users Love: Development best practices for ...
Build Answer-generating Apps that Users Love: Development best practices for ...
 
Introducing TIBCO Jaspersoft 7.2
Introducing TIBCO Jaspersoft 7.2Introducing TIBCO Jaspersoft 7.2
Introducing TIBCO Jaspersoft 7.2
 
Easy Data Integrations Tips for High-Value Reporting
Easy Data Integrations Tips for High-Value ReportingEasy Data Integrations Tips for High-Value Reporting
Easy Data Integrations Tips for High-Value Reporting
 
Community or Commercial: Which Edition of JasperSoft is Right For You?
Community or Commercial: Which Edition of JasperSoft is Right For You?Community or Commercial: Which Edition of JasperSoft is Right For You?
Community or Commercial: Which Edition of JasperSoft is Right For You?
 
Throwing IoT in the Trash (literally) - How sensor data, analytics, and AWS c...
Throwing IoT in the Trash (literally) - How sensor data, analytics, and AWS c...Throwing IoT in the Trash (literally) - How sensor data, analytics, and AWS c...
Throwing IoT in the Trash (literally) - How sensor data, analytics, and AWS c...
 
Embedding Reports & Data Visualizations into Applications: JasperReports IO T...
Embedding Reports & Data Visualizations into Applications: JasperReports IO T...Embedding Reports & Data Visualizations into Applications: JasperReports IO T...
Embedding Reports & Data Visualizations into Applications: JasperReports IO T...
 
PART 2: Producing reports & data visualizations with JasperReports IO
PART 2: Producing reports & data visualizations with JasperReports IOPART 2: Producing reports & data visualizations with JasperReports IO
PART 2: Producing reports & data visualizations with JasperReports IO
 
How Analytic Solutions Drive Real-world Change (Interesting Use Cases)
How Analytic Solutions Drive Real-world Change (Interesting Use Cases)How Analytic Solutions Drive Real-world Change (Interesting Use Cases)
How Analytic Solutions Drive Real-world Change (Interesting Use Cases)
 
PART 1: Intro To JasperReports IO And How To Build Your First Report
PART 1: Intro To JasperReports IO And How To Build Your First ReportPART 1: Intro To JasperReports IO And How To Build Your First Report
PART 1: Intro To JasperReports IO And How To Build Your First Report
 
Make Your Reports Over the Counter
Make Your Reports Over the CounterMake Your Reports Over the Counter
Make Your Reports Over the Counter
 
Fundamentals of Ad Hoc Reporting: Create a beautiful report-building oasis fo...
Fundamentals of Ad Hoc Reporting: Create a beautiful report-building oasis fo...Fundamentals of Ad Hoc Reporting: Create a beautiful report-building oasis fo...
Fundamentals of Ad Hoc Reporting: Create a beautiful report-building oasis fo...
 
Upgrading to TIBCO Jaspersoft 7 with The Customer Success Team
Upgrading to TIBCO Jaspersoft 7 with The Customer Success TeamUpgrading to TIBCO Jaspersoft 7 with The Customer Success Team
Upgrading to TIBCO Jaspersoft 7 with The Customer Success Team
 

Recently uploaded

Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 

Recently uploaded (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 

Back to [Jaspersoft] Basics: Rest API 101

  • 2. © Copyright 2000-2017 TIBCO Software Inc. 2 What are we talking about? Then Your app Analytics Consumer Now Embedded BI Put answers in context Increase adoption of BI Give consumers actionable data
  • 3. © Copyright 2000-2017 TIBCO Software Inc. What APIs does Jaspersoft have? Not Integrated RESTful API iFrame Integration JavaScript API Separate portal for reporting & analytics Mass reporting & administration Integration as separate app Seamless, in-page analytics AnalyticsApplication
  • 4. © Copyright 2000-2014 TIBCO Software Inc. 4 What is a RESTful API? •http://server.com/rest_v2URL •weather/san_franciscoServices •PUT, POST,GET,DELETEVerbs •JSON •XML Representations REST API is an Application Programming Interface that follows the guidelines of REpresentational State Transfer design. It communicates with the server through the HTTP protocol. Client applications send requests to named URLs that are called services using verbs and sending and receiving payloads in different representations.
  • 5. © Copyright 2000-2017 TIBCO Software Inc.
  • 6. Fast access to All Jasper Reports Server functionality © Copyright 2000-2017 TIBCO Software Inc.
  • 7. Uniform interface © Copyright 2000-2017 TIBCO Software Inc.
  • 8. Big variety of client application libraries ready to integrate required REST API © Copyright 2000-2017 TIBCO Software Inc.
  • 9. Security © Copyright 2000-2017 TIBCO Software Inc.
  • 10. Who is using REST API? © Copyright 2000-2017 TIBCO Software Inc. API is how programs communicate between each other Inside any app or process Delivery Your app REST API
  • 11. What else can I use Jasper Server REST API for?
  • 12. © Copyright 2000-2017 TIBCO Software Inc. Authentication JRS support various ways how to authenticate to the server Application Authenticate using Pre-Authentication Token HTTP Basic Authentication Login service which returns Session ID Login using SSO Token
  • 13. © Copyright 2000-2017 TIBCO Software Inc. Repository resources Resource creation: reports, folders, files, etc. Resource update Resource removal Set and update permissions Import and Export Resources Run reports and generate output files Schedule Report execution Access to all repository resources
  • 14. © Copyright 2000-2017 TIBCO Software Inc. Multi Tenant Environment Manage (create/update/remove) Organizations, Users, Roles Set Profile Attributes State = CA State = NV State = WA
  • 16. Demo Topics. 3 common use cases Search Repository Object Run Report Schedule Report Execution
  • 17. © Copyright 2000-2017 TIBCO Software Inc. REST Client Postman
  • 18. Demo
  • 19. © Copyright 2000-2017 TIBCO Software Inc. Search Repository http://localhost:8080/jasperserver- pro/rest_v2/resources?type=reportUnit&folderUri=/publi c&q=Account { "resourceLookup": [ { "version": 0, "permissionMask": 1, "creationDate": "2017-04-28T16:06:12", "updateDate": "2013-10-03T16:17:06", "label": "05g. Accounts Report", "description": "Basic interactive Table Component report with alternate color scheme.", "uri": "/public/Samples/Reports/5g.AccountsReport", "resourceType": "reportUnit" } ... }
  • 20. © Copyright 2000-2017 TIBCO Software Inc. Run a report in two ways Synchronously Asynchronously Run Generate Download Change Report Options Check Status Download Generate Run
  • 21. © Copyright 2000-2017 TIBCO Software Inc. Run a report Synchronously http://localhost:8080/jasperserver-pro/rest_v2/reports /public/Samples/Reports/5g.AccountsReport.pdf
  • 22. © Copyright 2000-2017 TIBCO Software Inc. Run a report Asynchronously Method: POST { "status": "ready", "totalPages": 46, "requestId": "b619fbd2-c40e-4138-945b-10a3d8a37b63”, "reportURI": "/public/Samples/Reports/5g.AccountsReport" } http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions Content-Type: application/json Body: {“reportUnitUri” : “/public/Samples/Reports/5g.AccountReport”}
  • 23. © Copyright 2000-2017 TIBCO Software Inc. Asynchronously generate export file http://localhost:8080/jasperserver- pro/rest_v2/reportExecutions/b619fbd2-c40e-4138-945b- 10a3d8a37b63 Method: GET { "status": "ready", "totalPages": 46, "requestId": "d60427b0-0df7-4e73-bec4-91251e31708f", "reportURI": "/public/Samples/Reports/5g.AccountsReport", "exports": [ { "id": "239c0187-bed9-4840-8d72-598845db802d", "status": "ready", "outputResource": { "contentType": "application/pdf", "fileName": "5g.AccountsReport.pdf", …
  • 24. © Copyright 2000-2017 TIBCO Software Inc. Asynchronously download the output file http://localhost:8080/jasperserver- pro/rest_v2/reportExecutions/b619fbd2-c40e-4138-945b- 10a3d8a37b63/exports/239c0187-bed9-4840-8d72- 598845db802d/outputResource Method: GET
  • 25. © Copyright 2000-2017 TIBCO Software Inc. Schedule a report http://localhost:8080/jasperserv er-pro/rest_v2/jobs/ Method: PUT Schedule a report to be executed twice and every 1 minute Body {…}
  • 26. © Copyright 2000-2017 TIBCO Software Inc. Scheduler capabilities • Search for a particular job • Get job by it’s id • Check the job status • Edit job definition • Update jobs in Bulk • Pausing, Resuming, Restarting failed jobs • Delete jobs
  • 27. Today we learned how to Search Repository Object Run Report Schedule Report Execution
  • 28. © Copyright 2000-2017 TIBCO Software Inc. Thank you!

Editor's Notes

  1. A listener watches for an event to be fired.
  2. A listener watches for an event to be fired.
  3. A listener watches for an event to be fired.
  4. A listener watches for an event to be fired.
  5. A listener watches for an event to be fired.
  6. A listener watches for an event to be fired.
  7. Maybe don’t show this slide.
  8. Alright so now that we’ve got that introduction, let’s talk about visualize.js. First thing’s first, what is it?
  9. Answer the question why this is important for our customers? Also we have a log out service. We can cover this in questions section.
  10. Do I need to explain repository?
  11. Why do we need this Profile Attributes and What’s MT ? Thus each user running the same reprot can see different data.
  12. That leads us to our next question: why should my company care about visualize.js?
  13. Демо (не Дімо)
  14. Демо (не Дімо)
  15. Демо (не Дімо)