tinywms.factories.create
创建工厂
- 请求路由:
tinywms.factories.create- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "tinywms.factories.create",
"data" : {
"replaceMe" : "新的工厂信息"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
id | String | 否 | 工厂ID |
name | String | 否 | 工厂名称(中文) |
nameEn | String | 否 | 工厂名称(英文) |
abbreviation | String | 否 | 名称缩写 |
contactPerson | Object | 否 | 联系人信息 |
contactPerson.username | String | 否 | 用户标识 |
contactPerson.name | String | 否 | 用户名称 |
contactPerson.mobile | String | 否 | 用户手机号 |
address | String | 否 | 工厂地址(中文) |
addressEn | String | 否 | 工厂地址(英文) |
customerName | String | 否 | 客户名称 |
warehouseKeeper | Object[] | 否 | |
warehouseKeeper.[].legalEntityId | String | 否 | 法人主体id |
warehouseKeeper.[].username | String | 否 | 用户标识 |
warehouseKeeper.[].name | String | 否 | 用户名称 |
warehouseKeeper.[].mobile | String | 否 | 用户手机号 |
handoverPerson | Object[] | 否 | |
handoverPerson.[].legalEntityId | String | 否 | 法人主体id |
handoverPerson.[].username | String | 否 | 用户标识 |
handoverPerson.[].name | String | 否 | 用户名称 |
handoverPerson.[].mobile | String | 否 | 用户手机号 |
legalEntityId | String | 否 | 法人主体id |
customerId | String | 否 | 客户id |
extraProps | Object | 否 | 扩展属性 |
crBy | String | 否 | 创建者 |
upBy | String | 否 | 最后修改者 |
crDate | String | 否 | 创建时间 |
upDate | String | 否 | 最后修改时间 |
tenantId | String | 否 | 租户ID |
返回
创建成功后的工厂信息
{ }