行程类型
请求参数
参数说明
字段名称 |
字段类型 |
是否必填 |
字段说明 |
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 新增行程类型文档