legal-entities.create
创建法人主体
- 请求路由:
legal-entities.create- 交互模型:
Request Response- 访问限制:
CONSOLE
在当前租户下创建一个新的法人主体。统一社会信用代码需唯一。
请求
RSocket.rr({
"route" : "legal-entities.create",
"data" : {
"id" : "aspiretop",
"name" : "深圳市硕望科技有限公司",
"shortName" : "硕望科技",
"unifiedSocialCreditCode" : "91440300MA5XXXXXX",
"legalRepresentative" : "张三",
"registeredCapital" : "1000",
"establishedDate" : "2020-01-15",
"businessScope" : "软件开发;信息技术咨询服务",
"registeredAddress" : "深圳市南山区科技园",
"contactPhone" : "0755-12345678",
"contactEmail" : "contact@aspiretop.com",
"status" : "ACTIVE"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
id | String | 否 | 法人实体标识 |
name | String | 是 | 法人实体名称(公司全称) |
shortName | String | 否 | 简称 |
nameEn | String | 否 | 英文名称 |
shortNameEn | String | 否 | 英文简称 |
unifiedSocialCreditCode | String | 是 | 统一社会信用代码 |
legalRepresentative | String | 否 | 法定代表人 |
registeredCapital | String | 否 | 注册资本(万元) |
establishedDate | String | 否 | 成立日期 |
businessScope | String | 否 | 经营范围 |
registeredAddress | String | 否 | 注册地址 |
contactPhone | String | 否 | 联系电话 |
contactEmail | String | 否 | 联系邮箱 |
status | String | 否 | 状态
|
extraProps | Object | 否 | 扩展属性 |
tenantId | String | 否 | 租户ID |
返回
已创建的法人主体
{
"id" : "aspiretop",
"name" : "深圳市硕望科技有限公司",
"shortName" : "硕望科技",
"unifiedSocialCreditCode" : "91440300MA5XXXXXX",
"legalRepresentative" : "张三",
"registeredCapital" : "1000",
"establishedDate" : "2020-01-15",
"businessScope" : "软件开发;信息技术咨询服务",
"registeredAddress" : "深圳市南山区科技园",
"contactPhone" : "0755-12345678",
"contactEmail" : "contact@aspiretop.com",
"status" : "ACTIVE"
}
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | 法人实体标识 |
name | String | 法人实体名称(公司全称) |
shortName | String | 简称 |
nameEn | String | 英文名称 |
shortNameEn | String | 英文简称 |
unifiedSocialCreditCode | String | 统一社会信用代码 |
legalRepresentative | String | 法定代表人 |
registeredCapital | String | 注册资本(万元) |
establishedDate | String | 成立日期 |
businessScope | String | 经营范围 |
registeredAddress | String | 注册地址 |
contactPhone | String | 联系电话 |
contactEmail | String | 联系邮箱 |
status | String | 状态
|
extraProps | Object | 扩展属性 |