行程类型

请求参数

参数说明

字段名称 字段类型 是否必填 字段说明
travelRouteCode String(100) 行程code
expenseCodeList List<String> 行程关联的费用,费用的唯一主键
applicationExpenseCodeList List< String> 行程关联的申请单明细,申请单明细的唯一主键
travelCity CityInput 行程起止城市
travelTime DateTimeInput 行程起止时间
tripWay String(20) 单程往返 SINGLE单程 ROUND_TRIP往返
travelDays double 出差天数
travelPartnerInfo TravelPartnerInfo 行程参与人
customObject CustomObject 自定义字段

参数样例

{
  "travelRouteCode":"TRC1906171XPM26M8",
  "expenseCodeList": ["CODE01"],
  "applicationExpenseCodeList": ["CODE01"],
  "travelCity": {
    "departure":"330100",
    "departureFullCode":"domestic-ZH32-ZH32_1",
    "departureText":"杭州市",
    "destination":"110000",
    "destinationFullCode":"domestic-ZH1-ZH1_0",
    "destinationText":"北京市"
  },
  "travelTime": {
    "startTime":1546272000000,
    "endTime":1548950400000
  },
  "tripWay": "ROUND_TRIP",
  "travelDays": 2.0,
  "travelPartnerInfo": {
    "internalTravelPartner": [{
      "name": "张三",
      "employeeId": "001",
      "departmentBizCode": "CODE01",
      "departmentName": "",
      "classPosition": "",
      "gender": "",
      "enName": {
        "firstName": "JIM",
        "middleName": "D",
        "lastName": "SMITH"
      },
      "peopleNum": 10,
      "idInfo": {
        "idType": "ID_CARD",
        "idNumber": "421XXXXXXX"
      },
      "customObject": {  }
    }],
    "externalTravelPartner": [{
      "name": "张三",
      "gender": "",
      "enName": {
        "firstName": "JIM",
        "middleName": "D",
        "lastName": "SMITH"
      },
      "peopleNum": 10,
      "idInfo": {
        "idType": "ID_CARD",
        "idNumber": "421XXXXXXX"
      },
      "customObject": {  }
    }]
  },
  "customObject": {  }
}

修改记录

2023-02-08  新增行程类型文档
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 ""