Commit d346545f authored by 蒋林's avatar 蒋林

文档

parent 1731bf9a
# 志高相关接口文档
```
API域名: http://pp.weixiuhui.cn
```
## 一. 呼叫受理
### 1. 服务商预约
接口链接: /api/chigo/facilitatorReservation
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
开始时间 | adat_begin | 否 | String(32) | 20161012 |
结束时间 | adat_end | 否 | String(32) | 20161102 |
用户手机 | mobile | 否 | String(32) | 13316107377 |
用户电话 | phone | 否 | String(32) | |
查阅状况 | read_state | 否 | String(32) | 1 | 1:已查阅 2;未查阅
受理单号 | ano | 否 | String(32) | 0020201610125742 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[ano] => 0020201610125742
[apeo] => 陈丹婷
[auni] => 志高总部,客户服务部
[adat] => 2016-10-12T12:34:22.0
[dupl] =>
[zcod] => 0020
[tele] =>
[extc] =>
[mobi] => 13316107377
[cent] => 广州中心
[cuna] => 陈先生
[addr] => 广东省广州市南沙区环市大道越秀滨海新城15栋2201
[shop] => 京东
[mdel] => 挂机
[buyd] => 2016-05-01T00:00:00.0
[make] => 志高
[inst] => 18665631879
[ttyp] => 保内报修
[urge] => 一般客户
[remo] => 0
[insu] => 1
[fapp] =>
[oapp] => 不制冷
[afba] => 内机漏水 来电要求尽快处理
[arem] =>
[hway] => 委派服务商上门服务
[sern] => 0200145
[serc] => 广州桥上网络科技有限公司
[requ] => 2016-10-12T14:49:36.0
[opeo] => 王娟kf
[opdt] => 2016-10-12T13:49:02.0
[ifco] =>
[coti] =>
[reno] =>
[serp] =>
[fida] =>
[seti] =>
[notr] =>
[mres] =>
[resu] =>
[reci] => Y
[hand] => 1
[reti] => 2016-10-12T13:49:21.0
[reqt] => 2
[rept] => 1
[smsm] =>
[unid] =>
[lock_flag] =>
[kaohe_flag] =>
[remo_dist] =>
[type] => 家用
[rs_lock_by] =>
[rs_lock_time] =>
[need_revisit] => 1
[ctype] => 家用
[ischeck] =>
[checkdate] =>
[checktime] =>
[checkday] =>
[checkjiangli] =>
[check_back] =>
[reor] =>
[ser_mobile] => 13286688768
[center_tel] => 36055720
[send_to_ser] => 0
[ser_tel] => 020-84347052
[jyy] =>
[jwj] =>
[dtwcl] => 1
[org_tele] =>
[org_mobi] => 13316107377
[org_ano] =>
[daib] =>
[src] =>
[dqbm] =>
[remo_d] => 否
[ifco_d] =>
[remaintime] => 0
[elapse_time] => 2.11104050925925925925925925925925925926E01
)
)
)
```
### 2. 上门服务
接口链接: /api/chigo/visitingService
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
开始时间 | adat_begin | 否 | String(32) | 20161012 |
结束时间 | adat_end | 否 | String(32) | 20161102 |
用户手机 | mobile | 否 | String(32) | 13316107377 |
用户电话 | phone | 否 | String(32) | |
受理单号 | ano | 否 | String(32) | 0020201610125742 |
处理状态 | proc_state | 否 | String(32) | | 所有:"" 0:中心派工; 1:上门服务; 2:完成;
类型 | ctype | 否 | String(32) | | 所有:"" ; 1:家用; 2:制冷设备; 3:商用;
报修催单 | bxcd | 否 | String(32) | 1 | 1:是; 0:否
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[ano] => 0020201610125742
[apeo] => 陈丹婷
[auni] => 志高总部,客户服务部
[adat] => 2016-10-12T12:34:22.0
[dupl] =>
[zcod] => 0020
[tele] =>
[extc] =>
[mobi] => 13316107377
[cent] => 广州中心
[cuna] => 陈先生
[addr] => 广东省广州市南沙区环市大道越秀滨海新城15栋2201
[shop] => 京东
[mdel] => 挂机
[buyd] => 2016-05-01T00:00:00.0
[make] => 志高
[inst] => 18665631879
[ttyp] => 保内报修
[urge] => 一般客户
[remo] => 0
[insu] => 1
[fapp] =>
[oapp] => 不制冷
[afba] => 内机漏水 来电要求尽快处理
[arem] =>
[hway] => 委派服务商上门服务
[sern] => 0200145
[serc] => 广州桥上网络科技有限公司
[requ] => 2016-10-12T14:49:36.0
[opeo] => 王娟kf
[opdt] => 2016-10-12T13:49:02.0
[ifco] =>
[coti] =>
[reno] =>
[serp] =>
[fida] =>
[seti] =>
[notr] =>
[mres] =>
[resu] =>
[reci] => Y
[hand] => 1
[reti] => 2016-10-12T13:49:21.0
[reqt] => 2
[rept] => 1
[smsm] =>
[unid] =>
[lock_flag] =>
[kaohe_flag] =>
[remo_dist] =>
[type] => 家用
[rs_lock_by] =>
[rs_lock_time] =>
[need_revisit] => 1
[ctype] => 家用
[ischeck] =>
[checkdate] =>
[checktime] =>
[checkday] =>
[checkjiangli] =>
[check_back] =>
[reor] =>
[ser_mobile] => 13286688768
[center_tel] => 36055720
[send_to_ser] => 0
[ser_tel] => 020-84347052
[jyy] =>
[jwj] =>
[dtwcl] => 1
[org_tele] =>
[org_mobi] => 13316107377
[org_ano] =>
[daib] =>
[src] =>
[dqbm] =>
[remo_d] => 否
[ifco_d] =>
[remaintime] => 0
[elapse_time] => 2.11104050925925925925925925925925925926E01
)
)
)
```
## 二. 家用安装业务
### 1. 服务-安装单录入-浏览
接口链接: /api/chigo/queryInstallBill
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
入单日期 | input_date_begin | 否 | String(32) | 20161012 |
入单日期 | input_date_end | 否 | String(32) | 20161102 |
服务商 | node_id | 否 | String(32) | 0200145 | PickupAllSerNodeForUser->node_id
安装日期 | install_date_begin | 否 | String(32) | 20161012 |
安装日期 | install_date_end | 否 | String(32) | 20161012 |
用户名称 | customer_name | 否 | String(32) | 春曙 | customer_name
保修卡号 | warranty | 否 | String(32) | 152949041 | warranty_card_no
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[rownum] => 1
[install_bill_id] => 270063940
[install_no] => 115803367
[ser_node_id] => 243054710
[unit_count] => 1
[input_date] => 2016-10-24T00:00:00.0
[warranty_card_no] => 153178470
[node_id] => 0200145
[zone_name] => 广州
[invoice_no] =>
[spec_customer_id] =>
[customer_name] => 龚春曙
[tel_zone_code] =>
[telephone_no] =>
[mobile] => 13535043516
[idcard] =>
[luopenstatus] => 合格
[addr_zone_code] => 0020
[address] => 广东省广州市南沙区晴海岸花园7栋903
[post_code] => 510000
[installer_name] => 陈强
[installer_telno] => 020-84347052
[satisfaction] =>
[purchase_date] => 2016-10-02T00:00:00.0
[install_date] => 2016-10-03T00:00:00.0
[purchase_shop] => 京东
[use_place_id] =>
[open_status] => 1
[unqualified_class] =>
[install_fee] => 140
[input_fee] => 0
[bonus_base] => 20
[bonus_check] => 0
[remark] =>
[card_type] => 1
[callback_state] => X
[isclose] => 1
[inv_code] =>
[unit_price] =>
[buy_add] =>
[seller_pho] =>
[hmjx] => 0
[seller] =>
[seller_zone_code] =>
[seller_mobile] =>
[seller_name] =>
[agency_name] =>
[cl_nw_db_fees] => 0
[fee_standard] => 190
[install_standard] => 140
[zone_code] => 440115
[sell_way] => 零售
[zone_name_all] => 广东省广州市南沙区
[cloud_regcode] =>
[callback_state2] => 1
)
)
)
```
### 2. 服务-安装单据结算-浏览
接口链接: /api/chigo/queryInstallBill
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
期间 | periodb | 否 | String(32) | 201610 |
期间 | periode | 否 | String(32) | 201611 |
服务商 | ser_node_id | 否 | String(32) | 0200145 | PickupAllSerNodeForUser->node_id
保修卡号 | center_code | 否 | String(32) | 0801 | PickupAllForUser->center_code
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[close_account_id] => 270759030
[install_account_check_id] => 270064343
[close_account_no] => 1000386992
[center_name] => 广州中心
[node_id] => 0200145
[node_name] => 广州桥上网络科技有限公司
[check_quantity] => 47
[check_result] => 已结算
[creation_date] => 2016-11-03T00:11:33.0
[gather_quantity] => 47
[gather_moneysum] => 5210
[money_calculate] => 6065
[qutity_pass] => 47
[money_pass] => 5210
[money_pass_deduct] => 0
[qutity_unpass] => 0
[money_unpass] => 0
[qutity_fake] => 0
[money_fake] => 0
[money_all_deduct] => 85
[before_quantity] => 0
[before_moneysum] => 0
[this_quantity] => 0
[this_moneysum] => 0
[after_quantity] => 0
[after_moneysum] => 0
[monery_deduct_eachmonth] => 85
[remark_deduct_eachmonth] => 追扣漏水,条码JZZ0GBG5U92001000404,维修单号160271734
[monery_deduct_lastmonth] => 0
[remark_deduct_lastmonth] =>
[account] => 广州桥上网络科技有限公司
[bonus_base] => 940
[bonus_check] => 0
[payment_type] => 付现金
[bank_name] => 中国工商银行股份有限公司广州宝岗大道支行
[bank_no] => 3602058109200141367
[shop_bank] =>
[unpassre] =>
[fackre] =>
[period] => 201610
[lastmonth] =>
[check_jiangli] => 0
[bonus_jili] => 0
[ykh_defen] => 68.27
[satis_jili] => 0
[input_fee] => 0
)
)
)
```
## 三. 家用维修业务
### 1. 服务-维修单录入-浏览
接口链接: /api/chigo/queryRepairBill
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
入单日期 | input_date_begin | 否 | String(32) | 20161012 |
入单日期 | input_date_end | 否 | String(32) | 20161102 |
服务商 | node_id | 否 | String(32) | 0200145 | PickupAllSerNodeForUser->node_id
维修日期 | repair_date_begin | 否 | String(32) | 20161012 |
维修日期 | repair_date_end | 否 | String(32) | 20161012 |
维修单号 | repair_no | 否 | String(32) | 201609235 | repair_no
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[repair_id] => 270078313
[ser_node_id] => 243054710
[repair_no] => 201609235
[repair_date] => 2016-09-27T00:00:00.0
[repair_level] => 未填写
[barcode_in] => JZZ0GBG3S81011016765
[customer_name] => 林华沐
[tel_zone_code] => 020
[telephone_no] =>
[mobile] => 13414915627
[address] => 广东省广州市南沙区东涌镇鱼窝头车站(农商银行边)
[post_code] => 511400
[repair_step] =>
[deal_no] => 0020201609235090
[barcode_out] => JZZ0WAG3S81053009500
[product_design] => KFR-26G/ABP123+N3A\白\V\B\网络专销
[machine_model] => 1
[repair_fee] => 30
[operator] => 243054715
[input_date] => 2016-10-24T00:00:00.0
[repair_person] => 吴亮
[traffic_fee] => 0
[other_fee] =>
[exchange_desc] =>
[deal_desc] => 调整
[bonus_time] => 0
[rep_company] =>
[malfunction_id] => 508
[closeaccount_id] => 195
[node_id] => 0200145
[phone] =>
[malfunction_code] => *D03
[isclose] => 1
[malfunction_desc] => 变压器接插件松动
[closeaccount_code] => XZ01
[closeaccount_desc] => 变压器其它(属简单调试)
[install_ser] => 243054710
[node_name] => 广州桥上网络科技有限公司
[barcode_in_new] =>
[barcode_out_new] =>
[prduct_model_out] => KFR-26G/ABP+N3A\Y4\Y21\B
[prduct_model_in] => KFR-26G/ABP123+N3A\白\V\B\网络专销
[callback_state] => 1
[pro_date] => 2016-03-24T00:00:00.0
[pro_date_out] => 2016-03-29T00:00:00.0
[buydate] => 2016-04-13T00:00:00.0
[install_date] => 2016-04-15T00:00:00.0
[install_man] => 秦胜武
[buyshop] => 京东
[warranty_card_no] => 151632132
[zone_name] => 广州
[center_name] => 广州中心
[bill_source] => 1
[havepartexc] => 0
[originalfine] => 0
[prduct_model_outn] =>
[prduct_model_inn] =>
[pjbz] => 无须退件
)
)
)
```
### 2. 业务-安装单补录-浏览
接口链接: /api/chigo/queryInstallPatch
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
入单日期 | input_date_begin | 否 | String(32) | 20161012 |
入单日期 | input_date_end | 否 | String(32) | 20161102 |
服务商 | node_id | 否 | String(32) | 0200145 | PickupAllSerNodeForUser->node_id
安装日期 | install_date_begin | 否 | String(32) | 20161012 |
安装日期 | install_date_end | 否 | String(32) | 20161012 |
用户姓名 | customer_name | 否 | String(32) | |
保修卡号 | warranty | 否 | String(32) | |
条码 | barcode | 否 | String(32) | |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
### 3. 业务-维修过保机录入-浏览
接口链接: /api/chigo/queryOverdateBill
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
入单日期 | input_date_begin | 否 | String(32) | 20161012 |
入单日期 | input_date_end | 否 | String(32) | 20161102 |
服务商 | node_id | 否 | String(32) | 0200145 | PickupAllSerNodeForUser->node_id
维修日期 | repair_date_begin | 否 | String(32) | 20161012 |
维修日期 | repair_date_end | 否 | String(32) | 20161012 |
维修单号 | repair_no | 否 | String(32) | |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
### 5. 业务-维修单据结算-浏览
接口链接: /api/chigo/repairBrowseCloseAccount
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
期间 | periodb | 否 | String(32) | 201610 |
期间 | periode | 否 | String(32) | 201611 |
服务商 | ser_node_id | 否 | String(32) | 0200145 | PickupAllSerNodeForUser->node_id
保修卡号 | center_code | 否 | String(32) | 0801 | PickupAllForUser->center_code
系统 | ins_rep | 是 | String(32) | 0 | 0:志高; 1:现代
类型 | wxqx | 是 | String(32) | 0 | 0:维修; 1:清洗
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
## N. 公用接口
### 1. 服务商
接口链接: /api/chigo/pickupAllSerNodeForUser
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[ser_node_id] => 243054710
[node_id] => 0200145
[node_name] => 广州桥上网络科技有限公司
)
)
)
```
### 2. 中心
接口链接: /api/chigo/pickupAllForUser
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[ser_center_id] => 2
[center_code] => 0801
[center_name] => 广州中心
[type] => 家用
)
)
)
```
# 格兰仕相关接口文档
```
API域名: http://pp.weixiuhui.cn
```
## 一. 派工单接口
### 1. 查询订单
接口链接: /api/galanz/queryOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 | SikVUBYPN6r4pvucURDLmQ==
new_id | id | 是 | String(32) | e8ed9016-d621-45b3-9015-60fc3de89833 | searchOrder返回的new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[new_id] => 6b043b3c-0c31-4ae1-a776-6f26970d0647
[new_username] => C75500027
[new_name] => CALL2015122201393
[new_callintime] => 2015/12/22 10:21:00
[new_sentstatus] =>
[new_custname] => 吴女士
[new_custmobile] => 13418694868
[new_custtel] =>
[new_provinceid] => 10d6a467-885b-e411-80cb-00155d017501
[new_provinceidName] => 广东省
[new_cityid] => 41509919-9b5b-e411-80cb-00155d017501
[new_cityidName] => 深圳市
[new_countyid] => 304d6e5c-d75b-e411-80cb-00155d017501
[new_countyidname] => 龙岗区
[new_townid] => 9c34f53c-c6d1-e411-80cc-00155d016a1c
[new_townidName] => 布吉街道办
[new_address] => 龙翔花园康辉楼1411
[new_visittime] =>
[new_producttype] =>
[new_csnumber] =>
[new_installsiteid] =>
[new_installsiteidname] =>
[new_broughtdate] => 2015/12/19
[new_installdate] =>
[new_errormoduleid] =>
[new_errormoduleidName] =>
[new_custdescription] => 安装电热水器 尽快联系
[new_remarks] => 跟她解释了费用问题 说无需师傅安装 不用派工
[new_callintype] => 1
[new_productqty] => 1
[new_market] => 京东
[new_acceptstatus] =>
[new_siteaccepttime] =>
[new_sitecontacttime] =>
[new_siteappointmenttime] =>
[new_actualvisittime] =>
[new_isguaranty] =>
[new_finishstatus] =>
[new_finishtime] =>
[new_unfinishreason] =>
[new_complete_reason] =>
[new_sitedealremarks] =>
[new_sentsiteid] => 7ed34d37-a108-462f-ac8f-0cdfc0f18cc4
[new_ServicePersonnel] =>
[txtFollowmemo] =>
)
```
### 1.1 搜索订单
接口链接: /api/galanz/searchOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 | SikVUBYPN6r4pvucURDLmQ==
受理单号 | name | 否 | String(32) | CALL2015052002491 | 参数new_name
联系号码 | custmobile | 否 | String(32) | 18677778888 | 参数new_custmobile
是否完成 | finishstatus | 否 | String(32) | '' | 0:否; 1:是
是否接受 | acceptstatus | 否 | String(32) | '' | 1:是 2:否; 3:未处理
受理类型 | callintype | 否 | String(32) | '' | 1:咨询; 2:报修; 3:投诉; 4:安装; 5:建议; 6:移机
是否催单 | isreminder | 否 | String(32) | '' | 0:否; 1:是
开始时间 | starttime | 否 | String(32) | '' | 20160809
结束时间 | endtime | 否 | String(32) | '' | 同上
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[new_id] => faf1d967-ae6a-4fd3-9b7b-8a76b086fa4e
[new_name] => CALL2015100102033
[new_reminder] =>
[new_callintype] => 咨询
[new_finishstatus] =>
[new_acceptstatus] => 未处理
[new_sentstatus] => 无需派工
[new_custname] => 黄先生
[new_custmobile] => 13244988810
[new_custtel] =>
[new_cityidName] => 东莞市
[new_countyidname] => 东莞市
[new_townidName] => 长安镇
[new_address] => 沙头沙区沙涌牌楼站附近
[new_producttype] => 50升
[new_productqty] => 1
[new_installdate] =>
[new_installsiteidname] =>
[new_dispatchingsiteidname] => 深圳唯修汇科技有限公司
[new_ServicePersonnel] =>
[new_custdescription] => 电热水器安装
[new_callintime] => 2015/10/1 14:35:00
[new_siteaccepttime] =>
[new_sitecontacttime] =>
[new_siteappointmenttime] =>
[new_actualvisittime] =>
[new_finishtime] =>
[new_unfinishreason] =>
[new_remarks] =>
[new_sitedealremarks] =>
)
)
)
```
### 2. 保存订单
接口链接: /api/galanz/saveOrder
###### 请求参数
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001 |
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn |
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | e8ed9016-d621-45b3-9015-60fc3de89833 | searchOrder返回的new_id
网点联络时间 | sitecontacttime | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01 01:09)
预约上门时间 | siteappointmenttime | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01 01:09)
实际上门时间 | actualvisittime | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01 01:09)
是否保内 | isguaranty | 否 | String(32) | 0 | 1:是; 0:否
完成状态 | finishstatus | 否 | String(32) | 1 | 1:是; 0:否
未完成原因 | unfinishreason | 否 | String(32) | 1 | 1:顾客改约时间; 2:网点改约时间; 3:待件; 4:其他; 5:用户不接电话
完成方式 | complete_reason | 否 | String(32) | 1 | 1: 正常完成; 2: 用户退货
备注 | sitedealremarks | 否 | String(128) | 用户预约明天
服务人员 | servicePersonnel | 否 | String(32) | XX师傅
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 2.1 添加跟踪内容
接口链接: /api/galanz/callOrderAddFollow
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | e8ed9016-d621-45b3-9015-60fc3de89833 | searchOrder返回的new_id
内容| txtFollowmemo | 是 | String(32) | 16号上门 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 3. 拒绝订单
###### 请求参数
接口链接: /api/galanz/refuseOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | e8ed9016-d621-45b3-9015-60fc3de89833 | searchOrder返回的new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 4. 接受订单
接口链接: /api/galanz/acceptOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | e8ed9016-d621-45b3-9015-60fc3de89833 | searchOrder返回的new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 5. 转录维修单
接口链接: /api/galanz/createWorkOrder
###### 请求参数
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | e8ed9016-d621-45b3-9015-60fc3de89833 | searchOrder返回的new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 6. 转录安装单(待测试)
接口链接: /api/galanz/createUserprofileOrder
###### 请求参数
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | e8ed9016-d621-45b3-9015-60fc3de89833 | searchOrder返回的new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
---
## 二. 维修单接口
### 1. 查询维修单
接口链接: /api/galanz/queryWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[new_id] => 77d2f03a-170a-4e4e-9b0f-cb97d330b8d5
[new_username] => C75500027
[hidUserId] => 7ed34d37-a108-462f-ac8f-0cdfc0f18cc4
[hidIsKT] => 0
[hidformPosition] =>
[OwnerId] =>
[dtNow] => 2016/09/27
[new_sitecode] => C75500027
[new_siteid] => 7ed34d37-a108-462f-ac8f-0cdfc0f18cc4
[new_siteidName] => 深圳唯修汇科技有限公司
[new_srv_callinid] => e2404d18-3c9c-4c3d-97f5-12a195a63fe5
[new_srv_callinidName] => CALL2016092202316
[new_approvalstatus] => 2
[new_name] => WO2016092702585
[new_productgroupid] => 48a64f9c-13f6-e311-af25-000c297a69b9
[new_productgroupidName] => 厨房电器
[new_businessunitid] => 3bbc1db9-525c-e411-80cb-00155d017501
[new_businessunitidName] => 深圳客服中心
[new_number] => WO2016092702585
[new_returnfactory] => 0
[new_uninvsestreasonName] =>
[new_reconsidermemo] =>
[new_approvalremark] =>
[new_custname] => 陈女士
[new_custmobile] => 18822837975
[new_custtel] => 15311180263
[new_provinceid] => 10d6a467-885b-e411-80cb-00155d017501
[new_provinceidName] => 广东省
[new_cityid] => 41509919-9b5b-e411-80cb-00155d017501
[new_cityidName] => 深圳市
[new_countyid] => 2c4d6e5c-d75b-e411-80cb-00155d017501
[new_countyidName] => 宝安区
[new_townid] => 0e42e3d4-98f3-44fa-8cca-56eec9ed3a46
[new_townidName] => 松岗街道办事处
[new_address] => 花果山二巷16号A栋
[new_shipdate] =>
[hidmarket] =>
[new_market] =>
[new_broughtdate] => 2016/01/06
[new_installsiteid] =>
[new_installsiteidName] =>
[new_installdate] => 2016/01/09
[new_time] => 2016/09/22 14:59
[new_visittime] => 2016/09/23 12:00
[new_actualvisittime] => 2016/09/23 12:00
[new_finishtime] => 2016/09/24 18:06
[new_repairapply] =>
[new_ischangepart] => 1
[new_isremote] => 0
[new_scope] =>
[new_distancekm] => 0.00
[new_investstatus] => 1
[new_isrelief] => 0
[new_reliefmemo] =>
[new_isguaranty] => 1
[new_siteremark] =>
[new_approvalstep] => 1
[new_baseamount] => 33.00
[new_mileamount] => 0.00
[productname] =>
[new_laxiuamount] => 0.0000000000
[new_arrivetime] => 2016/9/23 12:00:00
[new_satisfaction_manner] => 1
[new_satisfaction_quality] => 2
[new_othersuggest] =>
[machine] => Array
(
[0] => Array
(
[chk] => 41318a0a-bdf7-4dd1-8e66-13fcd557d283
[cbiserror] => 1
[txtproducenumber] => 15Y101100223956
[new_producttypeid] => 4e1cc115-875b-e411-80cb-00155d017501
[new_producttypeidName] => 电热水器
[new_productmodelid] => c7b078d7-875b-e411-80cb-00155d017501
[new_productmodelidName] => 小于60L的电热水器
[hidnew_productnumber] => 137400000003
[hidnew_modelnumber] => 电热水器ZSDF-G40K031
[new_productiondate] =>
[new_stockoutdate] => 2016/01/06
[new_goldcardno] =>
[new_month] =>
)
)
[fault] => Array
(
[0] => Array
(
[chk] => 9291e72c-a400-4035-91f7-df7e124f8708
[new_srv_workorderproductid] => 41318a0a-bdf7-4dd1-8e66-13fcd557d283
[New_srv_wokordererrorid] => 9291e72c-a400-4035-91f7-df7e124f8708
[new_name] => 1
[new_errorpart] => 15Y101100223956
[new_errormoduleid] => 133ed043-d161-e411-80cb-00155d016a1c
[new_errormoduleidName] => 不加热
[new_errordesc] => DG01
[new_errorgroupid] => 40ab61a9-d97c-4394-a1e3-d5e8a7ddc4a7
[new_errorgroupidName] => 加热管故障
[new_causedesc] => DH001
[new_srv_errorsolutionid] => 6fade20a-9ab9-46e4-b60a-9daad310a50e
[new_srv_errorsolutionidName] => 市区上门更换加热管
[new_solutiondesc] => C-DT012
)
)
[parts] => Array
(
[0] => Array
(
[chk] => 4aa7689e-a7ed-439b-8d63-e9cee04bbfe2
[new_srv_wokordererrorid] => 9291e72c-a400-4035-91f7-df7e124f8708
[new_srv_wokordererroridName] => 1
[new_oldpartsid] => D03000004
[new_errorpartsid] => 47a692f1-2e7c-44a2-9c7e-cd8cb647900b
[new_errorpartsidName] => 电热管(D6)\ ZSDF-G**K031/G**K032(840、220V、2000W)
[new_newpartsid] => D03000004
[new_partsid] => 47a692f1-2e7c-44a2-9c7e-cd8cb647900b
[new_partsidName] => 电热管(D6)\ ZSDF-G**K031/G**K032(840、220V、2000W)
[new_qty] => 1
)
)
)
```
### 1.1 搜索维修单
接口链接: /api/galanz/searchWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
维修单号 | name | 否 | String(32) | WO2016092103404 |
顾客手机 | custmobile | 否 | String(32) | 18677778888 |
单据状态 | approvalstatus | 否 | String(32) | '' | 1:待发送; 2:已发送; 3:驳回; 4:合格; 5:复议; 6:虚假单
是否换件 | ischangepart | 否 | String(32) | '' | 2:是; 3:否
售前机 | returnfactory | 否 | String(32) | '' | 2:是; 3:否
减免 | isrelief | 否 | String(32) | '' | 2:是; 3:否
产品条码 | producenumber | 否 | String(32) | '' |
开始时间 | starttime | 否 | String(32) | '' | 格式: 20160102
结束时间 | endtime | 否 | String(32) | '' | 格式: 同上
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | | 如下
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[new_id] => 2ac18853-8f45-4210-8e98-e4bb0d3554a9
[new_number] => WO2016092103404
[new_name] => WO2016092103404
[new_productgroupidName] => 厨房电器
[new_custname] => 张先生
[new_custmobile] => 13128785868
[new_custtel] =>
[new_insidemachinetype] =>
[new_insidemachinenumber] =>
[new_outsidemachinetype] =>
[new_outsidemachinenumber] =>
[hidnew_modelnumber] => 电热水器ZSDF-G80K031
[txtproducenumber] => 15Y104100001566
[new_errormoduleidName] => 不通电
[new_errordesc] => DG02
[new_errorgroupidName] => 线组脱落
[new_causedesc] => DH018
[new_srv_errorsolutionidName] => 上门检修
[new_solutiondesc] => C-DR001
[new_provinceidName] => 广东省
[new_cityidName] => 深圳市
[new_address] => 新和村1区 10巷6号 1楼
[new_isguaranty] => 是
[new_ischangepart] => 否
[new_returnfactory] => 否
[new_baseamount] => 33.00
[new_mileamount] => 0.00
[new_repairapply] =>
[new_approvalstatus] => 已发送
[new_investstatus] => 未回访
[new_time] => 2016/8/27 11:18:00
[new_finishtime] => 2016/9/14 2:55:00
[new_sendtime] => 2016/9/21 19:36:17
)
)
)
```
### 2. 保存维修单
接口链接: /api/galanz/saveWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
姓名 | custname | 否 | String(32) | 何先生
手机 | custmobile | 否 | String(32) | 15055558888
地址 | address | 否 | String(32) | 湖东路1号
生产日期 | shipdate | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01)
购买日期 | broughtdate | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01)
安装日期 | installdate | 否 | String(32) | 1473408568 |时间戳(秒,格式2014/01/01)
预约时间 | visittime | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01 23:09)
上门时间 | actualvisittime | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01 23:09)
完成时间 | finishtime | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01 01:09)
维修人员 | repairapply | 否 | String(32) | 牛师傅
是否远程 | isremote | 否 | String(32) | | 1:是; 0:否
上门范围 | scope | 否 | String(32) | | 1:市区; 2:市郊; 3:市外
上门距离 | distancekm | 否 | String(32) | 100
机器信息 | machine | 否 | Json | {"chk":"machine下chk","producttypeid":"new_producttypeid","producttypeidName":"new_producttypeidName","productmodelid":"new_productmodelid","productmodelidName":"new_name","productnumber":"productnumber","modelnumber":"name"} | 添加机器,保存需要填写该字段,其他非必填
故障信息 | fault | 否 | Json | {"chk":"新增的故障chk","errormoduleid":"","errormoduleidName":"故障现象","errorgroupid":"","errorgroupidName":"原因分类","errorsolutionid":"","errorsolutionidName":"维修措施"} | 添加故障,保存需要填写该字段,其他非必填
换件信息 | parts | 否 | Json | {"chk":"新增的配件chk","errorpartsid":"","errorpartsidName":"不良品名称","partsid":"","partsidName":"良品名称","qty":"库存"} | 添加换件,保存需要填写该字段,其他非必填
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 3. 发送维修单
接口链接: /api/galanz/sendWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 4. 添加机器信息
接口链接: /api/galanz/addProdWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 4.1 机器信息-产品条码
接口链接: /api/galanz/setProdWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
产品条码 | txtproducenumber | 是 | String(32) | 15AA50100001295
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 4.2.1 机器信息-机器编码
接口链接: /api/galanz/lookupProductByGroup
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
分类id | productgroupid | 是 | String(32) | 5a9e674f-13f6-e311-af25-000c297a69b9 | 详情中new_productgroupid字段
产品名称 | productname | 否 | String(32) | 微波炉P70D10EP-QB(S0) | 不填,返回全部
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[id] => 66d07939-8c72-478f-a586-b4956b92b1af
[group] => 微波炉
[no] => 112100100012
[name] => 微波炉P70D10EP-QB(S0)
)
)
)
```
### 4.2.2 机器信息-机器编码-机器详细信息
接口链接: /api/galanz/getProductTypeById
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
id | id | 是 | String(32) | 5a9e674f-13f6-e311-af25-000c297a69b9 | 3.1接口返回的id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[productnumber] => '112100100012'
[name] => '微波炉P70D10EP-QB(S0)'
[new_productmodelid] => 'adb078d7-875b-e411-80cb-00155d017501'
[new_name] => '微波炉'
[new_producttypeidName] => '微波炉'
[new_producttypeid] => '4a1cc115-875b-e411-80cb-00155d017501'
[New_desc] => '微波炉P70D10EP-QB(S0)'
)
```
### 4.3. 删除机器信息
接口链接: /api/galanz/delProdWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
machine_chk | chk | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8 | machine下面chk
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 5. 添加故障信息
接口链接: /api/galanz/addErrorWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
chk | chk | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8 | machine下面chk
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 5.1.1 故障信息-故障现象
接口链接: /api/galanz/lookupErrormModule
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
故障id | workorderproductid | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | array |
### 5.1.2 故障信息-原因分类
接口链接: /api/galanz/lookupErrorGroup
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
故障现象id | errormoduleid | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | array |
### 5.1.3 故障信息-维修措施
接口链接: /api/galanz/lookupErrorSolution
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
原因分类id | errorgroupid | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | array |
### 5.2. 删除故障信息
接口链接: /api/galanz/delErrorWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
fault_chk | chk | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8 | fault下面chk
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 6. 添加换件信息
接口链接: /api/galanz/addPartsWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
chk | chk | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8 | fault下面chk
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 6.1.1 换件信息-不良品名称
接口链接: /api/galanz/lookupErrorParts
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
维修措施id | errorsolutionid | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8 |
故障id | workorderproductid | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | array |
### 6.1.2 换件信息-良品名称
接口链接: /api/galanz/lookupParts
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
siteid | siteid | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8
不良品id | errorpartsid | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8
搜索 | search | 否 | String(32) | | 目前支持编码搜索
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | array |
### 6.2. 删除配件信息
接口链接: /api/galanz/delPartsWorkOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | 2ac18853-8f45-4210-8e98-e4bb0d3554a9 | 维修单new_id
parts_chk | chk | 是 | String(32) | 95efe55c-b060-4354-8313-59a7ccba4ed8 | parts下面chk
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
---
## 三. 安装单接口
### 1. 查询安装单
接口链接: /api/galanz/queryUserProfileOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | b1c8bece-378a-4b53-946b-61abd1b7c097 | searchUserProfieOrder返回的new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[new_id] => f4e71c00-be89-464d-afd0-e4566287617a
[new_username] => C75500027
[hidproductgroupid] =>
[new_number] => N2016092302228
[new_srv_callinid] =>
[new_srv_callinidName] =>
[new_isuseful] => 2
[new_name] => 0
[new_productgroupid] => 48a64f9c-13f6-e311-af25-000c297a69b9
[new_productgroupidName] => 厨房电器
[new_iskt] => 0
[new_businessunitid] => 3bbc1db9-525c-e411-80cb-00155d017501
[new_businessunitidName] => 深圳客服中心
[zhuangtai_value] => 1
[zhuangtai_name] => 已发送
[new_investstatus] => 1
[new_uninvsestreasonName] =>
[ddlengineeringmachine] => 0
[ddlisreplacesettle] => 0
[new_replace_site] =>
[ddlismissingparts] => 2
[new_missingpartsremarks] =>
[new_unqualifiedremarks] =>
[new_reconsidermemo] =>
[new_contactname] => 孙生
[new_mobile] => 15989422120
[new_telephone] =>
[new_province_id] => 10d6a467-885b-e411-80cb-00155d017501
[new_province_idName] => 广东省
[new_city_id] => 41509919-9b5b-e411-80cb-00155d017501
[new_city_idName] => 深圳市
[new_county_id] => 324d6e5c-d75b-e411-80cb-00155d017501
[new_county_idName] => 罗湖区
[new_town_id] =>
[new_town_idName] =>
[new_accountaddr] => 黄埔新村
[new_email] =>
[new_installsiteid] => 7ed34d37-a108-462f-ac8f-0cdfc0f18cc4
[new_installsiteidName] => 深圳唯修汇科技有限公司
[new_framecode] => C75500027
[new_broughtdate] => 2016/09/15
[new_installdate] => 2016/09/17 12:00
[new_appointmenttime] => 2016/09/17 12:00
[new_salesite] => 京东商城
[new_installer] =>
[new_goldcard] =>
[new_remarks] =>
[txtproducenumber] =>
[new_qualityresult] => 1
[new_custadvice] =>
[ownerid] => 3dbc1db9-525c-e411-80cb-00155d017501
[owneridname] => 深圳客服中心
[new_unqualifiedtimes] =>
[isamount] => 30.00
[ifamount] => 3.00
[products] => Array
(
[0] => Array
(
[chk] => 844c9eea-8559-49f4-ba2d-aac39e696964
[producenumber] => 16Y101100032269
[productname] => 电热水器ZSDF-G40K031
[shipdate] =>
[outtime] => 2016/06/28
)
)
)
```
### 1.1 搜索安装单
接口链接: /api/galanz/searchUserProfieOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
手机 | custmobile | 否 | String(32) | 18677778888
单据状态 | status | 否 | String(32) | '' | 0:待发送; 1:已发送; 2:驳回; 3:复议; 4:合格; 5:虚假单
回访状态 | investstatus | 否 | String(32) | '' | 1:未回访; 2:待回访; 3:已回访:
是否已录明细 | havadetail | 否 | String(32) | '' | 1:是; 2:否;
是否生效 | isuseful | 否 | String(32) | '' | 1:是; 2:否;
是否已结算 | jiesuanstatus | 否 | String(32) | '' | 1:是; 2:否;
机器条码 | producenumber | 否 | String(32) | ''
安装日期 | installstarttime | 否 | String(32) | 20160805 | 格式:20160805
安装日期 | installendtime | 否 | String(32) | 20160806 | 格式:同上
录入日期 | inputstarttime | 否 | String(32) | 20160805 | 格式:20160805
录入日期 | inputendtime | 否 | String(32) | 20160806 | 格式:同上
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[new_id] => f4e71c00-be89-464d-afd0-e4566287617a
[new_name] => 0
[new_number] => N2016092302228
[new_contactname] => 孙生
[new_mobile] => 15989422120
[new_telephone] =>
[new_insidemachinetype] =>
[new_insidemachinenumber] =>
[new_outsidemachinetype] =>
[new_outsidemachinenumber] =>
[producenumber] => 电热水器ZSDF-G40K031
[productname] => 16Y101100032269
[new_province_idName] => 广东省
[new_city_idName] => 深圳市
[new_county_idName] => 罗湖区
[new_town_idName] =>
[new_accountaddr] => 黄埔新村
[new_broughtdate] => 2016/09/15
[new_installdate] => 2016/09/17
[new_isuseful] => 否
[new_sendtime] =>
[new_inputtime] => 2016/09/23
[zhuangtai_name] => 待发送
[new_investstatus] => 未回访
[ddlisreplacesettle] => 否
[isamount] => 30.00
[ifamount] => 3.00
[new_installer] =>
[new_settletime] =>
)
)
)
```
### 2. 保存安装单
接口链接: /api/galanz/saveUserProfileOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | b1c8bece-378a-4b53-946b-61abd1b7c097 | searchUserProfieOrder返回的new_id
安装卡号 | cardno | 否 | String(32) | 00324
是否工程机 | engineeringmachine | 否 | String(32) | 0 | 0:否; 1:是;
是否代结算 | isreplacesettle | 否 | String(32) | 0 |0:否; 1:是;
被代结算单位 | replace_site | 否 | String(32) | '' |
是否开箱缺件 | ismissingparts | 否 | String(32) | 0 | 0:否; 1:是;
缺件备注 | missingpartsremarks | 否 | String(32) | '' |
姓名 | contactname | 否 | String(32) | 何先生
手机 | mobile | 否 | String(32) | 15055558888
电话 | telephone | 否 | String(32) | 55558888
地址 | accountaddr | 否 | String(32) | 湖东路1号
邮箱 | email | 否 | String(32) | bb@a.com
购买日期 | broughtdate | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01)
安装时间 | installdate | 否 | String(32) | 1473408568 |时间戳(秒,格式2014/01/01 23:09)
上门时间 | appointmenttime | 否 | String(32) | 1473408568 | 时间戳(秒,格式2014/01/01 23:09)
购买商场 | salesite | 否 | String(32) | 京东商城
安装人员 | installer | 否 | String(32) | x师傅
金卡 | goldcard | 否 | String(32) | | 卡号
备注 | remarks | 否 | String(32) | 解决
质量评价 | qualityresult | 否 | String(32) | 1 | 1:满意; 2:不满意; 3:不表态; 4:很满意;
顾客意见 | custadvice | 否 | String(32) | 满意
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 2.1 安装单-添加明细信息
接口链接: /api/galanz/addProductsUserProfileOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | b1c8bece-378a-4b53-946b-61abd1b7c097 | searchUserProfieOrder返回的new_id
机器条码 | producenumber | 否 | String(32) | 16Y101100021481 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 2.2 安装单-删除明细信息
接口链接: /api/galanz/delProductsUserProfileOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | b1c8bece-378a-4b53-946b-61abd1b7c097 | searchUserProfieOrder返回的new_id
products_chk | chk | 否 | String(32) | de580f86-70db-4452-9c99-08d4aa273cbb | products下的chk
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 3. 发送安装单
接口链接: /api/galanz/sendUserProfileOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | [ 签名算法 ](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3)
账号 | account | 是 | String(32) | c01000005 | 系统账号
密码 | pwd | 是 | String(32) | c01000005 |
new_id | id | 是 | String(32) | b1c8bece-378a-4b53-946b-61abd1b7c097 | searchUserProfieOrder返回的new_id
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
```
Array
(
[return_code] => SUCCESS
[return_msg] => 安装单[0]发送成功
)
```
# 海信相关接口文档
```
API域名: http://pp.weixiuhui.cn
```
## 一. 工单管理-工单实施
### 1.1 接收派工-订单列表
接口链接: /api/hisense/workOrderList
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
{"return_code":"SUCCESS","return_msg":"成功","return_data":[{"xxbh":"ZJ16122103814218","gdlx":"普通工单","gcdh":"","yhxm":"才显示","lxdh":"0532-","sjhm":"15845387882","yhdz":"鸡西市鸡冠区鸡西市鸡冠区城区铁南小区12-1-502 不详","sfjj":"否","cpxh":"","yysjms":"全天","fwslsj":"2016-12-21 16:54:45","cpzl":"电热水器","yqfwlx":"安装","yqfwsj":"2016-12-21 00:00:00","tslx":"","tsjb":"","tsdx":"","zxlx":"","lxcs":"1","wtxxms":"安装","ssfgs":"山东青岛办事处","sshjly":"青岛呼叫中心","khly":"热线"}]}
```
### 1.2 接收派工-接收
接口链接: /api/hisense/workOrderAccept
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
信息编号 | xxbh | 是 | String(32) | ZJ16121903737293 | 目前只支持单个
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
### 2.1.1 信息反馈-查询条件
接口链接: /api/hisense/informationFeedbackCondition
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
{"return_code":"SUCCESS","return_msg":"成功","return_data":{"cache_is_return_bill":{"key":["","0","1"],"val":["请选择","否","是"]},"cache_service_type":{"key":["","AZ","WX","QT"],"val":["请选择","安装","维修","其他"]},"cache_wb_status":{"key":["","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","20","30","49","50","51","52"],"val":["请选择","待派工","已派工","已接收","已联系用户","已指派工程师","已反馈","已结单反馈","已结单","已自动审核","回访通过","回访不通过","抽访通过","抽访不通过","结算审核通过","结算审核不通过","冻结","确认冻结","已关闭","已结算","工程师取消","已取消","回访取消","确认取消"]},"cache_wb_type":{"key":["","0","1","6","5","4","7","9","3"],"val":["请选择","转1线咨询信息","普通工单","电话咨询信息","多次联系信息","回电咨询信息","表扬信息","投诉工单","投诉信息"]},"cache_product_id":{"key":["","RS","YJ","XG","RQ"],"val":["请选择","热水器","吸油烟机","消毒柜","燃气灶"]},"cache_logo_id":{"key":[""],"val":["请选择"]},"cache_if_special_deal":{"key":["","0","1"],"val":["请选择","否","是"]},"cache_engineer_if_finished":{"key":["","0","1"],"val":["请选择","否","是"]}}}
```
### 2.1.2 信息反馈-查询
接口链接: /api/hisense/informationFeedbackList
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
信息编号 | out_no | 否 | String(32) | |
区号 | area_code | 否 | String(32) | |
用户电话 | phone | 否 | String(32) | |
用户姓名 | customer_name | 否 | String(32) | |
回访退单 | return_bill | 否 | String(32) | | 2.1.1->cache_is_return_bill
服务类型 | service_type | 否 | String(32) | | 2.1.1->cache_service_type
登记时间 | start_time | 否 | String(32) | 201611270101 | 注意格式
登记时间 | end_time | 否 | String(32) | 201611280101 |
工单状态 | wb_status | 否 | String(32) | | 2.1.1->cache_wb_status
服务时间 | service_stime | 否 | String(32) | 20161127 | 注意格式
服务时间 | service_etime | 否 | String(32) | 20161128 |
工单类型 | wb_type | 否 | String(32) | | 2.1.1->cache_wb_type
产品大类 | product_id | 否 | String(32) | | 2.1.1->cache_product_id
品牌 | login_id | 否 | String(32) | | 2.1.1->cache_logo_id
特殊申请 | special_deal | 否 | String(32) | | 2.1.1->cache_if_special_deal
是否完成 | engineer_finished | 否 | String(32) | | 2.1.1->cache_engineer_if_finished
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
字段说明:
'no', //序号
'check', //
'days', //延迟天数
'out_no', //信息编号
'work_order_type', //工单类型
'feedback_people', //要求反馈人
'is_project', //工程单
'work_order_status', //工单状态
'dispatching_status', //派工状态
'is_completion', //是否完成
'customer_name', //用户姓名
'address', //详细地址
'phone', //电话
'engineer', //工程师
'acceptance_time', //服务受理时间
'product_id', //产品大类
'product_mid', //产品中类
'product_brand', //品牌
'product_type', //产品类型
'service_type', //服务类型
'service_time', //服务时间
'problem_desc', //问题描述
'fault_phenomenon', //故障现象
'fault_cause', //故障原因
'maintenance', //维修措施
'belong_branch', //所属公司
'call_center', //呼叫中心
'call_num', //联系次数
'amend_treaty', //改约
'receive_name', //接入员姓名
'customer_orgin', //客户来源
'print_num', //打印次数
'last_change', //最后修改人
'last_feedback', //最后反馈结果
返回数据:
{"return_code":"SUCCESS","return_msg":"成功","return_data":[{"no":"1","check":"","days":"1","out_no":"CC16112702933567","work_order_type":"回电咨询信息","feedback_people":"服务商","is_project":"否","work_order_status":"已反馈","dispatching_status":"派工完成","is_completion":"否","customer_name":"刘女士","address":"中国安徽省合肥市包河区盛大德新府1-1407","phone":", 15055145843,","engineer":"","acceptance_time":"2016-11-27 15:07","product_id":"燃气灶","product_mid":"燃气灶","product_brand":"海信","product_type":"","service_type":"咨询","service_time":"2016-11-27,下午,","problem_desc":"刘女士15055145843来电咨询燃气灶维修收费问题,请人员回电15055145843联系","fault_phenomenon":"","fault_cause":"","maintenance":"","belong_branch":"安徽合肥办事处","call_center":"西安呼叫中心","call_num":"2","amend_treaty":"否","receive_name":"KT夏军","customer_orgin":"热线","print_num":"","last_change":"合肥圳汇网络科技有限公司","last_feedback":""}]}
```
### 2.2.1 信息反馈-订单明细
接口链接: /api/hisense/informationFeedbackDetail
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
信息编号 | out_no | 是 | String(32) | CC16112702933567 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
字段说明:
'yhxxbh' => '用户信息编号',
'yhxm' => '姓名',
'yhdz' => '地址',
'yhqh' => '区号',
'jtdh' => '家庭电话',
'yhsj' => '手机',
'qtdh' => '其他电话',
'yhlb' => '用户类别',
'ssqx' => '所属区县',
'yhbz' => '备注',
'jrdl' => '接入道路',
'zxlx' => '咨询类型',
'zxfs' => '咨询方式',
'zxjjlx' => '在线解决类型',
'sfmyzx' => '是否用户不满意咨询',
'fywtms' => '反映问题描述',
'xgzjjfa' => '0线故障树解决方案',
'xgzdm' => '0线故障代码',
'xgzdmfa' => '0线故障代码解决方案',
'cpxxbh' => '产品信息编号',
'cpzl' => '产品中类',
'cppp' => '品牌',
'cpxl' => '产品系列',
'cpxh' => '产品型号、版本',
'jqlx' => '机器类型',
'gmrq' => '购买日期',
'fwdx' => '服务对象',
'azrq' => '安装日期',
'gmjg' => '购买价格',
'gmqd' => '渠道',
'cpxlh' => '产品序列号(外机编号)',
'esm' => '手机ESN号(内机编号)',
'imei' => '手机IMEI号',
'cpxlh2' => '产品序列号(内机编号2)',
'sfzjd' => '是否自接单未报',
'jjxlh' => '旧机产品序列号(外机编号)',
'jjesn' => '旧机手机ESN号(内机编号)',
'jjimei' => '旧机手机IMEI号',
'jixlh' => '旧机产品序列号(内机编号2)',
'jjgmsj' => '旧机购买时间',
'gdbh' => '工单编号',
'glgdh' => '关联工单号',
'yqfwlx' => '要求服务类型',
'yqfwfx' => '要求服务方式',
'dwts' => '对外投诉',
'yysjms' => '预约时间描述',
'fwsgysj' => '服务商改约时间',
'sfgy' => '是否改约',
'djbm' => '登记部门',
'fywtms1' => '反映问题描述',
'xhdsj' => '1线回电时间',
'xwtms' => '1线问题描述',
'xfwlx' => '1线要求服务类型',
'xfwfs' => '1线要求服务方式',
'sfgcd' => '是否工程单',
'gdlx' => '工单类型',
'gcdsl' => '工程单数量',
'gcdw' => '工程单位',
'gczs' => '工程总数',
'sjgcds' => '实际工程单数',
'tsfl' => '投诉分类',
'tsjb' => '投诉级别',
'fgssfwc' => '分公司是否完成',
'tsyy' => '投诉原因',
'lxcs' => '联系次数',
'khly' => '客户来源',
'sshjzx' => '所属呼叫中心',
'ssfgs' => '所属分公司',
'pgry' => '派工人员',
'pgsj' => '派工时间',
'zjxgr' => '最近修改人',
'zjxgrq' => '最近修改日期',
'ecpno' => 'ECP销售订单号',
'gps' => 'GPS安装地址',
'sjfwlx' => '实际服务类型',
'sjfwfx' => '实际服务方式',
'jdjg' => '鉴定结果',
'lxyhsj' => '联系用户时间',
'fwwcsj' => '服务完成时间',
'appgcs' => 'APP工程师',
'gcsa' => '工程师A',
'gcsb' => '工程师B',
'gcsc' => '工程师C',
'gcsd' => '工程师D',
'fwsbh' => '服务商编号',
'fwsmc' => '服务商名称',
'bxlx' => '保修类型',
'fwsjdsj' => '服务商结单时间',
'wwcyy' => '未完成原因',
'wwcyyms' => '未完成原因描述',
'zhfwsj' => '最近一次服务时间',
'zdshjg' => '自动审核结果',
'gzxx' => '故障现象',
'gzyy' => '故障原因',
'wxcs' => '维修措施',
'wxbj' => '维修部件',
'wxqkms' => '维修情况描述',
'bjsyzt' => '备件使用状态',
'scfksj' => '首次反馈时间',
'sfyzzj' => '是否用周转机',
'sfjggd' => '是否技改工单',
'sxbj' => '失效部件',
'bjxh' => '部件型号',
'gys' => '供应商',
'zjxgren' => '最近修改人',
'zjxgsj' => '最近修改时间',
'ptdyy' => '派/退单原因',
'gdzt' => '工单状态',
'qxyy' => '取消原因',
'hftdyy' => '回访退单原因',
'jqjj' => '旧件',
'fgsyj' => '分公司意见',
'yhbz2' => '备注2',
'yhldpj' => '用户来电评价',
'yqfkr' => '要求反馈人',
'fksb' => '反馈设备',
'zqyhxx' => '正确用户信息',
'yjbtf' => '远郊补贴费',
'byf' => '搬运费',
'clf' => '差旅费',
'yhbcf' => '用户补偿费',
'qtfy' => '其他费用',
'smjl' => '上门距离',
'wxf' => '维修费',
'clfei' => '材料费',
'qtf' => '其它费用',
'sjd' => '收据号',
'zgjcbhj' => '自构件成本合计',
'ssr' => '申诉人',
'sssj' => '申诉时间',
'ssms' => '申诉描述',
'shr' => '审核人',
'shsj' => '审核时间',
'shms' => '审核描述',
'htbh' => '合同编号',
'xmmc' => '项目名称',
'dls' => '代理商',
返回数据:
{"return_code":"SUCCESS","return_msg":"成功","yhxxbh":"USR1407314854738","yhxm":"刘女士","yhdz":"中国安徽省合肥市包河区盛大德新府1-1407","yhqh":"0551","jtdh":"","yhsj":"15055145843","qtdh":"","yhlb":"普通用户","ssqx":"合肥市包河区","yhbz":"","jrdl":"南淝河路","zxlx":"政策、费用类 ","zxfs":"回电","zxjjlx":"","sfmyzx":"否","fywtms":"刘女士15055145843来电咨询燃气灶维修收费问题,请人员回电15055145843联系","xgzjjfa":"","xgzdm":"","xgzdmfa":"","cpxxbh":"PRD1611267255717","cpzl":"燃气灶","cppp":"海信","cpxl":"","cpxh":"","jqlx":"","gmrq":"","fwdx":"","azrq":"","gmjg":"0","gmqd":"线下","cpxlh":"","esm":"","imei":"","cpxlh2":"","sfzjd":"","jjxlh":"","jjesn":"","jjimei":"","jixlh":"","jjgmsj":"","gdbh":"CC16112702933567","glgdh":"CC16112602884050","yqfwlx":"咨询","yqfwfx":"咨询","dwts":"","yysjms":"2016-11-27,下午","fwsgysj":"","sfgy":"否","djbm":"青岛呼叫中心","xhdsj":"","xwtms":"","xfwlx":"","xfwfs":"","sfgcd":"否","gdlx":"回电咨询信息","gcdsl":"","gcdw":"","gczs":"","sjgcds":"","tsfl":"","tsjb":"","fgssfwc":"否","tsyy":"","lxcs":"2","khly":"热线","sshjzx":"西安呼叫中心","ssfgs":"安徽合肥办事处","pgry":"系统","pgsj":"2016-11-2715:08:40","zjxgr":"合肥圳汇网络科技有限公司","zjxgrq":"2016-11-2715:07:19","ecpno":"","gps":"","sjfwlx":"","sjfwfx":"","jdjg":"","lxyhsj":"","fwwcsj":"","appgcs":"","gcsa":"","gcsb":"","gcsc":"","gcsd":"","fwsbh":"H-JD-551-0004","fwsmc":"合肥圳汇网络科技有限公司","bxlx":"","fwsjdsj":"","wwcyy":"","wwcyyms":"非海信产品,师傅上门收了30元检测费","zhfwsj":"2016-11-2715:18:00","zdshjg":"","gzxx":"","gzyy":"","wxcs":"","wxbj":"","wxqkms":"","bjsyzt":"","scfksj":"2016-11-2715:19:57","sfyzzj":"","sfjggd":"","sxbj":"","bjxh":"","gys":"","zjxgsj":"2016-11-2715:19:57","ptdyy":"自动分配成功","gdzt":"已反馈","qxyy":"","hftdyy":"","jqjj":"","fgsyj":"","yhbz2":"","yhldpj":"产品知识咨询来电","yqfkr":"服务商","fksb":"","zqyhxx":"","yjbtf":"","byf":"","clf":"","yhbcf":"","qtfy":"","smjl":"","wxf":"","clfei":"","qtf":"","sjd":"","zgjcbhj":"","ssr":"","sssj":"","ssms":"","shr":"","shsj":"","shms":"","htbh":"","xmmc":"","dls":""}
```
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
# 接口文档
* [格兰仕相关文档](galanz.md)
* [海信相关文档](hisense.md)
* [志高相关文档](chigo.md)
* [苏宁相关文档](suning.md)
\ No newline at end of file
# 苏宁相关接口文档
```
API域名: http://pp.weixiuhui.cn
```
## 一. 服务订单作业
### 1. 订单作业查询条件
接口链接: /api/suning/serviceOrderCondition
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
类型 | type | 是 | String(32) | 1 | 1:待接收; 2:可重派; 3:待核销;
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[siteBp] => Array
(
[904102] => 904102
)
[processType] => Array
(
[ZGS1] => 工程安装服务订单
[ZGS2] => 工程维修服务订单
[ZGS3] => 中央空调安装服务订单
[ZGS5] => 家用工程安装服务订单
[ZGS6] => 售后工程现场勘察服务订单
[ZGS8] => 工程维保服务订单
[ZS01] => 新机安装服务订单
[ZS02] => 辅助安装服务订单
[ZS03] => 移机服务订单
[ZS04] => 退换货拆装服务订单
[ZS06] => 上门维修服务订单
[ZS07] => 运回内修服务订单
[ZS08] => 不良品整理服务订单
[ZS09] => 用户送修检测类服务订单
[ZS10] => 用户送修维修类服务订单
[ZS11] => 上门鉴定服务订单
[ZS12] => 清洗/保养服务订单
[ZS24] => 家电回收服务订单
)
)
)
```
### 1.1 订单查询作业
接口链接: /api/suning/serviceOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
类型 | type | 是 | String(32) | 1 | 1:待接收; 2:可重派; 3:待核销;
网点BP | siteBp | 是 | String(32) | 904102 | serviceOrderCondition->siteBp
订单号 | objectIds | 否 | String(32) | 7215780659 | 多个用(,)隔开
开始时间 | startTime | 否 | String(32) | 20161020 |
结束时间 | endTime | 否 | String(32) | 20161031 |
订单类型名称 | processTypeName | 否 | String(32) | 家电回收服务订单 | serviceOrderCondition->processType 的val
订单类型编号 | processType | 否 | String(32) | ZS24 | serviceOrderCondition->processType 的key
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[conSignee] => 吴传佳
[mobPhoneNum] =>
[phoneNum] =>
[srvAddress] => 深圳市龙岗区全区同乐大坑路78号B202
[cmmdtyName] => 滚筒维修
[salesDate] => 2013-03-04
[qualityMarkDesc] => 延保
[salesOrder] => 00019267808501
[invoiceNo] =>
[markNewMore] =>
[ybSalesOrder] => 0501181904
[faultCodeDes3] => 排水开关失灵
[srvMemo] => 上午
[arrivalTime] =>
[srvOrder] => 7215786977
[processType] => ZS06
[proName] => 维修
[srvCmmdtyAmount] => 1.000
[srvTime] => 2016-10-25 18:00:00
[jobSitNew] => 904102
[workerBpName] => 梁永恒
[arrivalStatus] =>
[noCompleReason] =>
[zzxdje] => 0.00
[zznjh] =>
[zzwjh] =>
[zzqtsx1] =>
[zzcustomerH0630] =>
[srvCardId] =>
[faultCodeDes1] =>
[faultCodeDes2] =>
[fixCodeDes1] =>
[fixCodeDes2] =>
[fixCodeDes3] =>
[serviceCard] =>
)
)
)
```
### 2. 接收订单作业
接口链接: /api/suning/receiveServiceOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
订单对象 | object | 是 | Text | | 参数如下
```
订单对象:
单个: [{"srvOrder":"7215771956","processType":"ZS06"}]
多个: [{"srvOrder":"7215780659","processType":"ZS06"},{"srvOrder":"7215784445","processType":"ZS06"},{"srvOrder":"7215735612","processType":"ZS06"}]
```
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[result] => success
[7215735612] => success
[7215784445] => success
[7215780659] => success
)
)
)
```
## 二. 服务订单查询
### 1. 获取订单查询条件
接口链接: /api/suning/selectServiceOrderCondition
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[siteBp] => Array
(
[904102] => 904102
)
[processType] => Array
(
[ZGS1] => 工程安装服务订单
[ZGS2] => 工程维修服务订单
[ZGS3] => 中央空调安装服务订单
[ZGS5] => 家用工程安装服务订单
[ZGS6] => 售后工程现场勘察服务订单
[ZGS8] => 工程维保服务订单
[ZS01] => 新机安装服务订单
[ZS02] => 辅助安装服务订单
[ZS03] => 移机服务订单
[ZS04] => 退换货拆装服务订单
[ZS06] => 上门维修服务订单
[ZS07] => 运回内修服务订单
[ZS08] => 不良品整理服务订单
[ZS09] => 用户送修检测类服务订单
[ZS10] => 用户送修维修类服务订单
[ZS11] => 上门鉴定服务订单
[ZS12] => 清洗/保养服务订单
[ZS24] => 家电回收服务订单
[9999] => 送装一体服务订单
)
[orderStatus] => Array
(
[30] => 已接收
[50] => 已销单
[S0007] => 已另约
[S0008] => 已取消
[70] => 已核销
)
[mark] => 1
)
)
```
### 1.1 订单查询
接口链接: /api/suning/selectServiceOrder
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
账号ID | appid | 是 | String(32) | 10001
随机字符串 | nonce_str | 是 | String(32) | 76bt136lwffmhxdxykqmkej1hdhehcpn
签名 | sign | 是 | String(32) | 5K8264ILTKCH16CQ2502SI8ZNMTM67VS | 签名算法
账号 | account | 是 | String(32) | c01000005 |
密码 | pwd | 是 | String(32) | c01000005 |
mark | mark | 是 | String(32) | 1 | selectServiceOrderCondition->mark
网点BP | siteBp | 是 | String(32) | 904102 | selectServiceOrderCondition->siteBp
手机号 | phone | 否 | String(32) | 18622221111 |
订单号 | objectIds | 否 | String(32) | 7215780659 | 多个用(,)隔开
开始时间 | startTime | 否 | String(32) | 20161020 |
结束时间 | endTime | 否 | String(32) | 20161031 |
订单类型名称 | processTypeName | 否 | String(32) | 家电回收服务订单 | selectServiceOrderCondition->processType 的val
订单类型编号 | processType | 否 | String(32) | ZS24 | selectServiceOrderCondition->processType 的key
订单状态名称 | orderStatusName | 否 | String(32) | 已接收 | selectServiceOrderCondition->orderStatus 的val
订单状态 | orderStatus | 否 | String(32) | 30 | selectServiceOrderCondition->orderStatus 的key
```
备注:
1. 查询时间, 订单号, 手机号至少输入一个查询条件
2. 查询时间跨度不能超过30天
```
###### 返回结果
字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述
---|---|---|---|---|---
返回状态码 | return_code | 是 | String(32) | SUCCESS | SUCCESS/FAIL,是否成功需要查看result_code来判断
返回信息 | return_msg | 否 | String(128) | 签名失败 | 错误原因
返回内容 | return_data | 否 | Array | |
```
Array
(
[return_code] => SUCCESS
[return_msg] => 成功
[return_data] => Array
(
[0] => Array
(
[conSignee] => 邓碧燕
[mobPhoneNum] => 13423871233
[phoneNum] => 13423871233
[srvAddress] => 深圳市宝安区石岩街道应人石新村二巷16栋
[cmmdtyName] => 格兰仕 XQB60-J5 全自动波轮洗衣机
[salesDate] => 2016-02-28
[qualityMarkDesc] => 保内
[salesOrder] => 00036251259701
[invoiceNo] =>
[markNewMore] =>
[ybSalesOrder] =>
[faultCodeDes3] => 不脱水
[srvMemo] => 去联13423871233 已安排师傅晚点上门 用户没时间,要晚上上门
[arrivalTime] =>
[srvOrder] => 7215780659
[processType] => ZS06
[proName] => 维修
[srvCmmdtyAmount] => 1.000
[srvTime] => 2016-10-30 18:00:00
[jobSitNew] => 904102
[workerBpName] => 梁永恒
[arrivalStatus] => E0001
[noCompleReason] => 顾客要求
[zzxdje] => 0.000
[zznjh] =>
[zzwjh] =>
[zzqtsx1] =>
[zzcustomerH0630] =>
[srvCardId] =>
[faultCodeDes1] =>
[faultCodeDes2] =>
[fixCodeDes1] =>
[fixCodeDes2] =>
[fixCodeDes3] =>
[serviceCard] =>
)
)
)
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment