Skip to content

Get companies

Description

取得公司列表。

Resource

GET /manager/v1/basic/companies

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。 僅限益欣內部使用(company_id = '24436074')

Query Parameters

Request Example

GET /manager/v1/basic/companies

Response Body Example

Status-Code: 200

{
    "companies": [
        {
            "id": "0000",
            "name": "六角"
        },
        {
            "id": "01",
            "name": "主打類"
        },
        {
            "id": "0123456789",
            "name": "益欣掃碼前結demo公司"
        }
    ]

}