交易对手信息
开发中
POST
请求参数
Body 参数application/json
id
integer
主键
>= 1<= 18446744073709552000
tenant_id
string
可选
<= 12 字符
默认值:
null
org_id
integer
组织
>= -9223372036854776000<= 9223372036854776000
默认值:
null
code
string
可选
<= 32 字符
默认值:
null
name
string
可选
<= 128 字符
默认值:
null
mnemonic_code
string
可选
<= 16 字符
默认值:
null
classify
integer
交易对手种类
>= -128<= 127
counterparty_type_id
integer
交易对手分类ID
>= -9223372036854776000<= 9223372036854776000
默认值:
null
counterparty_type_code
string
可选
<= 32 字符
默认值:
null
counterparty_grade_id
integer
交易对手评级
>= -9223372036854776000<= 9223372036854776000
默认值:
null
source
integer
数据来源
>= -128<= 127
默认值:
1
credit_rating
string
可选
<= 32 字符
默认值:
null
credit_agency
string
可选
<= 128 字符
默认值:
null
credit_expiring_date
string <date>
信用评级到期日
默认值:
null
institution_code
string
可选
<= 25 字符
默认值:
null
country_code
string
可选
<= 16 字符
默认值:
null
area_code
string
可选
<= 32 字符
默认值:
null
register_address
string
可选
<= 255 字符
默认值:
null
work_address
string
可选
<= 255 字符
默认值:
null
english_address
string
可选
<= 128 字符
默认值:
null
description
string
可选
<= 125 字符
默认值:
null
memo
string
可选
<= 512 字符
默认值:
null
is_active
integer
是否有效
>= -128<= 127
默认值:
1
create_user
integer
创建人
>= -9223372036854776000<= 9223372036854776000
默认值:
null
create_dept
integer
创建部门
>= -9223372036854776000<= 9223372036854776000
默认值:
null
create_time
string <date-time>
创建时间
默认值:
CURRENT_TIMESTAMP
update_user
integer
修改人
>= -9223372036854776000<= 9223372036854776000
默认值:
null
update_time
string <date-time>
更新时间
默认值:
CURRENT_TIMESTAMP
status
integer
状态
>= 0<= 4294967296
默认值:
0
is_deleted
integer
是否已删除
>= -2147483648<= 2147483647
默认值:
0
is_shared
integer
是否集团共享
>= -128<= 127
默认值:
null
english_name
string
可选
<= 64 字符
默认值:
null
english_full_name
string
可选
<= 128 字符
默认值:
null
org_nature
string
可选
<= 32 字符
默认值:
null
establishment_date
string <date>
成立日期
默认值:
null
year_limit_start
integer
经营年限(起)
>= -2147483648<= 2147483647
默认值:
null
year_limit_end
integer
经营年限(止)
>= -2147483648<= 2147483647
默认值:
null
registered_fund
number
注册资金
>= -10000000000000000<= 10000000000000000
默认值:
null
currency_code
string
可选
<= 16 字符
默认值:
null
legal_person
string
可选
<= 32 字符
默认值:
null
enterprise_size
string
可选
<= 64 字符
默认值:
null
annual_output_value
number
年产值
>= -10000000000000000<= 10000000000000000
默认值:
null
finance_person
string
可选
<= 32 字符
默认值:
null
debt_ratio
number
负债率(%)
>= -99999999.99<= 99999999.99
默认值:
null
is_general_taxpayer
integer
可选
>= -2147483648<= 2147483647
默认值:
1
out_counterparty_id
string
可选
<= 64 字符
默认值:
null
out_dept_id
string
可选
<= 64 字符
默认值:
null
source_system
string
可选
<= 64 字符
默认值:
null
示例
{
"id": 1,
"tenant_id": null,
"org_id": null,
"code": null,
"name": null,
"mnemonic_code": null,
"classify": -128,
"counterparty_type_id": null,
"counterparty_type_code": null,
"counterparty_grade_id": null,
"source": "1",
"credit_rating": null,
"credit_agency": null,
"credit_expiring_date": null,
"institution_code": null,
"country_code": null,
"area_code": null,
"register_address": null,
"work_address": null,
"english_address": null,
"description": null,
"memo": null,
"is_active": "1",
"create_user": null,
"create_dept": null,
"create_time": "CURRENT_TIMESTAMP",
"update_user": null,
"update_time": "CURRENT_TIMESTAMP",
"status": "0",
"is_deleted": "0",
"is_shared": null,
"english_name": null,
"english_full_name": null,
"org_nature": null,
"establishment_date": null,
"year_limit_start": null,
"year_limit_end": null,
"registered_fund": null,
"currency_code": null,
"legal_person": null,
"enterprise_size": null,
"annual_output_value": null,
"finance_person": null,
"debt_ratio": null,
"is_general_taxpayer": "1",
"out_counterparty_id": null,
"out_dept_id": null,
"source_system": null
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"tenant_id": null,
"org_id": null,
"code": null,
"name": null,
"mnemonic_code": null,
"classify": -128,
"counterparty_type_id": null,
"counterparty_type_code": null,
"counterparty_grade_id": null,
"source": "1",
"credit_rating": null,
"credit_agency": null,
"credit_expiring_date": null,
"institution_code": null,
"country_code": null,
"area_code": null,
"register_address": null,
"work_address": null,
"english_address": null,
"description": null,
"memo": null,
"is_active": "1",
"create_user": null,
"create_dept": null,
"create_time": "CURRENT_TIMESTAMP",
"update_user": null,
"update_time": "CURRENT_TIMESTAMP",
"status": "0",
"is_deleted": "0",
"is_shared": null,
"english_name": null,
"english_full_name": null,
"org_nature": null,
"establishment_date": null,
"year_limit_start": null,
"year_limit_end": null,
"registered_fund": null,
"currency_code": null,
"legal_person": null,
"enterprise_size": null,
"annual_output_value": null,
"finance_person": null,
"debt_ratio": null,
"is_general_taxpayer": "1",
"out_counterparty_id": null,
"out_dept_id": null,
"source_system": null
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}