Get_base_currency
Testing Env
https://taccounting.vodoerp.com
Testing Env
https://taccounting.vodoerp.com
GET
/api/v4/currency/get_base_currency
Last modified:2025-04-06 12:28:16
Get Base Currency
The response is a JSON object with the following schema:
{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"uuid": {
"type": "string"
},
"template_currency_id": {
"type": "integer"
},
"business_id": {
"type": "integer"
},
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"symbol": {
"type": "string"
},
"decimal_places": {
"type": ["integer", "null"]
},
"type": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": ["id", "uuid", "template_currency_id", "business_id", "code", "name", "symbol", "type", "created_at", "updated_at"]
}
},
"required": ["status", "message", "data"]
}
{
"status": true,
"message": "",
"data": {
"id": 0,
"uuid": "",
"template_currency_id": 0,
"business_id": 0,
"code": "",
"name": "",
"symbol": "",
"decimal_places": null,
"type": "",
"created_at": "",
"updated_at": ""
}
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://taccounting.vodoerp.com/api/v4/currency/get_base_currency' \
--header 'secure-business-key: 14807664478836358b0.31329842' \
--header 'Accept-Language: ar' \
--header 'apikey: efe2db322a53' \
--header 'platform-key: 123456789' \
--header 'platform: web'
Response Response Example
{
"status": true,
"message": "done",
"data": {
"id": 216,
"uuid": "",
"template_currency_id": 126,
"business_id": 256,
"code": "SAR",
"name": "Saudi Riyal",
"symbol": "﷼",
"decimal_places": null,
"type": "0",
"created_at": "2024-05-15T08:55:52.000000Z",
"updated_at": "2024-05-15T08:55:52.000000Z"
}
}
Request
Header Params
secure-business-key
string
required
Example:
14807664478836358b0.31329842
Accept-Language
string
required
Example:
ar
apikey
string
required
Example:
efe2db322a53
platform-key
string
required
Example:
123456789
platform
string
required
Example:
web
Body Params multipart/form-data
object {0}