Difference between revisions of "Documentation API Webservices"

From InfiniteERP Wiki
Jump to: navigation, search
(Order Header)
(Sales Order Management)
Line 14: Line 14:
  
 
Method: POST/GET/DELETE
 
Method: POST/GET/DELETE
Path: /path/endpoint1
+
Path: https://HOST/infinite/org.openbravo.service.json.jsonrest/Order
 +
 
 
Query Parameters (jika ada):
 
Query Parameters (jika ada):
 
parameter1: deskripsi parameter1
 
parameter1: deskripsi parameter1
 
parameter2: deskripsi parameter2
 
parameter2: deskripsi parameter2
 
Request Body (jika ada):
 
Request Body (jika ada):
 +
 
<pre>
 
<pre>
 
     "property1": "nilai1",
 
     "property1": "nilai1",

Revision as of 19:44, 28 February 2023

Otentikasi

Sebelum mengakses API, Anda perlu melakukan otentikasi dengan mengirimkan header Authorization yang berisi kredensial Basic auth (user dan password) dalam format Base64.

Contoh header otentikasi:

Authorization: Basic YWRtaW46cGFzc3dvcmQ=

Endpoint

Sales Order Management

Order Header

Deskripsi singkat tentang endpoint 1.

Method: POST/GET/DELETE Path: https://HOST/infinite/org.openbravo.service.json.jsonrest/Order

Query Parameters (jika ada): parameter1: deskripsi parameter1 parameter2: deskripsi parameter2 Request Body (jika ada):

    "property1": "nilai1",
    "property2": "nilai2"

Order Lines

Order Approval

Warehouse Management

Warehouse Stock