Create Or Update Tape Location

Creates or updates a tape location.

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 Examples

This is an example of creating a tape location.

This is an example of updating a tape location.

Request Fields

Field
Type
Value(s)
Description
action string
TapeLocationManagement                      
The action that is invoked
method string
createOrUpdate               
The method that is invoked
data array   Data of a tape location to be created or updated
type string rpc Type of communication protocol
tid int 1 Transaction ID. Used to identify the request by both the client and the server

data

Field
Type
Description

id

long

Tape location ID. For the create method, this field is ignored

name

string

Tape location name

description

string

Description of the tape location

Response Sample

Response Fields

Field
Value
Description
message string Message if the request failed
where string Reference to the method where problem occurred
cause string Cause of failure

data

long

ID of the tape location