Epicor Kinetic REST API Services Overview.pptx

PiyushKhalate2 313 views 22 slides Jul 22, 2024
Slide 1
Slide 1 of 22
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22

About This Presentation

Epicor REST API Overview


Slide Content

Epicor REST API Introduction

Agenda for Today’s Discussion

Introduction to Epicor REST Services

Kinetic REST Overview

Introduction to Epicor REST Services Through REST API, services link applications more easily through internet-type connections. REST architecture considers both data and functions as web resources accessible through endpoints. These services use OData REST Protocol which adds query capabilities and metadata descriptions that enable OData-aware applications to display real-time Kinetic data. Applications can then communicate with Kinetic through REST services in the same way a web browser interacts with a website.

Configuring REST

Accessing the REST Root Directory. Common URL Format: https://[KineticServer]/[KineticInstance]/apps/resthelp/ Understanding API Versions. Creating and Configuring the API Key for v2. Prerequisites:

Using REST API Interactive Help Page.

Home Page Browse Menu Favorites User Menu Kinetic Help Page

Search Box. Service List. Business Activity Queries. Epicor Functions. The Browse Menu

User Menu

Calling Kinetic Services

The Kinetic REST Services interact with your Kinetic database. Each Kinetic service contains these main parts: OData Datasources - REST uses these datasources to display and modify the data in a format consumable by web applications. Methods - Use both standard and custom methods to access, add, and update data within the main tableset for each service.

Invoking Epicor Functions

Functions are an evolution of the existing BPM data and method directives. Function tools can make Kinetic Services into custom reusable logic you can apply to Kinetic - externally (using REST) or internally (from a BPM directive or another Function, or as a scheduled task). Functions are grouped by library. A library can be published or unpublished (for example, when being developed or updated).

Working with Kinetic REST API

Troubleshooting and Security

Understanding REST API Exceptions HTTP Error Code Name Description 403 - Forbidden UnauthorizedAccessException Access to method is disabled 400 - Bad request Microsoft.Data.OData . ODataException OData cannot process received query 403 - Forbidden Ice.Common.RecordNotFoundException Requested item is not found 409 - Conflict DuplicateRecordException There is a duplicate record shown on the client 400 - Bad request Ice.Common.BusinessObjectException There is an error in business logic. 500 - Internal server error All Other Exceptions These errors do not display on the client

Using Access Scope for additional security

Thank You !