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

开放平台

获取服务报价单信息

请求方式:

GET

请求地址:

https://api.eshouhou.cn/api/CustomerService/GetServiceQuotation?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw


请求参数:

参数

类型

必填

名称

备注

workOrderId

string

工单id


 

返回参数:

参数

类型

必填

名称

ResultCode

String

返回编码

ErrorMsg

String

返回信息

ResultValue

Object

返回对象

 

ResultValue对象:

参数

类型

必填

名称

备注

ID

string

报价单id


ServiceSpaceID

string

服务空间id


WorkOrderID

string

工单id


FavorablePrice

string

优惠后价格


TotalPrice

string

报价总价格


Remark

string

备注


Accessorys

Array

备件集合


FeeItems

Array

服务项目集合


OtherFeeItems

Array

其他收费项目


Accessorys

Array

配件集合


Accessoryfee

Array

材料费用


Servicefee

Array

服务费用


Otherfee

Int

其他费用


AllAmount

String

总费用


IsQuotationBtn

Bool

是否显示确认报价按钮


 

请求示例:

https://api.eshouhou.cn /api/CustomerService/GetServiceQuotation?access_token= eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTI&workOrderId=80404fbe-6b8b-45f1-9de9-e02e8f2ae9e1

 

返回成功示例:

{

"ResultCode": 0,

"ErrorMsg": "",

"ResultValue": {

   "ID": "cb3c0a6c-1363-464c-993d-6e410b86e680",

   "UserID": null,

   "ServiceSpaceID": "6a8251ba-ce64-46b7-a505-a4e560032706",

   "WorkOrderID": "470c951e-59f9-46e7-9ca8-6a14c143534c",

   "IsEnabledSMS": false,

   "IsEnabledWeChat": false,

   "IsEnabledMail": false,

   "FavorablePrice": 293.00,

   "TotalPrice": 293.00,

   "Remark": "",

   "WorkProcessID": "f2625620-0b34-4dbf-b7f2-6873b239e478",

   "AccessoryArray": null,

   "Accessorys": [

       {

           "ServiceSpaceID": null,

           "WorkOrderID": null,

            Accessory": {

              "CategoryID": null,

              "CategoryName": null,

              "ServiceSpaceID": null,

              "ServiceSpaceName": null,

              "Code": "9320450002",

              "Name": "水流及温度传感器",

              "Spec": "",

              "Type": "1.01.03.121",

              "Unit": "",

              "Brand": null,

              "Barcode": "",

              "ImgUrl": "",

              "Price": null,

              "CustomerPrice": "64.00",

              "NetworkPrice": "32.00",

              "StaffPrice": "40.00",

              "IsCharged": false,

              "IsDeleted": false,

              "WarrantyPeriod": null,

              "WarrantyPeriodName": null,

              "ID": "1122"

           },

           "Price": 0.0,

           "Count": 1

           },

           {

              "ServiceSpaceID": null,

              "WorkOrderID": null,

              "Accessory": {

                 "CategoryID": null,

                 "CategoryName": null,

                 "ServiceSpaceID": null,

                 "ServiceSpaceName": null,

                 "Code": "9320460001",

                 "Name": "晶智塑料出水管",

                 "Spec": "",

                 "Type": "CSL210079",

                 "Unit": "",

                 "Brand": null,

                 "Barcode": "",

                 "ImgUrl": "https://esh-resources-test.oss-cn-beijing.aliyuncs.com/product/37f976d8-0e87-4804-b06a-02224e6bc3d6_product.png",

                 "Price": null,

                 "CustomerPrice": "29.00",

                 "NetworkPrice": "14.00",

                 "StaffPrice": "20.00",

                 "IsCharged": false,

                 "IsDeleted": false,

                 "WarrantyPeriod": null,

                 "WarrantyPeriodName": null,

                 "ID": "1124"

             },

             "Price": 0.0,

             "Count": 1

         }

     ],

     "FeeItemArray": null,

     "FeeItems": [

         {

             "ServiceSpaceID": null,

             "WorkOrderID": null,

             "FeeItem": {

                 "ServiceSpaceID": "6a8251ba-ce64-46b7-a505-a4e560032706",

                 "CategoryID": "1",

                 "CategoryName": "家电",

                 "Name": "[示例]拆装维修",

                 "Description": "对维修产品进行拆装维修",

                 "CustomerPrice": "50.00",

                 "NetworkPrice": "30.00",

                 "StaffPrice": "5.00",

                 "IsCharged": false,

                 "Amount": 0.0,

                 "Count": 0,

                 "ID": "1"

             },

             "Price": 0.0,

             "Count": 1

         }

     ],

     "OtherFeeItemArray": null,

     "OtherFeeItems": [

         {

             "ServiceSpaceID": null,

             "WorkOrderID": null,

             "FeeItem": {

                 "ServiceSpaceID": "6a8251ba-ce64-46b7-a505-a4e560032706",

                 "Name": "差旅费",

                 "Description": "",

                 "CustomerPrice": "50.00",

                 "NetworkPrice": "20.00",

                 "StaffPrice": "20.00",

                 "IsCharged": false,

                 "Amount": 0.0,

                 "ID": "2"

             },

             "Price": 0.0,

             "Count": 1

         }

     ],

     "CreateTime": null,

     "HasAccessory": false,

     "Accessoryfee": 93.00,

     "Servicefee": 50.00,

     "Otherfee": 150.00,

     "AllAmount": 293.00,

     "IsQuotationBtn": true,

     "IsShowCancelBtn": true

 }

}


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