One Unit Child
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
GET
/api/v1/one_unit_child/608
Last modified:2025-04-13 23:57:26
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | API key for authentication; contact support to obtain. Required | String |
apiconnection | appmobile | Connection type; contact support to obtain. Required | String |
secure-business-key | 140356399db2b2c32f0.25237063 | Business-specific key; contact support for valid values. Required | String |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://www.testecommerce.vodoerp.com/api/v1/one_unit_child/608' \
--header 'apikey: 5f28583f26a1a' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063'
Response Response Example
{
"status": true,
"message": "Unit Child Data",
"data": {
"id": 608,
"standard_unit_id": 66,
"name_ar": "شهر",
"name_en": "month",
"width": null,
"length": null,
"height": null,
"weight": null,
"width_unit_id": null,
"length_unit_id": null,
"height_unit_id": null,
"weight_unit_id": null,
"created_at": null,
"updated_at": null,
"standard_unit": {
"id": 66,
"name_ar": "الوقت",
"name_en": "Time",
"type": "default",
"business_id": null,
"standard_product_unit": 0,
"created_at": null,
"updated_at": null
},
"calculations_from": [
{
"id": 528,
"from_unit_child_id": 608,
"to_unit_child_id": 608,
"value": 1,
"created_at": null,
"updated_at": null
},
{
"id": 529,
"from_unit_child_id": 608,
"to_unit_child_id": 609,
"value": 4,
"created_at": null,
"updated_at": null
},
{
"id": 530,
"from_unit_child_id": 608,
"to_unit_child_id": 610,
"value": 30,
"created_at": null,
"updated_at": null
},
{
"id": 531,
"from_unit_child_id": 608,
"to_unit_child_id": 611,
"value": 720,
"created_at": null,
"updated_at": null
},
{
"id": 532,
"from_unit_child_id": 608,
"to_unit_child_id": 612,
"value": 43200,
"created_at": null,
"updated_at": null
},
{
"id": 533,
"from_unit_child_id": 608,
"to_unit_child_id": 613,
"value": 2592000,
"created_at": null,
"updated_at": null
},
{
"id": 534,
"from_unit_child_id": 608,
"to_unit_child_id": 614,
"value": 2592000000,
"created_at": null,
"updated_at": null
}
],
"calculations_to": [
{
"id": 513,
"from_unit_child_id": 606,
"to_unit_child_id": 608,
"value": 12,
"created_at": null,
"updated_at": null
},
{
"id": 521,
"from_unit_child_id": 607,
"to_unit_child_id": 608,
"value": 3,
"created_at": null,
"updated_at": null
},
{
"id": 528,
"from_unit_child_id": 608,
"to_unit_child_id": 608,
"value": 1,
"created_at": null,
"updated_at": null
}
]
}
}
Request
Header Params
apikey
string
required
Example:
5f28583f26a1a
apiconnection
string
required
Example:
appmobile
secure-business-key
string
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
140356399db2b2c32f0.25237063