保存项目与合同的关联

更新时间:2021-01-23 20:37:05

接口说明

保存项目与合同之间的关联关系数据

基本信息

请求方式:POST

请求路径:

https://prod.open-api.mysre.cn/project/contract-relation-save

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code query string
project_id body string 39eca17e-03b6-c54e-91fe-58e9562575fe 项目 ID
contract_id body string 39f2c45d-0649-eabb-87be-8f73a541e3c7 合同 ID

请求示例

[
  {
    "project_id":"39eca17e-03b6-c54e-91fe-58e9562575fe",
    "contract_id":"39f2c45d-0649-eabb-87be-8f73a541e3c7"
  }
]

返回成功示例

{
  "errcode": 0,
  "errMsg": "成功",
  "data": []
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errMsg string 错误描述
data array 接口返回数据

失败返回示例

{
  "errcode": 9000,
  "errMsg": "租户code不能为空",
  "data": []
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errMsg string 错误描述
data array 接口返回数据

results matching ""

    No results matching ""