Description
POST: api/{VaultName}/files/UndoCheckOut Undo lock file
Unlocks the specified file.
Parameters
Name | Description | Data Type |
vaultName | (URI parameter) Vault name (required) | string |
FileId | (Body and response parameter) File ID
Member of CheckOutItem and UnLockResultModel models | integer |
FolderId | (Body parameter) Folder ID
Member of CheckOutItem model | integer |
IsSuccess | (Response) Whether unlock is successful
Member of UndoLockResultModel model | boolean |
Warning | (Response) A BaseWarningModel object that consists of:
Message (string)
IsBlocking (boolean)
IsError (boolean)
Member of UndoLockResultModel model
| BaseWarningModel |
Request (application/json, text/json)
Sample Data
[
{
"FileId": 1,
"FolderId": 2
},
{
"FileId": 1,
"FolderId": 2
}
]
Request (application/xml, text/xml)
Sample Data
<ArrayOfCheckOutItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SWPDM.Models">
<CheckOutItem>
<FileId>1</FileId>
<FolderId>2</FolderId>
</CheckOutItem>
<CheckOutItem>
<FileId>1</FileId>
<FolderId>2</FolderId>
</CheckOutItem>
</ArrayOfCheckOutItem>
Request (application/x-www-form-urlencoded)
Response (application/json, text/json, application/xml, text/xml)
Example
See Also