PUT: api/{vaultname}/checkin/addfiles/{changesetId=0} Upload files or document ids to changeset to the check in operation
Adds files to a changeset for checkin. (See Remarks)
This request returns a new changeset ID and file references.
Sample Data
{
"ChangesetId": 1,
"References": [
{
"File": {
"FileId": 1,
"FileName": "sample string 2"
},
"Folder": {
"FolderId": 1,
"FolderPath": "sample string 2"
},
"Version": 1,
"Config": {
"ConfigurationName": "sample string 1",
"ConfigurationId": 2
}
},
{
"File": {
"FileId": 1,
"FileName": "sample string 2"
},
"Folder": {
"FolderId": 1,
"FolderPath": "sample string 2"
},
"Version": 1,
"Config": {
"ConfigurationName": "sample string 1",
"ConfigurationId": 2
}
}
]
}
This request returns a new changeset ID and file references.
Sample Data
<UploadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SWPDM.Models">
<ChangesetId>1</ChangesetId>
<References>
<FileInfo>
<Config>
<ConfigurationId>2</ConfigurationId>
<ConfigurationName>sample string 1</ConfigurationName>
</Config>
<File>
<FileId>1</FileId>
<FileName>sample string 2</FileName>
</File>
<Folder>
<FolderId>1</FolderId>
<FolderPath>sample string 2</FolderPath>
</Folder>
<Version>1</Version>
</FileInfo>
<FileInfo>
<Config>
<ConfigurationId>2</ConfigurationId>
<ConfigurationName>sample string 1</ConfigurationName>
</Config>
<File>
<FileId>1</FileId>
<FileName>sample string 2</FileName>
</File>
<Folder>
<FolderId>1</FolderId>
<FolderPath>sample string 2</FolderPath>
</Folder>
<Version>1</Version>
</FileInfo>
</References>
</UploadModel>