更新时间:2024-05-27 GMT+08:00
分享

对外更新文档接口

功能介绍

对外更新文档接口。

URI

POST /pdmdocumentservice/services/openapi/doc/v2/updateDoc

请求参数

表1 请求Body参数

参数

是否必选

参数类型

描述

input

OpenUpdateDocumentVO object

输入

userID

String

用户ID

clientID

String

客户ID

orderID

String

orderID

表2 OpenUpdateDocumentVO

参数

是否必选

参数类型

描述

oid

String

文档ID

number

String

文档编码

pdcpID

String

决策评审点ID

title

String

文档标题

securitiesKey

String

密级

guid

String

guid

abstractCN

String

摘要中文

abstractEN

String

摘要英文

name

String

文档名称

owner

String

文档拥有者

isUpgrade

String

是否升版

checkInRemark

String

检入备注

primaryFiles

DocEntityFileVO object

主要文件

ibaAttribute

Array of IBAAttributesBean objects

文档IBA属性

secondaryFiles

Array of DocEntityFileVO objects

次要文件

relatedParts

Array of UpdateDocRelaPartVO objects

关联的部件

relatedDocuments

Array of UpdateDocRelaDocVO objects

关联的文档

表3 DocEntityFileVO

参数

是否必选

参数类型

描述

fileName

String

文件名称

transmissionSource

String

传输文件系统来源

transmissionFileID

String

临时存储目录的文件ID

filePath

String

文件路径

description

String

描述说明

source

String

文件来源

url

String

URL链接

urlLabel

String

URL链接名称

urlDescription

String

URL描述说明

fileID

String

文件存储ID

action

String

文件操作标识

表4 IBAAttributesBean

参数

是否必选

参数类型

描述

key

String

IBA定义KEY

value

String

IBA属性值

表5 UpdateDocRelaPartVO

参数

是否必选

参数类型

描述

partNumber

String

部件编码

version

String

版本号

relationType

String

关联类型

partView

String

部件视图

action

String

操作

表6 UpdateDocRelaDocVO

参数

是否必选

参数类型

描述

number

String

编码

version

String

版本

relationType

String

关联类型

action

String

操作

响应参数

状态码: 200

表7 响应Body参数

参数

参数类型

描述

data

Object

返回对象

result

String

返回码

状态码: 400

表8 响应Body参数

参数

参数类型

描述

data

Object

返回对象

result

String

返回码

请求示例

响应示例

状态码

状态码

描述

200

请求成功

400

请求失败

错误码

请参见错误码

分享:

    相关文档

    相关产品