API中心

  1. 基本档案
  2. 币种档案
返回

币种档案查询

接口所在U8C版本:U8 cloud2.7以及更高版本
详细描述:用于币种档案查询
API视频讲解API详情补丁列表常见问题参考
接口地址
请求方式
请求参数header
请求参数body
返回类型参数
代码示例
请求参数示例
正确返回示例
错误返回示例
接口地址:http://ip:port/u8cloud/api/uapbd/bdcurrtype/query

参数填写指南

请求方式:POST

请求参数(header):

参数填写指南
参数名必填描述默认值
Content-Type请求体数据类型application/json
usercode用户
password密码
system系统参数

请求参数(body):

参数名类型是否数组必填描述默认值
currtypecode币种编码
currtypename币种名称
dr删除标志
endts结束时间
page_now当前页
page_size页数
startTs开始时间

返回类型参数:

参数名类型是否数组必填描述默认值
CurrtypeVO币种档案vo
currbusidigitstring业务系统精度
currdigitstring财务系统精度
currtypecodestring币种编码
currtypenamestring币种名称
currtypesignstring币种币符
dsstring删除标志
pk_currtypestring币种主键
trstring时间戳

请求参数示例:

复制代码

{"currtypecode":"","currtypename":"","page_now":"1","page_size":"10","startTs":"2021-08-09 14:32:00","endTs":"2021-08-10 14:32:00"}

正确返回示例:

复制代码

输入的json:{}
返回的数据:{
返回的数据:  "status": "success",
返回的数据:  "data": "{\"allcount\":2,\"retcount\":2,\"datas\":[{\"currbusidigit\":\"2\",\"currdigit\":\"2\",\"currtypecode\":\"CNY\",\"currtypename\":\"人民币\",\"currtypesign\":\"¥\",\"dr\":\"0\",\"pk_currtype\":\"00010000000000000001\",\"ts\":\"2003-08-26 15:32:00\"},{\"currbusidigit\":\"2\",\"currdigit\":\"2\",\"currtypecode\":\"USD\",\"currtypename\":\"美元\",\"currtypesign\":\"$\",\"dr\":\"0\",\"pk_currtype\":\"00010000000000000002\",\"ts\":\"2003-08-26 15:32:00\"}]}"
返回的数据:}
{
{

错误返回示例:

复制代码

{

system- error: "请求头中缺少请求的系统"

}