1. 指令
yitou
  • core
    • 指令
      • 查询母基金持仓
        GET
      • 查询在途交易记录
        GET
      • 设置流程变量(部分指令确认后使用)
        POST
      • 查询列表
        POST
      • 获取现金
        GET
  1. 指令

设置流程变量(部分指令确认后使用)

开发中
POST
/yitou/v1/activiti/set_variables
haveState=1表示已确认,后端会去保存对应申赎记录,保存后会设置fundTradedRecordId属性,当fundTradedRecordId不为空时不会再保存,查询到的fundTradedRecordId需要原本返回

请求参数

Authorization
在 header 添加参数
YITOULOGINTOKEN
示例:
YITOULOGINTOKEN: ********************
Query 参数

Body 参数text/plain
示例
示例值:{"applyInstructionsJson":[{"id":169206597468547,"investorType":1,"investorCode":"","investorId":165209038354624,"investorName":"测试产品","investorRegCode":"","tradeFundCode":"S2308031542450005","tradeFundName":"xxx33","tradeFundRegCode":"1112","instructionsDirection":1,"instructionsAmount":1222,"instructionsShare":0,"instructionsDay":"20230801","investmentManagerId":null,"investmentManagerName":null,"instructionsState":1,"strategy":"HR.I20001","latestNavDate":"20230801","nav":3,"certiType":"","certiNum":"","hereHoldShare":0,"availableCash":0,"managerNominalCode":"","managerNominalName":null,"productManagerId":161914474939890,"productManagerName":"王晨","orgId":1,"createUserId":1,"createUserName":"管理员","createTime":1692065974565,"updateTime":null,"counselorCode":null,"counselorName":null,"isConfirmApply":null,"confBalance":null,"confShares":null,"commission":null,"oriSerialNum":null,"serialNum":null,"fileInformation":null,"confirmDate":null,"profitBalance":null,"applyInstructionsId":null,"customerId":null,"processInstanceBean":null,"haveState":1}]}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/yitou/v1/activiti/set_variables?taskId=480021' \
--header 'YITOULOGINTOKEN: <api-key>' \
--header 'Content-Type: text/plain' \
--data-raw '{"applyInstructionsJson":[{"id":169206597468547,"investorType":1,"investorCode":"","investorId":165209038354624,"investorName":"测试产品","investorRegCode":"","tradeFundCode":"S2308031542450005","tradeFundName":"xxx33","tradeFundRegCode":"1112","instructionsDirection":1,"instructionsAmount":1222,"instructionsShare":0,"instructionsDay":"20230801","investmentManagerId":null,"investmentManagerName":null,"instructionsState":1,"strategy":"HR.I20001","latestNavDate":"20230801","nav":3,"certiType":"","certiNum":"","hereHoldShare":0,"availableCash":0,"managerNominalCode":"","managerNominalName":null,"productManagerId":161914474939890,"productManagerName":"王晨","orgId":1,"createUserId":1,"createUserName":"管理员","createTime":1692065974565,"updateTime":null,"counselorCode":null,"counselorName":null,"isConfirmApply":null,"confBalance":null,"confShares":null,"commission":null,"oriSerialNum":null,"serialNum":null,"fileInformation":null,"confirmDate":null,"profitBalance":null,"applyInstructionsId":null,"customerId":null,"processInstanceBean":null,"haveState":1}]}'

返回响应

🟢200成功
application/json
Body

示例
{
    "err": 0,
    "msg": ""
}
修改于 2023-08-15 08:29:11
上一页
查询在途交易记录
下一页
查询列表
Built with