里程保存接口

接口地址

/openapi/carmileage/detail/{carMileageCode}

请求类型

GET

请求参数

参数说明

参数名称 类型 是否必填 参数说明
carMileageCode String 里程补贴编码

参数示例

ECA2403131KHZHITC

响应参数

参数说明

参数名称 类型 是否必填 参数说明
code String 里程补贴编码
employeeId String 员工编码
employeeName String 员工名称
expenseCode String 费用编码
allowanceStatus String 里程补贴状态
OPENAPI_FINISH - 已完成
OPENAPI_PROCESSING - 进行中
OPENAPI_TEMPORARY
distance double 里程补贴距离
duration long 里程补贴时长
pointList List 里程补贴点位信息
limitViaSize int 里程补贴途经点最大个数,默认为-1,表示不限制

Point 里程补贴点位信息

参数名称 类型 是否必填 参数说明
code String 里程补贴点位编码
allowanceCode String 里程补贴编码
type String 里程补贴点位类型
START - 开始
END - 结束
VIA - 途经点
address String 里程补贴点位地址
latitude double 里程补贴点位纬度
longitude double 里程补贴点位经度
timeStamp long 里程补贴点位时间戳

参数示例

{
 "code": "ACK",
 "message": "",
 "data": {
  "list": [
   {
    "code": "ECA2403081HPEA1HC",
    "employeeId": "zhangsan",
    "employeeName": "张三",
    "expenseCode": null,
    "allowanceStatus": "OPENAPI_FINISH",
    "distance": 0.01,
    "duration": 0,
    "pointList": [
     {
      "code": "CAP2403081HPEB6KG",
      "allowanceCode": "ECA2403081HPEA1HC",
      "type": "START",
      "address": "浙江省杭州市莫干山路1号",
      "latitude": "24.12312414",
      "longitude": "120.11111"
     },
     {
      "code": "CAP2403081HPVU874",
      "allowanceCode": "ECA2403081HPEA1HC",
      "type": "END",
      "address": "浙江省杭州市莫干山路1号",
      "latitude": "24.12312414",
      "longitude": "120.11111"
     }
    ],
    "limitViaSize": 2
   },
   {
    "code": "ECA2403081HNUVRPC",
    "employeeId": "zhangsan",
    "employeeName": "张三",
    "expenseCode": null,
    "allowanceStatus": "OPENAPI_FINISH",
    "distance": 0.01,
    "duration": 0,
    "pointList": [
     {
      "code": "CAP2403081HNUWQGW",
      "allowanceCode": "ECA2403081HNUVRPC",
      "type": "START",
      "address": "浙江省杭州市莫干山路1号",
      "latitude": "24.12312414",
      "longitude": "120.11111"
     },
     {
      "code": "CAP2403081HOX1NUO",
      "allowanceCode": "ECA2403081HNUVRPC",
      "type": "END",
      "address": "浙江省杭州市莫干山路1号",
      "latitude": "24.12312414",
      "longitude": "120.11111"
     }
    ],
    "limitViaSize": 2
   },
   {
    "code": "ECA2403081HMVPF5S",
    "employeeId": "zhangsan",
    "employeeName": "张三",
    "expenseCode": null,
    "allowanceStatus": "OPENAPI_FINISH",
    "distance": 0.01,
    "duration": 0,
    "pointList": [
     {
      "code": "CAP2403081HMVQCCG",
      "allowanceCode": "ECA2403081HMVPF5S",
      "type": "START",
      "address": "浙江省杭州市莫干山路1号",
      "latitude": "24.12312414",
      "longitude": "120.11111"
     },
     {
      "code": "CAP2403081HNHSA9S",
      "allowanceCode": "ECA2403081HMVPF5S",
      "type": "END",
      "address": "浙江省杭州市莫干山路1号",
      "latitude": "24.12312414",
      "longitude": "120.11111"
     }
    ],
    "limitViaSize": 2
   }
  ],
  "hasNextPage": true
 },
 "errorCode": null,
 "success": true
}
Copyright © 杭州每刻科技有限公司 www.maycur.com all right reserved,powered by Gitbook该文件修订时间: 2024-11-20 10:52:00

results matching ""

    No results matching ""

    results matching ""

      No results matching ""