Difference between revisions of "Documentation API Webservices"

From InfiniteERP Wiki
Jump to: navigation, search
(Created page with "== Otentikasi == Sebelum mengakses API, Anda perlu melakukan otentikasi dengan mengirimkan header Authorization yang berisi kredensial Basic auth (user dan password) dalam fo...")
 
(Sales Order Management)
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
<pre>
 
<pre>
 
Authorization: Basic YWRtaW46cGFzc3dvcmQ=
 
Authorization: Basic YWRtaW46cGFzc3dvcmQ=
<pre>
+
</pre>
  
 
== Endpoint ==
 
== Endpoint ==
 
=== Sales Order Management ===
 
=== Sales Order Management ===
==== Order Header ====
 
Deskripsi singkat tentang endpoint 1.
 
  
Method: POST/GET/PUT/DELETE
+
[[API Sales Order]]
Path: /path/endpoint1
 
Query Parameters (jika ada):
 
parameter1: deskripsi parameter1
 
parameter2: deskripsi parameter2
 
Request Body (jika ada):
 
<pre>
 
{
 
    "property1": "nilai1",
 
    "property2": "nilai2"
 
}
 
<pre>
 
  
 
=== Warehouse Management ===
 
=== Warehouse Management ===

Latest revision as of 19:50, 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

API Sales Order

Warehouse Management

Warehouse Stock