Reference for OpenExistingRepository

Url: o3ePhantomManagement/existingrepository/{coreIdToReplace}/{repositoryId}

HTTP Method: PUT

Message direction Format Body
Request XML Example,Schema
Response XML Example,Schema

The following is an example request XML body:

<?xml version="1.0" encoding="utf-16"?>
<openExistingO3EPhantomRepositoryRequest xmlns="http://apprecovery.com/management/api/2010/05">
  <forciblyTakeOwnership>true</forciblyTakeOwnership>
  <repositorySpecification>
    <comment>String content</comment>
    <displayName>String content</displayName>
    <id>1627aea5-8e0a-4371-9022-9b504344e724</id>
    <pathOnServer>
      <Default>String content</Default>
      <Encrypted>String content</Encrypted>
    </pathOnServer>
  </repositorySpecification>
  <!--Valid elements of type: o3ePhantomSecurityConfigurationUpdated-->
  <securityConfiguration i:type="o3ePhantomSecurityConfigurationUpdated" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <coreProtectionMethod>None</coreProtectionMethod>
    <passphrase>String content</passphrase>
    <storedPassphrase>String content</storedPassphrase>
  </securityConfiguration>
  <serverConfiguration>
    <adminPassword>String content</adminPassword>
    <adminUserName>String content</adminUserName>
    <cleanerSchedule>
      <minimalRuntimeWindow>P428DT10H30M12.3S</minimalRuntimeWindow>
      <scheduleEventCollection>
        <scheduleEventItem>
          <daysApplied>
            <dayOfWeekItem>Sunday</dayOfWeekItem>
            <dayOfWeekItem>Sunday</dayOfWeekItem>
          </daysApplied>
          <duration>P428DT10H30M12.3S</duration>
          <startTime>P428DT10H30M12.3S</startTime>
        </scheduleEventItem>
        <scheduleEventItem>
          <daysApplied>
            <dayOfWeekItem>Sunday</dayOfWeekItem>
            <dayOfWeekItem>Sunday</dayOfWeekItem>
          </daysApplied>
          <duration>P428DT10H30M12.3S</duration>
          <startTime>P428DT10H30M12.3S</startTime>
        </scheduleEventItem>
      </scheduleEventCollection>
    </cleanerSchedule>
    <hostName>String content</hostName>
    <libraryConfiguration>
      <captureStackTraces>true</captureStackTraces>
      <dedupeMode i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
      <memorySize>18446744073709551615</memorySize>
      <processorCount>4294967295</processorCount>
    </libraryConfiguration>
    <machineHostName>String content</machineHostName>
    <o3eCredentialsAccountId>1627aea5-8e0a-4371-9022-9b504344e724</o3eCredentialsAccountId>
    <o3ePassword>String content</o3ePassword>
    <o3eUserName>String content</o3eUserName>
    <operationSystem>Unknown</operationSystem>
    <osPort>4294967295</osPort>
    <ostPort>4294967295</ostPort>
    <repositoryPathInfo>
      <dictionaryPath xmlns="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts">String content</dictionaryPath>
      <journalsPath xmlns="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts">String content</journalsPath>
      <repositoryPath xmlns="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts">String content</repositoryPath>
    </repositoryPathInfo>
    <serverId>1627aea5-8e0a-4371-9022-9b504344e724</serverId>
    <serverVersion>
      <_Build xmlns="http://schemas.datacontract.org/2004/07/System">2147483647</_Build>
      <_Major xmlns="http://schemas.datacontract.org/2004/07/System">2147483647</_Major>
      <_Minor xmlns="http://schemas.datacontract.org/2004/07/System">2147483647</_Minor>
      <_Revision xmlns="http://schemas.datacontract.org/2004/07/System">2147483647</_Revision>
    </serverVersion>
    <valueOfMaxClients>4294967295</valueOfMaxClients>
    <valueOfMaxConnections>4294967295</valueOfMaxConnections>
    <valueOfMaxInputOutputThreads>4294967295</valueOfMaxInputOutputThreads>
    <valueOfMaxOpenImages>4294967295</valueOfMaxOpenImages>
    <valueOfMaxReplicationConnections>4294967295</valueOfMaxReplicationConnections>
  </serverConfiguration>
