应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 是 | 获取CRM主数据的接口访问权限 | 调试 |
第三方企业应用 | 是 | 获取CRM主数据的接口访问权限 | 调试 |
第三方个人应用 | 否 | — | — |
curl --location --request POST 'https://oapi.dingtalk.com/topapi/crm/objectmeta/contact/describe?access_token=dc73axxxx'
{
"errcode": 0,
"result": {
"code": "PROC-BE4CAC90-CBAD-4CFA-A1FF-0137752E9DC0",
"customized": false,
"fields": [
{
"customized": false,
"label": "客户",
"name": "contact_related_customer",
"nillable": false,
"quote": true,
"reference_fields": [
{
"label": "客户名称",
"name": "customer_name",
"nillable": false,
"type": "Text"
}
],
"reference_to": "crm_customer",
"type": "Lookup"
},
{
"customized": false,
"label": "姓名",
"name": "contact_name",
"nillable": false,
"type": "Text"
},
{
"customized": false,
"label": "职位",
"name": "contact_position",
"nillable": true,
"select_options": [
{
"key": "option_1",
"value": "老板"
},
{
"key": "option_2",
"value": "销售"
},
{
"key": "option_3",
"value": "财务"
},
{
"key": "option_4",
"value": "业务员"
},
{
"key": "option_5",
"value": "采购"
},
{
"key": "option_6",
"value": "其他"
}
],
"type": "MultiSelect"
},
{
"customized": false,
"label": "手机号",
"name": "contact_phone",
"nillable": true,
"type": "Phone"
},
{
"customized": true,
"label": "职位",
"name": "TextField-K2U5O2WM",
"nillable": true,
"type": "Text"
},
{
"customized": true,
"label": "是否关键决策人",
"name": "DDSelectField-K2U5O2WN",
"nillable": true,
"select_options": [
{
"key": "option_K2U5SQDW",
"value": "是"
},
{
"key": "option_K2UFNHU5",
"value": "否"
}
],
"type": "Select"
},
{
"customized": true,
"label": "邮箱",
"name": "TextField-K55DPXC9",
"nillable": true,
"type": "Text"
},
{
"customized": true,
"label": "备注",
"name": "TextareaField-K2UG1B59",
"nillable": true,
"type": "Textarea"
}
],
"name": "crm_contact",
"status": "PUBLISHED"
},
"request_id": "p4lhhrebsoj9"
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通