Get ID of an entity related in general ledger
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Path parameters
-
id
-
type
Values are
OPENING
,MANUAL
,PURCHASE_INVOICE
,SALES_INVOICE
,SALARY_SLIP
,STOCK
,CLOSING
,SYSTEM
, orFIXED_ASSET
.
GET
/api-v1/ledger/open/module/{id}/{type}
curl \
-X GET http://wyzio.app/api-v1/ledger/open/module/{id}/{type} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
42