Read Tenant Log


This request returns the tenant log.

Resource

GET /tenants/<OID>/log

Where OID is the tenant ID (the databaseId field).

Parameters

None

Payload

None

Response

String

Context

Authorization

Master

Configuration

Multi-tenant

Errors

HTTP code Xelion code Description

400

10063

Not the master tenant

403

10101

Resource not accessable. User is not a master tenant administrator

404

10060

No multi-tenant configuration.

10100

No tenant with the specified ID exists.

Example

Request
GET https://xelion.nl/api/v1/master/tenants/3/log
Response
-f /usr/xelion/XCC/initdb/current.dmp xcc003/xcc003@xelion pbx3
The Oracle base has been set to /home/oracle/app
start restoring XPS from /usr/xelion/XCC/initdb/current.dmp
deleting current database

SQL*Plus: Release 12.1.0.2.0 Production on Mon Feb 13 15:00:22 2017

Copyright (c) 1982, 2014, Oracle.  All rights reserved.


Connected to:
Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production

delete all files in this database

Disconnected from Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production
importing backup database

Import: Release 12.1.0.2.0 - Production on Mon Feb 13 15:00:27 2017

Copyright (c) 1982, 2015, Oracle and/or its affiliates.  All rights reserved.


Connected to: Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production

Export file created by EXPORT:V12.01.00 via conventional path

Warning: the objects were exported by XCC, not by you

import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set