Get Member Detail
Description
This endpoint is used to retrieve detailed information about a specific business identified by their CamInvoice ID (endpoint_id).
GET {BaseURL}/api/v1/business/{endpoint_id}
Content-Type: application/json
Authorization: Bearer {access_token}
Method
GET
Headers
- Content-Type:
application/json
- Authorization:
Bearer {access_token}
Path Parameters
Parameter | Type | Description | Required |
---|---|---|---|
endpoint_id | String | The main identifier of this entity (CamInvoice ID). (e.g. KHUID00001234). | Yes |
Response
HTTP Status 200 (OK)
{
"endpoint_id": "KHUID00001324",
"company_name_en": "Expresso Co ltd",
"company_name_kh": "អុិចសប្រេសូ",
"entity_type": "PRIVATE_SECTOR",
"entity_id": "000001234",
"tin": "K001-3333333",
"country": "KH",
}
Response Fields
Field Name | Description |
---|---|
endpoint_id | The main identifier of this entity (CamInvoice ID). (e.g. KHUID00001234). |
company_name_en | The official name of the company in English. |
company_name_kh | The official name of the company in Khmer. |
entity_type | The type of an entity that can either be private(businesses) or public sector (government) |
entity_id | For business, this is the unique ID provided by the Ministry of Commerce. For the government, this is their unique ID for their entity/department. |
tin | The Tax Identification Number (TIN) of an entity. |
country | The country code where the company is located. |
HTTP Status 404 (Not Found)
This response occurs when the specified endpoint_id does not exist.
Notes
- Ensure the client handles the retrieval and display of business details appropriately.
- The endpoint returns detailed information about a business identified by their endpoint_id.