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

开放平台

获取创建工单字段


请求方式:

GET

请求地址:

https://api.eshouhou.cn/open/v2/WorkOrder/GetCreateWorkOrderFields?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw

 

请求参数:

参数

类型

必填

名称

备注

serviceSpaceId

string

服务空间id


serviceNetworkId

string

服务网点id


serviceNetworkType

int

网点类型

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

UserID

string

账号id



返回参数:

参数

类型

必填

名称

ResultCode

String

返回编码

ErrorMsg

String

返回信息

ResultValue

Object

返回对象


ResultValue对象:

参数

类型

必填

名称

备注

CusObj

Object

客户信息

详细查看下面参数

fildes

Array

工单字段信息

详细查看下面参数


CusObj对象:

参数

类型

必填

名称

备注

Key

string

客户id


Value

string

客户名称



fildes对象集合:

参数

类型

必填

名称

备注

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

是否必填


SelectValue

Array

下拉值

详细查看下面参数

ImgPaths

Array

图片集合

List<string>

TextValue

string

显示值


IsShow

string

是否显示该字段



Options对象集合:

参数

类型

必填

名称

备注

Key

string

选项id


Value

string

选项名称


isChecked

Bool

是否选中



SelectValue对象集合:

参数

类型

必填

名称

备注

Key

string

选项id


Value

string

选项值



请求示例:

https://api.eshouhou.cn/open/v2/WorkOrder/GetCreateWorkOrderFields?serviceSpaceId=6a8251ba-ce64-46b7-a505-a4e560032706&userid=6f80db83-a791-4d96-a5cc-0c89ed51cdb1&serviceNetworkType=1&serviceCategoryId=3107&workorderid=8ced0f85-5c4e-4329-868e-9d46d6b8a921


返回成功示例:

{

    "ResultCode": 0,

    "ErrorMsg": "",

    "ResultValue": {

        "CusObj": {

            "Key": "",

            "Value": "",

            "ObjList": [],

            "Exception": false,

            "TableType": 0,

            "FiledType": 0,

            "Icon": ""

        },

        "fildes": [

            {

                "ID": "CustomerID",

                "Name": "客户",

                "FiledType": 11,

                "Options": [],

                "IsRequired": true,

                "SelectValue": {

                    "Key": "",

                    "Value": "",

                    "ObjList": [],

                    "Exception": false,

                    "TableType": 0,

                    "FiledType": 0,

                    "Icon": ""

                },

                "ImgPaths": [],

                "TextValue": "",

                "IsShow": true,

                "additionalData": null

            },

            {

                "ID": "Description",

                "Name": "服务请求",

                "FiledType": 2,

                "Options": [],

                "IsRequired": false,

                "SelectValue": {

                    "Key": "",

                    "Value": "",

                    "ObjList": [],

                    "Exception": false,

                    "TableType": 0,

                    "FiledType": 0,

                    "Icon": ""

                },

                "ImgPaths": [],

                "TextValue": "",

                "IsShow": true,

                "additionalData": null

            },

            {

                "ID": "Priority",

                "Name": "优先级",

                "FiledType": 6,

                "Options": [

                    {

                        "Key": "1",

                        "Value": "一般",

                        "ObjArray": [],

                        "isChecked": false

                    },

                    {

                        "Key": "2",

                        "Value": "紧急",

                        "ObjArray": [],

                        "isChecked": false

                    },

                    {

                        "Key": "3",

                        "Value": "非常紧急",

                        "ObjArray": [],

                        "isChecked": false

                    }

                ],

                "IsRequired": false,

                "SelectValue": {

                    "Key": "",

                    "Value": "",

                    "ObjList": [],

                    "Exception": false,

                    "TableType": 0,

                    "FiledType": 0,

                    "Icon": ""

                },

                "ImgPaths": [],

                "TextValue": "",

                "IsShow": true,

                "additionalData": null

            },

            {

                "ID": "Contact",

                "Name": "联系人",

                "FiledType": 14,

                "Options": [],

                "IsRequired": false,

                "SelectValue": {

                    "Key": "",

                    "Value": "",

                    "ObjList": [],

                    "Exception": false,

                    "TableType": 0,

                    "FiledType": 0,

                    "Icon": ""

                },

                "ImgPaths": [],

                "TextValue": "",

                "IsShow": true,

                "additionalData": null

            },

            {

                "ID": "ContactNumber",

                "Name": "联系电话",

                "FiledType": 34,

                "Options": [],

                "IsRequired": true,

                "SelectValue": {

                    "Key": "",

                    "Value": "",

                    "ObjList": [],

                    "Exception": false,

                    "TableType": 0,

                    "FiledType": 0,

                    "Icon": ""

                },

                "ImgPaths": [],

                "TextValue": "",

                "IsShow": true,

                "additionalData": null

            }

        ]

    }

}



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