Transfer responses
POST {{baseUrl}}/collection-responses-transfers
Copies or moves responses into a request. Include the following in the request body:
ids— A list string values that contain the response 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. Only accepts therequestvalue.id— The string value that contains the UID of the destination request.
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. Only accepts theresponsevalue.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"=>"request", "id"=>"{{modelUid}}"}, "location"=>{"position"=>"{{position}}", "model"=>"response", "id"=>"{{modelUid}}"}, "mode"=>"{{modeType}}"}
RESPONSES
status: OK
{"ids":["12345678-a9b481c1-3e78-4af7-8db0-dce3f3f3c105"]}