获取商机详情
GET
/open-api/opportunity/one错误码 | 说明 |
---|---|
22201 | 未找到商机记录 |
22203 | id和serial_number至少填写一个 |
调用此接口需购买销售席位。 |
请求参数
Query 参数
serial_number
string
商机编码
id
string
商机id
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
errcode
integer
必需
errmsg
string
必需
opportunity
object
必需
bind_order_status
boolean
必需
chat_list
array[string]
必需
corp_id
string
必需
created_at
integer
必需
creator_id
integer
必需
deleted
boolean
必需
department_ext_id
string
必需
department_id
integer
必需
end_time
null
必需
eu_remark
array[string]
必需
eu_staff_relation_id
null
必需
expect_amount
integer
必需
expect_date
null
必需
fail_reason
array[string]
必需
goods_list
array[string]
必需
help_staff_list
array[string]
必需
help_user_list
array[string]
必需
id
integer
必需
name
string
必需
organization
object
必需
organization_id
integer
必需
property_list
array [object {15}]
必需
remark
string
必需
serial_number
string
必需
sku_list
array[string]
必需
staff
object
必需
staff_ext_id
string
必需
staff_id
integer
必需
stage
object
必需
stage_group_id
integer
必需
stage_group_name
string
必需
stage_id
integer
必需
stage_update_time
integer
必需
status
integer
必需
updated_at
integer
必需
user
object
必需
user_type
string
必需
示例
{
"errcode": 0,
"errmsg": "string",
"opportunity": {
"bind_order_status": true,
"chat_list": [
"string"
],
"corp_id": "string",
"created_at": 0,
"creator_id": 0,
"deleted": true,
"department_ext_id": "string",
"department_id": 0,
"end_time": null,
"eu_remark": [
"string"
],
"eu_staff_relation_id": null,
"expect_amount": 0,
"expect_date": null,
"fail_reason": [
"string"
],
"goods_list": [
"string"
],
"help_staff_list": [
"string"
],
"help_user_list": [
"string"
],
"id": 0,
"name": "string",
"organization": {
"corp_id": "string",
"created_at": 0,
"creator_id": null,
"customer_level": "string",
"deleted": true,
"id": 0,
"map_id": 0,
"name": "string",
"owner": "string",
"parent_id": 0,
"staff_ext_id": "string",
"staff_id": 0,
"tyc_id": null,
"updated_at": 0
},
"organization_id": 0,
"property_list": [
{
"corp_id": "string",
"created_at": 0,
"creator_id": null,
"deleted": true,
"enabled": true,
"field_name": "string",
"field_type": "string",
"group_id": null,
"id": 0,
"options": [
"string"
],
"property_type": "string",
"required": true,
"sort_order": 0,
"updated_at": 0,
"value": null
}
],
"remark": "string",
"serial_number": "string",
"sku_list": [
"string"
],
"staff": {
"address": null,
"alias": "string",
"avatar": "string",
"corp_id": "string",
"created_at": 0,
"email": "string",
"enable": true,
"english_name": null,
"ext_id": "string",
"extattr": "string",
"external_contact_able": true,
"external_position": null,
"external_profile": "string",
"external_user_count": 0,
"gender": 0,
"ia_authorized": true,
"ia_authorized_at": 0,
"id": 0,
"is_root": true,
"ma_authorized": true,
"ma_authorized_at": null,
"mobile": "string",
"moment_address": null,
"moment_cover": null,
"name": "string",
"new_ext_id": null,
"oa_authorized": true,
"oa_authorized_at": 0,
"openid": null,
"position": "string",
"qr_code": "string",
"signature": null,
"status": 0,
"telephone": "string",
"unionid": null,
"user_id": null,
"usertype": 0
},
"staff_ext_id": "string",
"staff_id": 0,
"stage": {
"comments": null,
"corp_id": "string",
"created_at": 0,
"creator_id": null,
"days": null,
"deleted": true,
"group_id": 0,
"id": 0,
"index": 0,
"is_end": true,
"is_start": true,
"name": "string",
"property_ids": null,
"success_rate": 0,
"updated_at": 0
},
"stage_group_id": 0,
"stage_group_name": "string",
"stage_id": 0,
"stage_update_time": 0,
"status": 0,
"updated_at": 0,
"user": {
"avatar": null,
"corp_id": "string",
"created_at": 0,
"creator_id": 0,
"deleted": true,
"ext_id": null,
"external_user_ext_id": null,
"external_user_type": null,
"gender": null,
"ia_ext_id": null,
"ia_unionid": null,
"id": 0,
"leads_id": 0,
"name": "string",
"oa_ext_id": null,
"oa_unionid": null,
"organization_correlation_time": 0,
"organization_id": 0,
"phone": "string",
"position": null,
"qw_corp_full_name": null,
"qw_corp_name": null,
"qw_external_profile": null,
"unionid": null,
"updated_at": 0
},
"user_type": "string"
}
}
最后修改时间: 9 个月前