cs.import-job-orders.update-fee-attachments
替换进口工作单共用的费用附件,空列表清空引用,不改变费用或资金账目。
- 请求路由:
cs.import-job-orders.update-fee-attachments- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "cs.import-job-orders.update-fee-attachments",
"data" : {
"replaceMe" : "工作单 ID 及更新后的完整费用附件列表"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
jobId | String | 否 | 待更新的进口或出口工作单 ID,由调用接口决定业务类型。 |
feeAttachments | Object[] | 否 | 更新后的完整费用附件列表;空列表表示解除全部引用,不删除实际文件。 |
feeAttachments.[].title | String | 否 | 附件标题 |
feeAttachments.[].description | String | 否 | 附件说明 |
feeAttachments.[].binaryId | String[] | 否 | 附件id |
返回
更新后的进口工作单
{ }
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
importJobOrderId | String | 进口工作单 ID |
agentRefNo | String | 代理参考号 |
finJobId | String | 资金系统工作单档案 ID;仅由账单确认成功后的服务端回写。 |
status | String | 状态 |
preAlertId | String | 关联预报单 ID |
cargoMode | String | 业务模式 (自揽/指定) |
shipmentType | String | 业务类型 (整箱/拼箱) |
client | String | 客户信息(往来单位id) |
clientInfo | Object | 客户信息(往来单位) |
clientInfo.country | String | 国家 |
clientInfo.countryEn | String | 国家(英文) |
clientInfo.abbreviation | String | 名称缩写 |
clientInfo.address | String | 地址(中文) |
clientInfo.addressEn | String | 地址(英文) |
clientInfo.contactPersons | Object[] | 联系人信息列表,支持多个联系人 |
clientInfo.contactPersons.[].username | String | 用户标识 |
clientInfo.contactPersons.[].name | String | 用户名称 |
clientInfo.contactPersons.[].nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
clientInfo.contactPersons.[].mobile | String | 用户手机号 |
clientInfo.contactPersons.[].email | String | 用户邮箱 |
clientInfo.contactPersons.[].position | String | 职位 |
clientInfo.contactPersons.[].contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
clientInfo.bankAccounts | Object[] | 银行账户列表,支持多个账户 |
clientInfo.bankAccounts.[].accountName | String | 开户名称 |
clientInfo.bankAccounts.[].bankName | String | 银行名称 |
clientInfo.bankAccounts.[].bankCode | String | 联行号 |
clientInfo.bankAccounts.[].bankAccount | String | 银行账号 |
clientInfo.bankAccounts.[].currency | String | 币制 |
clientInfo.bankAccounts.[].swiftCode | String | SWIFT CODE |
clientInfo.bankAccounts.[].address | String | 地址 |
clientInfo.bankAccounts.[].isDefault | Boolean | 是否默认 |
clientInfo.invoiceInfo | Object | 开票信息 |
clientInfo.invoiceInfo.companyName | String | 公司名称 |
clientInfo.invoiceInfo.taxIdentificationNumber | String | 纳税识别号 |
clientInfo.invoiceInfo.companyAddress | String | 公司地址 |
clientInfo.invoiceInfo.phone | String | 电话 |
clientInfo.invoiceInfo.bankAccount | String | 银行账号 |
clientInfo.invoiceInfo.contact | String | 联系人 |
clientInfo.invoiceInfo.email | String | 邮箱 |
clientInfo.extraProps | Object | 扩展信息 |
clientInfo.relatedCustomers | Object[] | 关联客户列表 |
clientInfo.relatedCustomers.[].tags | String[] | 该客户赋予当前往来单位的角色标签列表(如 shipper, consignee, importBuyer 等) |
clientInfo.relatedCustomers.[].extraProps | Object | 专属定制扩展属性 (Key 为 tag 比如 "shipper", Value 为特定定制的 Unit 实例) |
clientInfo.relatedCustomers.[].unitId | String | 往来单位唯一ID,主键 |
clientInfo.relatedCustomers.[].name | String | 名称(中文) |
clientInfo.relatedCustomers.[].nameEn | String | 名称(英文) |
clientInfo.unitId | String | 往来单位唯一ID,主键 |
clientInfo.name | String | 名称(中文) |
clientInfo.nameEn | String | 名称(英文) |
shipper | String | 发货人信息(往来单位id) |
shipperInfo | Object | 发货人信息(往来单位) |
shipperInfo.country | String | 国家 |
shipperInfo.countryEn | String | 国家(英文) |
shipperInfo.abbreviation | String | 名称缩写 |
shipperInfo.address | String | 地址(中文) |
shipperInfo.addressEn | String | 地址(英文 ) |
shipperInfo.contactPersons | Object[] | 联系人信息列表,支持多个联系人 |
shipperInfo.contactPersons.[].username | String | 用户标识 |
shipperInfo.contactPersons.[].name | String | 用户名称 |
shipperInfo.contactPersons.[].nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
shipperInfo.contactPersons.[].mobile | String | 用户手机号 |
shipperInfo.contactPersons.[].email | String | 用户邮箱 |
shipperInfo.contactPersons.[].position | String | 职位 |
shipperInfo.contactPersons.[].contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
shipperInfo.bankAccounts | Object[] | 银行账户列表,支持多个账户 |
shipperInfo.bankAccounts.[].accountName | String | 开户名称 |
shipperInfo.bankAccounts.[].bankName | String | 银行名称 |
shipperInfo.bankAccounts.[].bankCode | String | 联行号 |
shipperInfo.bankAccounts.[].bankAccount | String | 银行账号 |
shipperInfo.bankAccounts.[].currency | String | 币制 |
shipperInfo.bankAccounts.[].swiftCode | String | SWIFT CODE |
shipperInfo.bankAccounts.[].address | String | 地址 |
shipperInfo.bankAccounts.[].isDefault | Boolean | 是否默认 |
shipperInfo.invoiceInfo | Object | 开票信息 |
shipperInfo.invoiceInfo.companyName | String | 公司名称 |
shipperInfo.invoiceInfo.taxIdentificationNumber | String | 纳税识别号 |
shipperInfo.invoiceInfo.companyAddress | String | 公司地址 |
shipperInfo.invoiceInfo.phone | String | 电话 |
shipperInfo.invoiceInfo.bankAccount | String | 银行账号 |
shipperInfo.invoiceInfo.contact | String | 联系人 |
shipperInfo.invoiceInfo.email | String | 邮箱 |
shipperInfo.extraProps | Object | 扩展信息 |
shipperInfo.relatedCustomers | Object[] | 关联客户列表 |
shipperInfo.relatedCustomers.[].tags | String[] | 该客户赋予当前往来单位的角色标签列表(如 shipper, consignee, importBuyer 等) |
shipperInfo.relatedCustomers.[].extraProps | Object | 专属定制扩展属性 (Key 为 tag 比如 "shipper", Value 为特定定制的 Unit 实例) |
shipperInfo.relatedCustomers.[].unitId | String | 往来单位唯一ID,主键 |
shipperInfo.relatedCustomers.[].name | String | 名称(中文) |
shipperInfo.relatedCustomers.[].nameEn | String | 名称(英文) |
shipperInfo.unitId | String | 往来单位唯一ID,主键 |
shipperInfo.name | String | 名称(中文) |
shipperInfo.nameEn | String | 名称(英文) |
consignee | String | 收货人信息(往来单位id) |
consigneeInfo | Object | 收货人信息(往来单位) |
consigneeInfo.country | String | 国家 |
consigneeInfo.countryEn | String | 国家(英文) |
consigneeInfo.abbreviation | String | 名称缩写 |
consigneeInfo.address | String | 地址(中文) |
consigneeInfo.addressEn | String | 地址(英文) |
consigneeInfo.contactPersons | Object[] | 联系人信息列表,支持多个联系人 |
consigneeInfo.contactPersons.[].username | String | 用户标识 |
consigneeInfo.contactPersons.[].name | String | 用户名称 |
consigneeInfo.contactPersons.[].nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
consigneeInfo.contactPersons.[].mobile | String | 用户手机号 |
consigneeInfo.contactPersons.[].email | String | 用户邮箱 |
consigneeInfo.contactPersons.[].position | String | 职位 |
consigneeInfo.contactPersons.[].contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
consigneeInfo.bankAccounts | Object[] | 银行账户列表,支持多个账户 |
consigneeInfo.bankAccounts.[].accountName | String | 开户名称 |
consigneeInfo.bankAccounts.[].bankName | String | 银行名称 |
consigneeInfo.bankAccounts.[].bankCode | String | 联行号 |
consigneeInfo.bankAccounts.[].bankAccount | String | 银行账号 |
consigneeInfo.bankAccounts.[].currency | String | 币制 |
consigneeInfo.bankAccounts.[].swiftCode | String | SWIFT CODE |
consigneeInfo.bankAccounts.[].address | String | 地址 |
consigneeInfo.bankAccounts.[].isDefault | Boolean | 是否默认 |
consigneeInfo.invoiceInfo | Object | 开票信息 |
consigneeInfo.invoiceInfo.companyName | String | 公司名称 |
consigneeInfo.invoiceInfo.taxIdentificationNumber | String |