Transfer requests
POST {{baseUrl}}/collection-requests-transfers
Copies or moves requests into a collection or folder. Include the following in the request body:
ids— A list of string values that contain the request UIDs to transfer.target— An object that contains the transfer destination information:model— A string value that contains the the type of item where the items will be transferred to. Accepts thecollectionorfoldervalues.id— The string value that contains the UID of the destination collection or folder.
location— An object that contains the transfered item's source information:position— A string value that contains the item's position within the destination object. Accepts thestart,end,before, andaftervalues.model— For thebeforeorafterpositions, a string value that contains the type of item (model) that the transferred item will be positioned by.id— For thebeforeorafterpositions, a string value that contains the model's UID.
mode— A string value that contains the transfer operation to perform. Accepts themoveorcopyvalue.
Request Body
{"ids"=>["{{folderUid}}"], "target"=>{"model"=>"{{modelType}}", "id"=>"{{modelUid}}"}, "location"=>{"position"=>"{{position}}", "model"=>"{{modelId}}", "id"=>"{{modelUid}}"}, "mode"=>"{{modeType}}"}
RESPONSES
status: OK
{"ids":["12345678-3a2069a1-aeb6-462c-ada0-8629858199ba"]}