api-business-manager/customer-delay-detail

https://crm.muniubox.com/api-business-manager/customer-delay-detail

客户详情获取 (附带延期原因,只有延期审批中的客户可以使用该接口) 作者 zhangzhi


'/**
     * 客户详情获取 (附带延期原因,只有延期审批中的客户可以使用该接口)
     * @author zhangzhi
     * @param string $token 用户Token
     * @param string $rec 客户ID
     * @return array|string : json
     */'

请求参数列表:

返回数据格式: [
    
'status' => '状态码(200:成功,其他:失败)'
    'data' 
=> [
        
'customer_code' => '客户编码'
        'consulting_consulting_business_name' 
=> '咨询业务'
        'source_name' 
=> '信息来源'
        'legal_person_name' 
=> '法人姓名'
        'legal_person_mobile' 
=> '法人联系电话'
        'legal_person_certid' 
=> '法人身份证号'
        'remark' 
=> '备注'
        'area_name' 
=> '地区'
        'customer_contact_list' 
=> [
            
'联系人信息列表项' => [
                
'contact_name' => '联系人名称'
                'contact_mobile' 
=> '联系电话'
                'qq' 
=> '联系QQ'
                'wechat' 
=> '联系微信'
                'company_list' 
=> [
                    
'公司列表项' => [
                        
'company_rec' => '公司项标识'
                        'company_name' 
=> '公司名称'
                        'area_name' 
=> '公司地区'
                        'county_id' 
=> '城市id'
                        'area_county_id' 
=> '区县id'
                    
]
                ]
                
'contact_rec' => '联系人标识'
            
]
        ]
        
'customer_chance_list' => [
            
'业务机会列表项' => [
                
'chance_rec' => '业务机会标识'
                'business_type_name' 
=> '业务需求名称'
                'price' 
=> '报价'
                'contact_company_name' 
=> '公司名称'
                'company_rec' 
=> '公司标识'
                'intend_name' 
=> '成单意愿'
                'intend_id' 
=> '成单意愿id'
                'contactList' 
=> [
                    
'联系人信息列表项' => [
                        
'contact_rec' => '联系人标识'
                        'contact_name' 
=> '联系人名称'
                    
]
                ]
            ]
        ]
        
'follow_up_list' => [
            
'跟进列表项' => [
                
'this_time' => '跟进时间'
                'created_by' 
=> '商务负责人'
                'contact_name' 
=> '联系人名称'
                'follow_up_type_name' 
=> '跟进方式'
                'business_chance_name' 
=> '联系业务名称'
                'price' 
=> '报价'
                'remark' 
=> '注释'
                'next_time' 
=> '下次跟进时间'
            
]
        ]
        
'op_log_list' => [
            
'操作日志列表项' => [
                
0 => '操作内容'
                
1 => '操作人'
                
2 => '操作日期'
            
]
        ]
        
'extra' => [
            
'created_by' => '创建人'
            'created_at' 
=> '发起时间'
            'delay_days' 
=> '延期天数'
            'delay_reason' 
=> '延期原因'
        
]
    ]
    
'code' => '提示信息代码'
    'name' 
=> '提示信息标题'
    'message' 
=> '提示信息内容'
]

返回数据: