Reference for RespondToPairingRequest

Url: replication/requests/pairing/{requestId}

HTTP Method: POST

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"?>
<pendingReplicationPairingResponse xmlns="http://apprecovery.com/management/api/2010/05">
  <approved>true</approved>
  <comments>String content</comments>
  <customerId>String content</customerId>
  <emailAddress>String content</emailAddress>
  <hostName>String content</hostName>
  <pendingAgents>
    <agents>
      <replicatedAgentByDemand>
        <agentInfo>
          <ServerType>String content</ServerType>
          <displayName>String content</displayName>
          <hostName>String content</hostName>
          <hostUri>String content</hostUri>
          <id>1627aea5-8e0a-4371-9022-9b504344e724</id>
          <repositoryType i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
        </agentInfo>
        <enableSafeDataStoring>true</enableSafeDataStoring>
        <encryptionKeyId>String content</encryptionKeyId>
        <isCluster>true</isCluster>
        <machineFlags i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
        <parentAgentId>1627aea5-8e0a-4371-9022-9b504344e724</parentAgentId>
        <parentClusterId>1627aea5-8e0a-4371-9022-9b504344e724</parentClusterId>
        <repositoryId>1627aea5-8e0a-4371-9022-9b504344e724</repositoryId>
      </replicatedAgentByDemand>
      <replicatedAgentByDemand>
        <agentInfo>
          <ServerType>String content</ServerType>
          <displayName>String content</displayName>
          <hostName>String content</hostName>
          <hostUri>String content</hostUri>
          <id>1627aea5-8e0a-4371-9022-9b504344e724</id>
          <repositoryType i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
        </agentInfo>
        <enableSafeDataStoring>true</enableSafeDataStoring>
        <encryptionKeyId>String content</encryptionKeyId>
        <isCluster>true</isCluster>
        <machineFlags i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
        <parentAgentId>1627aea5-8e0a-4371-9022-9b504344e724</parentAgentId>
        <parentClusterId>1627aea5-8e0a-4371-9022-9b504344e724</parentClusterId>
        <repositoryId>1627aea5-8e0a-4371-9022-9b504344e724</repositoryId>
      </replicatedAgentByDemand>
    </agents>
  </pendingAgents>
  <replaceExistingCoreId>1627aea5-8e0a-4371-9022-9b504344e724</replaceExistingCoreId>
</pendingReplicationPairingResponse>

The following is an example response XML body:

No Xml response output for this method.

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.Agents" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Repositories" />
    <xs:complexType name="pendingReplicationPairingResponse">
      <xs:sequence>
        <xs:element minOccurs="0" name="approved" type="xs:boolean" />
        <xs:element minOccurs="0" name="comments" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="customerId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="emailAddress" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="pendingAgents" nillable="true" type="tns:pendingReplicationAgents" />
        <xs:element minOccurs="0" name="replaceExistingCoreId" type="ser:guid" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="pendingReplicationPairingResponse" nillable="true" type="tns:pendingReplicationPairingResponse" />
    <xs:complexType name="pendingReplicationAgents">
      <xs:sequence>
        <xs:element minOccurs="0" name="agents" nillable="true" type="tns:replicatedAgentByDemandCollection" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="pendingReplicationAgents" nillable="true" type="tns:pendingReplicationAgents" />
    <xs:complexType name="replicatedAgentByDemandCollection">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="replicatedAgentByDemand" nillable="true" type="tns:replicatedAgentByDemand" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="replicatedAgentByDemandCollection" nillable="true" type="tns:replicatedAgentByDemandCollection" />
    <xs:complexType name="replicatedAgentByDemand">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:replicatedAgentRequestBase">
          <xs:sequence>
            <xs:element minOccurs="0" name="repositoryId" type="ser:guid" />
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="replicatedAgentByDemand" nillable="true" type="tns:replicatedAgentByDemand" />
    <xs:complexType name="replicatedAgentRequestBase">
      <xs:sequence>
        <xs:element minOccurs="0" name="agentInfo" nillable="true" type="tns:replicatedAgentInfo" />
        <xs:element minOccurs="0" name="enableSafeDataStoring" type="xs:boolean" />
        <xs:element minOccurs="0" name="encryptionKeyId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="isCluster" type="xs:boolean" />
        <xs:element minOccurs="0" name="machineFlags" xmlns:q1="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Agents" type="q1:MachineFlags" />
        <xs:element minOccurs="0" name="parentAgentId" type="ser:guid" />
        <xs:element minOccurs="0" name="parentClusterId" type="ser:guid" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="replicatedAgentRequestBase" nillable="true" type="tns:replicatedAgentRequestBase" />
    <xs:complexType name="replicatedAgentInfo">
      <xs:sequence>
        <xs:element minOccurs="0" name="ServerType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="hostUri" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="id" type="ser:guid" />
        <xs:element minOccurs="0" name="repositoryType" xmlns:q2="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Repositories" type="q2:RepositoryType" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="replicatedAgentInfo" nillable="true" type="tns:replicatedAgentInfo" />
    <xs:complexType name="replicatedAgentByRequest">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:replicatedAgentRequestBase">
          <xs:sequence />
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="replicatedAgentByRequest" nillable="true" type="tns:replicatedAgentByRequest" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Repositories" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Repositories" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:simpleType name="RepositoryType">
      <xs:list>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="Unknown">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Dvm">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="O3E">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Archive">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Cloud">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="O3EPhantom">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:list>
    </xs:simpleType>
    <xs:element name="RepositoryType" nillable="true" type="tns:RepositoryType" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Agents" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Agents" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:simpleType name="MachineFlags">
      <xs:annotation>
        <xs:appinfo>
          <ActualType Name="long" Namespace="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
      <xs:list>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="None">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Agent">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Cluster">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ClusterNode">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="EsxServer">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="EsxVirtualMachine">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="HyperVServer">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">32</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="HyperVVirtualMachine">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">64</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="SmbServer">
              <xs:annotation>
                <xs:appinfo>
                  <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">128</EnumerationValue>
                </xs:appinfo>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:list>
    </xs:simpleType>
    <xs:element name="MachineFlags" nillable="true" type="tns:MachineFlags" />
  </xs:schema>
</Schemas>

The following is the response XML Schema:

The response body is empty.