</openExistingO3EPhantomRepositoryRequest>

The following is an example response XML body:

<?xml version="1.0" encoding="utf-16"?>
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1627aea5-8e0a-4371-9022-9b504344e724</guid>

The following is the request XML Schema:

<?xml version="1.0" encoding="utf-16"?>
<Schemas>
  <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="anyType" nillable="true" type="xs:anyType" />
    <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
    <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
    <xs:element name="boolean" nillable="true" type="xs:boolean" />
    <xs:element name="byte" nillable="true" type="xs:byte" />
    <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
    <xs:element name="decimal" nillable="true" type="xs:decimal" />
    <xs:element name="double" nillable="true" type="xs:double" />
    <xs:element name="float" nillable="true" type="xs:float" />
    <xs:element name="int" nillable="true" type="xs:int" />
    <xs:element name="long" nillable="true" type="xs:long" />
    <xs:element name="QName" nillable="true" type="xs:QName" />
    <xs:element name="short" nillable="true" type="xs:short" />
    <xs:element name="string" nillable="true" type="xs:string" />
    <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
    <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
    <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
    <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
    <xs:element name="char" nillable="true" type="tns:char" />
    <xs:simpleType name="char">
      <xs:restriction base="xs:int" />
    </xs:simpleType>
    <xs:element name="duration" nillable="true" type="tns:duration" />
    <xs:simpleType name="duration">
      <xs:restriction base="xs:duration">
        <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
        <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
        <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="guid" nillable="true" type="tns:guid" />
    <xs:simpleType name="guid">
      <xs:restriction base="xs:string">
        <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
      </xs:restriction>
    </xs:simpleType>
    <xs:attribute name="FactoryType" type="xs:QName" />
    <xs:attribute name="Id" type="xs:ID" />
    <xs:attribute name="Ref" type="xs:IDREF" />
  </xs:schema>
  <xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://apprecovery.com/management/api/2010/05" elementFormDefault="qualified" targetNamespace="http://apprecovery.com/management/api/2010/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.O3E.Phantom" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/System" />
    <xs:complexType name="openExistingO3EPhantomRepositoryRequest">
      <xs:sequence>
        <xs:element minOccurs="0" name="forciblyTakeOwnership" type="xs:boolean" />
        <xs:element minOccurs="0" name="repositorySpecification" nillable="true" type="tns:createRepositoryJobRequestPhantom" />
        <xs:element minOccurs="0" name="securityConfiguration" nillable="true" type="tns:o3ePhantomSecurityConfiguration" />
        <xs:element minOccurs="0" name="serverConfiguration" nillable="true" type="tns:o3ePhantomServerConfiguration" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="openExistingO3EPhantomRepositoryRequest" nillable="true" type="tns:openExistingO3EPhantomRepositoryRequest" />
    <xs:complexType name="createRepositoryJobRequestPhantom">
      <xs:sequence>
        <xs:element minOccurs="0" name="comment" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="id" type="ser:guid" />
        <xs:element minOccurs="0" name="pathOnServer" nillable="true" type="tns:o3ePhantomRepositoryPath" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="createRepositoryJobRequestPhantom" nillable="true" type="tns:createRepositoryJobRequestPhantom" />
    <xs:complexType name="o3ePhantomRepositoryPath">
      <xs:sequence>
        <xs:element minOccurs="0" name="Default" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Encrypted" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="o3ePhantomRepositoryPath" nillable="true" type="tns:o3ePhantomRepositoryPath" />
    <xs:complexType name="o3ePhantomSecurityConfiguration">
      <xs:sequence>
        <xs:element minOccurs="0" name="coreProtectionMethod" xmlns:q1="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.O3E.Phantom" type="q1:CoreProtectionMethod" />
        <xs:element minOccurs="0" name="passphrase" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="o3ePhantomSecurityConfiguration" nillable="true" type="tns:o3ePhantomSecurityConfiguration" />
    <xs:complexType name="o3ePhantomSecurityConfigurationUpdated">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:o3ePhantomSecurityConfiguration">
          <xs:sequence>
            <xs:element minOccurs="0" name="storedPassphrase" nillable="true" type="xs:string" />
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="o3ePhantomSecurityConfigurationUpdated" nillable="true" type="tns:o3ePhantomSecurityConfigurationUpdated" />
    <xs:complexType name="o3ePhantomServerConfiguration">
      <xs:sequence>
        <xs:element minOccurs="0" name="adminPassword" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="adminUserName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="cleanerSchedule" nillable="true" type="tns:o3ePhantomCleanerSchedule" />
        <xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="libraryConfiguration" nillable="true" type="tns:o3eLibraryConfiguration" />
        <xs:element minOccurs="0" name="machineHostName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="o3eCredentialsAccountId" type="ser:guid" />
        <xs:element minOccurs="0" name="o3ePassword" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="o3eUserName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="operationSystem" xmlns:q2="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts" type="q2:OSType" />
        <xs:element minOccurs="0" name="osPort" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="ostPort" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="repositoryPathInfo" nillable="true" xmlns:q3="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts" type="q3:o3eRepositoryPathInfo" />
        <xs:element minOccurs="0" name="serverId" type="ser:guid" />
        <xs:element minOccurs="0" name="serverVersion" nillable="true" xmlns:q4="http://schemas.datacontract.org/2004/07/System" type="q4:Version" />
        <xs:element minOccurs="0" name="valueOfMaxClients" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="valueOfMaxConnections" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="valueOfMaxInputOutputThreads" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="valueOfMaxOpenImages" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="valueOfMaxReplicationConnections" type="xs:unsignedInt" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="o3ePhantomServerConfiguration" nillable="true" type="tns:o3ePhantomServerConfiguration" />
    <xs:complexType name="o3ePhantomCleanerSchedule">
      <xs:sequence>
        <xs:element minOccurs="0" name="minimalRuntimeWindow" type="ser:duration" />
        <xs:element minOccurs="0" name="scheduleEventCollection" nillable="true" type="tns:scheduleEventCollection" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="o3ePhantomCleanerSchedule" nillable="true" type="tns:o3ePhantomCleanerSchedule" />
    <xs:complexType name="scheduleEventCollection">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="scheduleEventItem" nillable="true" type="tns:scheduleEventPhantom" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="scheduleEventCollection" nillable="true" type="tns:scheduleEventCollection" />
    <xs:complexType name="scheduleEventPhantom">
      <xs:sequence>
        <xs:element minOccurs="0" name="daysApplied" nillable="true" type="tns:dayOfWeekCollection" />
        <xs:element minOccurs="0" name="duration" type="ser:duration" />
        <xs:element minOccurs="0" name="startTime" type="ser:duration" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="scheduleEventPhantom" nillable="true" type="tns:scheduleEventPhantom" />
    <xs:complexType name="dayOfWeekCollection">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="dayOfWeekItem" xmlns:q5="http://schemas.datacontract.org/2004/07/System" type="q5:DayOfWeek" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="dayOfWeekCollection" nillable="true" type="tns:dayOfWeekCollection" />
    <xs:complexType name="o3eLibraryConfiguration">
      <xs:sequence>
        <xs:element minOccurs="0" name="captureStackTraces" type="xs:boolean" />
        <xs:element minOccurs="0" name="dedupeMode" xmlns:q6="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts" type="q6:O3EDedupeModes" />
        <xs:element minOccurs="0" name="memorySize" type="xs:unsignedLong" />
        <xs:element minOccurs="0" name="processorCount" type="xs:unsignedInt" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="o3eLibraryConfiguration" nillable="true" type="tns:o3eLibraryConfiguration" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.O3E.Phantom" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.O3E.Phantom" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:simpleType name="CoreProtectionMethod">
      <xs:restriction base="xs:string">
        <xs:enumeration value="None" />
        <xs:enumeration value="LicensePortalId" />
        <xs:enumeration value="SecurityKey" />
        <xs:enumeration value="Both" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="CoreProtectionMethod" nillable="true" type="tns:CoreProtectionMethod" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/System" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:simpleType name="DayOfWeek">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Sunday" />
        <xs:enumeration value="Monday" />
        <xs:enumeration value="Tuesday" />
        <xs:enumeration value="Wednesday" />
        <xs:enumeration value="Thursday" />
        <xs:enumeration value="Friday" />
        <xs:enumeration value="Saturday" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="DayOfWeek" nillable="true" type="tns:DayOfWeek" />
    <xs:complexType name="Version">
      <xs:sequence>
        <xs:element name="_Build" type="xs:int" />
        <xs:element name="_Major" type="xs:int" />
        <xs:element name="_Minor" type="xs:int" />
        <xs:element name="_Revision" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="Version" nillable="true" type="tns:Version" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.O3E.Phantom.Contracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:simpleType name="O3EDedupeModes">
      <xs:list>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="Auto">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Optimized">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="PassThrough">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:list>
    </xs:simpleType>
    <xs:element name="O3EDedupeModes" nillable="true" type="tns:O3EDedupeModes" />
    <xs:simpleType name="OSType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Unknown" />
        <xs:enumeration value="Windows" />
        <xs:enumeration value="Linux" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="OSType" nillable="true" type="tns:OSType" />
    <xs:complexType name="o3eRepositoryPathInfo">
      <xs:sequence>
        <xs:element minOccurs="0" name="dictionaryPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="journalsPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="repositoryPath" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="o3eRepositoryPathInfo" nillable="true" type="tns:o3eRepositoryPathInfo" />
  </xs:schema>
