Move Tape Cartridge to Slot
Moves the tape cartridge to a slot in the tape library.
Endpoint
https://<Director_IP_address>:4443/c/router
Tenant Endpoint
For tenants of the multi-tenant product the endpoint must be:https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router
Request Example
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "TapeCartridgeManagement",
"method": "changeSlot",
"data": [1,1,"NORMAL_SLOT"],
"type": "rpc",
"tid": 1
}"
Request Fields
Field
|
Type
|
Value(s)
|
---|---|---|
action
|
string |
|
method
|
string |
|
data
|
array |
Tape cartridge data. See the table below |
type
|
string | rpc
|
tid
|
int | 1
|
data
Field
|
Type
|
Description
|
---|---|---|
|
long |
Tape cartridge ID |
|
int |
Target slot index |
toSlotType
|
string | Target slot type: normal/mail |
Response Sample
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
{
"action": "TapeCartridgeManagement"
"method": "changeSlot"
"cause": null
"data": null
"message": null
"tid": 1
"type": "rpc"
"where": null
}
Response Fields
Field
|
Value
|
Description
|
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where the problem occurred |
cause
|
string | Cause of failure |