alitrip

package
v1.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package alitrip 阿里商旅

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func ABtripCostCenterModify

func ABtripCostCenterModify(ctx *dingding.App, payload []byte) (resp []byte, err error)

修改成本中心

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kaklal

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/cost/center/modify?access_token=ACCESS_TOKEN

Example
Output:

func BtripCostCenterDelete

func BtripCostCenterDelete(ctx *dingding.App, payload []byte) (resp []byte, err error)

删除成本中心

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kaklal

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/cost/center/delete?access_token=ACCESS_TOKEN

Example
Output:

func BtripCostCenterEntityDelete

func BtripCostCenterEntityDelete(ctx *dingding.App, payload []byte) (resp []byte, err error)

删除成本中心人员信息

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kaklal

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/cost/center/entity/delete?access_token=ACCESS_TOKEN

Example
Output:

func BtripCostCenterEntitySet

func BtripCostCenterEntitySet(ctx *dingding.App, payload []byte) (resp []byte, err error)

设置成本中心人员信息

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kaklal

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/cost/center/entity/set?access_token=ACCESS_TOKEN

Example
Output:

func BtripCostCenterNew

func BtripCostCenterNew(ctx *dingding.App, payload []byte) (resp []byte, err error)

新建成本中心

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kaklal

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/cost/center/new?access_token=ACCESS_TOKEN

Example
Output:

func BtripCostCenterQuery

func BtripCostCenterQuery(ctx *dingding.App, payload []byte) (resp []byte, err error)

查询成本中心

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kaklal

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/cost/center/query?access_token=ACCESS_TOKEN

Example
Output:

func BtripCostCenterTransfer

func BtripCostCenterTransfer(ctx *dingding.App, payload []byte) (resp []byte, err error)

商旅成本中心转换为外部成本中心

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kaklal

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/cost/center/transfer?access_token=ACCESS_TOKEN

Example
Output:

func BtripFlightCitySuggest

func BtripFlightCitySuggest(ctx *dingding.App, payload []byte) (resp []byte, err error)

机票城市搜索

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kg5g2g

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/flight/city/suggest?access_token=ACCESS_TOKEN

Example
Output:

func BtripTrainCitySuggest

func BtripTrainCitySuggest(ctx *dingding.App, payload []byte) (resp []byte, err error)

火车票城市搜索

See: https://ding-doc.dingtalk.com/doc#/serverapi2/kg5g2g

POST https://oapi.dingtalk.com/topapi/alitrip/btrip/train/city/suggest?access_token=ACCESS_TOKEN

Example
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL