Skip to content

Retrieve Master Data

Xiang edited this page Nov 6, 2019 · 12 revisions

After you login the api, you can use the api token to fetch master list from simbiz. The sample nvp (name-value pair) api url as below:

http(s)://simbiz_system_url/api.php?uid=__uid__&module=__accounting__&action=__getcurrencies__&token=__apitoken__

The sample result as below:

{
"status":"OK",
"msg":"",
"data":
{
"GBP":{"currency_code":"GBP"},
"MYR":{"currency_code":"MYR"},
"SGD":{"currency_code":"SGD"},
"TWD":{"currency_code":"TWD"},
"USD":{"currency_code":"USD"}
}
}

To retrieve others info, we can substitute module and action to others parameter as below table:

moduleactiondescription
accountinggetcountriesGet list of countries
accountinggetaccountsGet list of Accounts (Account Ledger)
bpartnergetBpartnerListGet list of customers & suppliers
bpartnergetindustriesGet list of industries
bpartnergetgroupsGet list of group for business partner
inventorygetcategoriesGet list of item category
inventorygetbrandsGet list of brand
inventorygettypesGet list of item type
inventorygetuomsGet list of unit of measurement
inventorygetlocationsGet list of inventory location
inventorygetitemsGet list of product & services

Depends on situation, some API may change, and some API might required special authority which is management by simbiz. Check with customer service if you notice some API cannot retrieve required data.

Clone this wiki locally