</Schemas>

The following is the response XML Schema:

<?xml version="1.0" encoding="utf-16"?>
<Schemas>
  <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="anyType" nillable="true" type="xs:anyType" />
    <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
    <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
    <xs:element name="boolean" nillable="true" type="xs:boolean" />
    <xs:element name="byte" nillable="true" type="xs:byte" />
    <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
    <xs:element name="decimal" nillable="true" type="xs:decimal" />
    <xs:element name="double" nillable="true" type="xs:double" />
    <xs:element name="float" nillable="true" type="xs:float" />
    <xs:element name="int" nillable="true" type="xs:int" />
    <xs:element name="long" nillable="true" type="xs:long" />
    <xs:element name="QName" nillable="true" type="xs:QName" />
    <xs:element name="short" nillable="true" type="xs:short" />
    <xs:element name="string" nillable="true" type="xs:string" />
    <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
    <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
    <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
    <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
    <xs:element name="char" nillable="true" type="tns:char" />
    <xs:simpleType name="char">
      <xs:restriction base="xs:int" />
    </xs:simpleType>
    <xs:element name="duration" nillable="true" type="tns:duration" />
    <xs:simpleType name="duration">
      <xs:restriction base="xs:duration">
        <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
        <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
        <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="guid" nillable="true" type="tns:guid" />
    <xs:simpleType name="guid">
      <xs:restriction base="xs:string">
        <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
      </xs:restriction>
    </xs:simpleType>
    <xs:attribute name="FactoryType" type="xs:QName" />
    <xs:attribute name="Id" type="xs:ID" />
    <xs:attribute name="Ref" type="xs:IDREF" />
  </xs:schema>
</Schemas>