售后服务管理系统免费试用

开放平台

获取创建客户设备字段


请求方式:

GET

请求地址:

https://api.eshouhou.cn/open/v2/Customer/GetCreateCustomerProductFields?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw

 

请求参数:

参数

类型

必填

名称

备注

serviceSpaceId

string

服务空间id


serviceNetworkId

string

服务网点id


serviceNetworkType

int

网点类型

网点类型(1总部,2网点);默认1


返回参数:

参数

类型

必填

名称

ResultCode

String

返回编码

ErrorMsg

String

返回信息

ResultValue

Array

返回对象集合


ResultValue对象:

参数

类型

必填

名称

备注

ID

string

字段id


Fields

array

字段集合

详细查看下面参数


Field对象:

参数

类型

必填

名称

备注

ID

string

字段id


Name

string

字段名称


FiledType

string

字段类型

0-10为系统默认字段:

其余为列外字段。

0:默认,1:单行文本,2:多行文本,3:纯数字,4:邮箱,5:勾选项,6:下拉框,7:日期,8:小数,9:单选列表,10:复选列表,11:客户,12:上传图片,13:产品型号(包含产品和客户设备), 14:联系人,15:产品序列号,16:所属区域,17:客户设备,20:服务项目,21:使用备件,22 客户签名,25 国家,26 编号,27 所属项目,28 选择产品(只包含产品),29 默认服务网点,30 维护人员,31 客户标签,32 国家代码,34   联系人手机号,35带有选择地图的地址,36经度,37维度,40子表格,41满意度评价,42预约服务时间,51附件,52扫码

Options

Array

单选,复选值


IsRequired

string

是否必填


ListValue

Array

下拉值


Value

string

显示值


IsShow

string

是否显示该字段



请求示例:

https://api.eshouhou.cn/open/v2/Customer/GetCreateCustomerProductFields?serviceSpaceId=6a8251ba-ce64-46b7-a505-a4e560032706&serviceNetworkId=bd7fc093-0ccf-4335-9daf-10931b4e7c7d&serviceNetworkType=1


返回成功示例:

{

    "ResultCode": 0,

    "ErrorMsg": "",

    "ResultValue": {

        "ID": "",

        "Fields": [

            {

                "ID": "Number",

                "Name": "设备编号",

                "FiledType": 26,

                "Options": [],

                "IsRequired": true,

                "Value": "{\"Key\":\"\",\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "CustomerID",

                "Name": "所属客户",

                "FiledType": 11,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":null,\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "SerialNumber1",

                "Name": "产品序列号",

                "FiledType": 15,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":\"\",\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "ProjectID",

                "Name": "所属项目",

                "FiledType": 27,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":null,\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "Contact",

                "Name": "联系人",

                "FiledType": 14,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":\"\",\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "Telephone",

                "Name": "联系电话",

                "FiledType": 34,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":\"\",\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "Dial",

                "Name": "国家代码",

                "FiledType": 32,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":\"+86\",\"Value\":\"+86\"}",

                "ListValue": "",

                "IsShow": false

            },

            {

                "ID": "Area",

                "Name": "所属区域",

                "FiledType": 16,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":\"\",\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "InstallationAddress",

                "Name": "安装地址",

                "FiledType": 35,

                "Options": [],

                "IsRequired": false,

                "Value": "{\"Key\":\"\",\"Value\":\"\"}",

                "ListValue": "",

                "IsShow": true

            }

        ]

    }

}

 




开发者:可为天下(北京)科技有限公司 版本号:V3.1.2
© 2024 eshouhou.com 易售后 保留所有权利
京ICP备15041347号-2京公网安备11011302007053
电话咨询
400-071-2899
在线咨询
免费试用
下载APP
返回顶部