Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Current »

基准URL: /smartfin/api/v1/phy_trade_app

批准 / 拒绝合同审批


POST /smartfin/api/v1/phy_trade_oa/action

批准或拒绝输入的合同

验证 / 授权

  • API密钥(令牌)

请求标头

架构


请求标头:

Screenshot 2024-03-01 at 11.26.10 AM.png

Authorization (验证):

  • JWT <<您的API密钥(令牌)>> (必填项)

请求载荷

例子:

JSON 主体:

{
   "update_rows":[ 
        {
            "phy_trade_id": 103448,
            "app_status": 2
        
        },
        {
            "phy_trade_id": 103444,
            "app_status": 5
        }
    ]
}

请求架构


app_status必须为2(审批通过)与 5(拒绝)

响应 (成功):

{
    "error_code": 0,
    "value": "SUCCESS"
}

响应 (失败):

{
    "error_code": 3000,
    "error_msg": "PT1040: INVALID APP STATUS FOR OA PROCESSING"
}

  • No labels