Page tree

Gets all parent savepoints by a savepoint.

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

curl
curl --request POST \
	 --url https://<Director_IP_address>:4443/c/router \
	 --header "content-type: application/json" \
	 --cookie @cookies.txt \
	 --data "{
		"action": "TapeBackupManagement",
		"method": "getParentSavepoints",
		"data": [1],
        "type": "rpc",
    	"tid": 1
             }"

Request Fields

Field
Type
Value(s)
actionstring

TapeBackupManagement

methodstring

getParentSavepoints

dataarray

Savepoint ID

typestringrpc
tidint1

Response Sample

{
  "action": "TapeBackupManagement",
  "method": "getParentSavepoints",
  "tid": "1",
  "type": "rpc",
  "message": null,
  "where": null,
  "cause": null,
  "data": {
	"children": [
	  {
		"date": "2019-03-22T14:20:37.644+07:00"
        id: 51
        "tapeCartridgeId": 4
        "tapeCartridgeName": "SLOT03"
	  },
	  {
		"date": "2019-03-22T14:20:37.644+07:00"
        "id": 55
        "tapeCartridgeId": 3
        "tapeCartridgeName": "VTLS02"
	  }
                ],
    "totalCount": 2
          }
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where the problem occurred
causestringCause of failure

data

Json

Parent savepoints info. See the table below

data.children

Single parent savepoint info.

Field

Value

Description

id

string

Parent savepoint ID

date

DateTime

Date of the parent savepoint

tapeCartridgeId

long

Tape cartridge ID

tapeCartridgeName

string

Tape cartridge name

  • No labels