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

开放平台

获取创建客户项目字段


请求方式:

GET

请求地址:

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

 

请求参数:

参数

类型

必填

名称

备注

serviceSpaceId

string

服务空间id


serviceNetworkId

string

服务网点id


serviceNetworkType

int

网点类型

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


返回参数:

参数

类型

必填

名称

ResultCode

String

返回编码

ErrorMsg

String

返回信息

ResultValue

Object

返回对象


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/GetCreateCustomerProjectFields?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": "ProjectName",

                "Name": "项目名称",

                "FiledType": 1,

                "Options": [],

                "IsRequired": true,

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

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "WarrantyType",

                "Name": "保修类型",

                "FiledType": 6,

                "Options": [

                    {

                        "Key": "1054",

                        "Value": "全保",

                        "ObjArray": [],

                        "isChecked": false

                    }

                ],

                "IsRequired": false,

                "Value": "",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "DeliveryDate",

                "Name": "交付日期",

                "FiledType": 7,

                "Options": [],

                "IsRequired": false,

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

                "ListValue": null,

                "IsShow": true

            },

            {

                "ID": "Contact",

                "Name": "联系人",

                "FiledType": 14,

                "Options": [],

                "IsRequired": false,

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

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "ProjectDescription",

                "Name": "项目描述",

                "FiledType": 1,

                "Options": [],

                "IsRequired": true,

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

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "WarrantyPeriod",

                "Name": "保修期限",

                "FiledType": 6,

                "Options": [

                    {

                        "Key": "1",

                        "Value": "无保修",

                        "ObjArray": [],

                        "isChecked": false

                    },

                    {

                        "Key": "2",

                        "Value": "一个月",

                        "ObjArray": [],

                        "isChecked": false

                    }

                ],

                "IsRequired": false,

                "Value": "",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "WarrantyStart",

                "Name": "保修开始日期",

                "FiledType": 7,

                "Options": [],

                "IsRequired": false,

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

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "WarrantyEnd",

                "Name": "保修截止日期",

                "FiledType": 7,

                "Options": [],

                "IsRequired": false,

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

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "ProjectType",

                "Name": "项目类型",

                "FiledType": 6,

                "Options": [

                    {

                        "Key": "1048",

                        "Value": "政府项目",

                        "ObjArray": [],

                        "isChecked": false

                    },

                    {

                        "Key": "1157",

                        "Value": "医院项目",

                        "ObjArray": [],

                        "isChecked": false

                    }

                ],

                "IsRequired": false,

                "Value": "",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "ServiceNetworkID",

                "Name": "默认服务网点",

                "FiledType": 29,

                "Options": [

                    {

                        "Key": "832faaa6-d927-4a06-a663-4175653efb18",

                        "Value": "上海网点",

                        "ObjArray": [],

                        "isChecked": false

                    },

                    {

                        "Key": "ceaead9c-1450-416e-95c5-83089687fec2",

                        "Value": "测试服务网点",

                        "ObjArray": [],

                        "isChecked": false

                    }

                ],

                "IsRequired": false,

                "Value": "",

                "ListValue": "",

                "IsShow": true

            },

            {

                "ID": "Remark",

                "Name": "备注",

                "FiledType": 2,

                "Options": [],

                "IsRequired": false,

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

                "ListValue": "",

                "IsShow": true

            }

        ]

    }

}




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