| 应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 是 | 开发者后台申请 | 调试 |
| 第三方企业应用 | 是 | 开发者后台申请 | 调试 |
| 第三方个人应用 | 否 | — | — |
{
"rq": {
"corpid": "corp1",
"user_name": "张三",
"deptid": "dept1",
"dept_name": "淘宝",
"corp_name": "阿里巴巴",
"userid": "user1",
"traveler_list": {
"user_name": "张三",
"userid": "user1"
},
"trip_day": "1",
"thirdpart_apply_id": "12345",
"trip_title": "北京出差",
"thirdpart_business_id": "12345",
"itinerary_list": {
"arr_city_code": "BJS",
"thirdpart_cost_center_id": "12345",
"arr_city": "北京",
"arr_date": "2017-01-01 00:00:00",
"cost_center_id": "123",
"trip_way": "0",
"itinerary_id": "123456",
"dep_city": "杭州",
"traffic_type": "0",
"project_code": "xm1",
"project_title": "项目1",
"dep_date": "2017-01-01 00:00:00",
"dep_city_code": "HGH",
"invoice_id": "1234"
},
"trip_cause": "北京出差",
"status": "0"
}
}curl --location --request POST 'http://127.0.0.1/topapi/alitrip/btrip/approval/modify?access_token=dc73axxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"rq": {
"corpid": "corp1",
"user_name": "张三",
"deptid": "dept1",
"dept_name": "淘宝",
"corp_name": "阿里巴巴",
"userid": "user1",
"traveler_list": {
"user_name": "张三",
"userid": "user1"
},
"trip_day": "1",
"thirdpart_apply_id": "12345",
"trip_title": "北京出差",
"thirdpart_business_id": "12345",
"itinerary_list": {
"arr_city_code": "BJS",
"thirdpart_cost_center_id": "12345",
"arr_city": "北京",
"arr_date": "2017-01-01 00:00:00",
"cost_center_id": "123",
"trip_way": "0",
"itinerary_id": "123456",
"dep_city": "杭州",
"traffic_type": "0",
"project_code": "xm1",
"project_title": "项目1",
"dep_date": "2017-01-01 00:00:00",
"dep_city_code": "HGH",
"invoice_id": "1234"
},
"trip_cause": "北京出差",
"status": "0"
}
}'{
"success": true,
"errcode": 0,
"errmsg": "string",
"module": {
"apply_id": 0,
"thirdpart_apply_id": "string"
}
}