📄自訂欄位主分類

所有動態欄位分類

GET https://{API_HOST}/api/v1/cz-col-category

type

類型

0

客戶自訂欄位

1

客戶自訂表格

2

工單自訂欄位

3

工單自訂表格

Response

PROPERTY

TYPE

DESCRIPTION

data

Array of objects

meta

Object

頁籤資料

{
    "data": [
        {
            "id": 1,
            "name": "SF",
            "type": 0,
            "description": null,
            "cols": [
                {
                    "id": 1,
                    "name": "唯一碼",
                    "description": null,
                    "is_allowed_null": true,
                    "default": null,
                    "type": 1,
                    "options": null,
                    "category_id": 1,
                    "creater_id": null
                },
                {
                    "id": 2,
                    "name": "TESTCLICK__C",
                    "description": null,
                    "is_allowed_null": true,
                    "default": null,
                    "type": 2,
                    "options": null,
                    "category_id": 1,
                    "creater_id": null
                }
            ],
            "creater_id": null,
            "creater": null
        },
        {
            "id": 2,
            "name": "其他",
            "type": 0,
            "description": null,
            "cols": [
                {
                    "id": 3,
                    "name": "勿擾",
                    "description": null,
                    "is_allowed_null": true,
                    "default": null,
                    "type": 2,
                    "options": null,
                    "category_id": 2,
                    "creater_id": null
                },
                {
                    "id": 4,
                    "name": "最後活動日期",
                    "description": null,
                    "is_allowed_null": true,
                    "default": null,
                    "type": 1,
                    "options": null,
                    "category_id": 2,
                    "creater_id": null
                }
            ],
            "creater_id": null,
            "creater": null
        }
    ],
    "links": {
        "first": "https://firstline.localhost/api/cz-col-category?page=1",
        "last": "https://firstline.localhost/api/cz-col-category?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://firstline.localhost/api/cz-col-category",
        "per_page": 15,
        "to": 2,
        "total": 2
    }
}

此客戶/工單所擁有自訂欄位

根據下方的 Query Parameters 表單的參數進行過濾篩選。

Query Parameters

PARAMETER

REQUIRED

DEFAULT

TYPE

DESCRIPTION

contact

true

NULL

Number

客戶 的 id

Response

請參考動態欄位回應格式。

Last updated