- 城市基本数据
- 维护成本中心和发票抬头
- 项目管理
- 出差申请
- 订单管理
- 阿里商旅跳转链接
- 发票管理
- 市内用车申请
- 获取月对账结算数据POST
- 查询预估价POST
获取申请单详情
POST
http://127.0.0.1/topapi/alitrip/btrip/apply/get
生态伙伴API/阿里商旅/出差申请
最后修改时间:2022-08-30 09:19:23
责任人:未设置
说明#
服务地址:https://oapi.dingtalk.com
权限#
应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 是 | 开发者后台申请 | 调试 |
第三方企业应用 | 是 | 开发者后台申请 | 调试 |
第三方个人应用 | 否 | — | — |
请求参数
Query 参数
access_token
string
必需
示例值:
dc73axxxx
Body 参数application/json
rq
object
请求对象。
thirdpart_apply_id
string
外部审批单ID。
apply_id
number
可选
apply_show_id
string
可选
corpid
string
必需
示例
{
"rq": {
"apply_show_id": "201710111505000464651",
"corpid": "corp1",
"thirdpart_apply_id": "abcdef",
"apply_id": "123"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/topapi/alitrip/btrip/apply/get?access_token=dc73axxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"rq": {
"apply_show_id": "201710111505000464651",
"corpid": "corp1",
"thirdpart_apply_id": "abcdef",
"apply_id": "123"
}
}'
返回响应
🟢200成功
application/json
Body
module
object
审批单对象。
id
number
商旅审批单ID。
apply_show_id
string
商旅审批展示ID。
gmt_create
string
创建时间。
gmt_modified
string
更新时间。
thirdpart_id
string
可选
corpid
string
可选
corp_name
string
企业名称。
userid
string
可选
user_name
string
用户姓名。
deptid
string
部门ID。
trip_day
number
出差天数。
dept_name
string
部门名称。
trip_cause
string
出差事由。
trip_title
string
审批单标题。
status
number
可选
status_desc
string
审批单状态描述。
itinerary_list
array [object {11}]
行程列表。
traveler_list
array [object {2}]
出行人列表。
approver_list
array [object {7}]
审批人列表。
errmsg
string
返回码描述。
errcode
number
返回码。
success
boolean
操作是否成功。
示例
{
"module": {
"id": 0,
"apply_show_id": "string",
"gmt_create": "string",
"gmt_modified": "string",
"thirdpart_id": "string",
"corpid": "string",
"corp_name": "string",
"userid": "string",
"user_name": "string",
"deptid": "string",
"trip_day": 0,
"dept_name": "string",
"trip_cause": "string",
"trip_title": "string",
"status": 0,
"status_desc": "string",
"itinerary_list": [
{
"trip_way": 0,
"itinerary_id": "string",
"traffic_type": 0,
"dep_city": "string",
"arr_city": "string",
"dep_date": "string",
"cost_center_name": "string",
"arr_date": "string",
"invoice_name": "string",
"project_title": "string",
"project_code": "string"
}
],
"traveler_list": [
{
"userid": "string",
"user_name": "string"
}
],
"approver_list": [
{
"order": 0,
"userid": "string",
"user_name": "string",
"status": 0,
"status_desc": "string",
"note": "string",
"operate_time": "string"
}
]
},
"errmsg": "string",
"errcode": 0,
"success": true
}

修改于 2022-08-30 09:19:23