采购平台2.0对接OA
  1. 每刻报销
采购平台2.0对接OA
  • 测试接口
    • 组织部门列表
      GET
    • 申请人员列表
      GET
  • 预立项单推送OA
    • 获取secrit
      POST
    • 获取token
      POST
    • 推送OA预立项单
      POST
    • 获取分部列表
      POST
  • 每刻报销
    • 获取每刻secret
      GET
    • 接口认证
      POST
    • 查询往来单位详情列表
      POST
    • 导入往来单位信息
      POST
    • 根据工号查询员工详情
      POST
    • 部门列表查询
      POST
    • 根据部门编码查询部门及子部门下的员工
      POST
    • 申请单导入
      POST
    • 申请单删除接口
      DELETE
    • 验收单导入
      POST
  • 获取token(必需)
    POST
  • 物料分类列表
    GET
  • 供应商列表
    GET
  • OA推送正式立项单(立项通过)
    POST
  • OA预立项单不通过(立项失败)
    POST
  • 获取发货单详情
    GET
  • 发货订单推送OA
    POST
  • 变更OA预立项状态
    POST
  • OA推送验收订单
    POST
  1. 每刻报销

接口认证

开发中
正式环境
https://caigou.gaokaowin.com/index.php
正式环境
https://caigou.gaokaowin.com/index.php
POST
/api/openapi/auth/login

请求参数

Body 参数application/json
secret
string 
必需
请求秘钥,参考秘钥生成方式
appCode
string 
请求code
必需
timestamp
string 
必需
当前时间戳,毫秒。注:该时间戳和加密使用的毫秒时间戳需保持一致。
示例
{
    "secret": "string",
    "appCode": "string",
    "timestamp": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://caigou.gaokaowin.com/index.php/api/openapi/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "secret": "string",
    "appCode": "string",
    "timestamp": "string"
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2025-03-12 08:34:22
上一页
获取每刻secret
下一页
查询往来单位详情列表
Built with