Skip to main content

API Tutorials

API - content comes here....

Basic API notes

Content comes here...

How to use

Content comes here...

Custom API calls

Take care

Add this class carefully, Do not set random z-index for DIV elements.

Content comes here...

Others

My tip

Use these color codes for the particular items

Code Blocks

Markdown code blocks are supported with Syntax highlighting.

src/components/HelloDocusaurus.js
function HelloDocusaurus() {
return <h1>Hello, Docusaurus!</h1>;
}
My tip

Use this awesome feature option...

Take care

API calls content comes...

Login

Field Settings

POST company_field_settings_api

POST company_field_settings_api
{
"user_id": " User id comes here...", //eg.. 15
"company_id": "1",
"branch_id": "1",
"entity": "general_project_accounting",
"slugName": "project_accouting",
"action": "show",
"value": "true"
}

POST company_field_settings_update_api

POST company_field_settings_update_api
{
"user_id": " User id comes here...", //eg.. 15
"company_id": "1",
"branch_id": "1",
"entity": "general_project_accounting",
"slugName": "project_accouting",
"action": "show",
"value": "true"
}

POST tax_class_json_update_api

POST tax_class_json_update_api
{
"user_id": " User id comes here...", //eg.. 15
"company_id": "1",
"branch_id": "1",
"entity": "products",
"slug_name": "tax_class",
"prop_val": "salesTaxClass",
"tax_id": "9"
}

POST costtype_json_update_api

POST costtype_json_update_api
{
"user_id": " User id comes here...", //eg.. 15
"company_id": "1",
"branch_id": "1",
"entity": "manufacture_orders",
"slug_name": "cost_type",
"prop_val": "costTypeClass",
"cost_type_class_id": "2"
}

POST place_name_json_update_api

POST place_name_json_update_api
{
"user_id": " User id comes here...", //eg.. 15
"company_id": "1",
"branch_id": "1",
"entity": "sales_invoices",
"slug_name": "default_pos_state",
"prop_val": "statenameValues",
"party_id": "35"
}

POST payment_account_json_update_api

POST payment_account_json_update_api
{
"user_id": " User id comes here...", //eg.. 15
"company_id": "1",
"branch_id": "1",
"pay_acc": 77,
"entity": "sales_invoices",
"slugName": "default_paid",
"prop_val": "paymentAccountValues"
}

POST party_name_json_update_api

POST party_name_json_update_api
{
"user_id": " User id comes here...", //eg.. 15
"company_id": "1",
"branch_id": "1",
"entity": "sales_invoices",
"slug_name": "default_partyname",
"prop_val": "partynameValues",
"party_id": "3"
}

Passport Authentication

POST refresh_token_api

POST refresh_token_api
{
"refresh_token": " Token comes here...",
}

POST oauth/token

POST {{url}}oauth/token
{
"grant_type": "password",
"client_secret": "secret comes here...",
"refresh_token": "token comes here...",
"username": "username comes here...",
"password": "**********",
"client_id": "5",
"scope": ""
}