☎️電話號碼
搜尋電話號碼
Form Data
下表為可使用的過濾條件
PARAMETER | REQUIRED | DEFAULT | TYPE | DESCRIPTION |
contact_id | false | NULL | Number | 客戶的 id (可透過 |
type | false | NULL | Number | 0: 住家, 1: 公司, 2: 手機, 3: 傳真, 4: 其他 |
number | false | NULL | String | 電話號碼 |
extension | false | NULL | String | 分機號碼 |
description | false | NULL | String | 備註 |
Response
PROPERTY | TYPE | DESCRIPTION |
data | Array of objects | |
meta | Object | Pagination meta |
取得電話號碼
URL Parameters
PARAMETER | REQUIRED | DEFAULT | TYPE | DESCRIPTION |
phone_number | true | NULL | Number | <電話號碼的id |
Response
請參考電話號碼的回應格式
PROPERTY | TYPE | DESCRIPTION |
data | Object |
新增電話號碼
Form Data
PARAMETER | REQUIRED | DEFAULT | TYPE | DESCRIPTION |
contact_id | true | NULL | Number | 客戶的 id (可透過 |
type | true | NULL | Number | 0: 住家, 1: 公司, 2: 手機, 3: 傳真, 4: 其他 |
number | true | NULL | String | 電話號碼 |
extension | false | NULL | String | 分機號碼 |
description | false | NULL | String | 備註 |
回傳 json 格式
更新電話號碼
URL Parameters
PARAMETER | REQUIRED | DEFAULT | TYPE | DESCRIPTION |
phone_number | true | NULL | Number | 電話號碼的id |
Form Data
PARAMETER | REQUIRED | DEFAULT | TYPE | DESCRIPTION |
contact_id | true | NULL | Number | 客戶的 id |
type | false | NULL | Number | 0: 住家, 1: 公司, 2: 手機, 3: 傳真, 4: 其他 |
number | false | NULL | String | 電話號碼 |
extension | false | NULL | String | 分機號碼 |
description | false | NULL | String | 備註 |
Response
請參考電話號碼的回應格式
刪除電話號碼
Http status 為 204
URL Parameters
PARAMETER | REQUIRED | DEFAULT | TYPE | DESCRIPTION |
phone_number | true | NULL | Number | 電話號碼的id |
回傳 json 格式
Last updated