Reference for CreateJob

Url: amazonSeeding/createJob

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"?>
<amazonSeedJobRequest xmlns="http://apprecovery.com/management/api/2010/05">
  <accountId>1627aea5-8e0a-4371-9022-9b504344e724</accountId>
  <!--Valid elements of type: importJobRequest, exportJobRequest-->
  <request i:type="importJobRequest" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <address>
      <city>String content</city>
      <company>String content</company>
      <country>String content</country>
      <name>String content</name>
      <phoneNumber>String content</phoneNumber>
      <postalCode>String content</postalCode>
      <stateOrProvince>String content</stateOrProvince>
      <street>String content</street>
    </address>
    <customData>
      <dataDescription>String content</dataDescription>
      <deviceHTS>String content</deviceHTS>
      <deviceManufacturedCountry>String content</deviceManufacturedCountry>
      <devicePrice>1.26743237E+15</devicePrice>
      <deviceType>ExternalStorageDevice</deviceType>
      <encryptionClassification>String content</encryptionClassification>
      <exportCertifierName>String content</exportCertifierName>
      <exportType>Return</exportType>
      <isDataEncrypted>true</isDataEncrypted>
      <isRequiresExportLicense>true</isRequiresExportLicense>
    </customData>
    <deviceId>String content</deviceId>
    <logBucket>String content</logBucket>
    <logPrefix>String content</logPrefix>
    <notificationEmail>String content</notificationEmail>
    <pinCode>2147483647</pinCode>
    <serviceLevel>Standard</serviceLevel>
    <trueCryptPassword>String content</trueCryptPassword>
    <accessControl>Private</accessControl>
    <bucket>String content</bucket>
    <ignoreRules>
      <string>String content</string>
      <string>String content</string>
    </ignoreRules>
    <prefix>String content</prefix>
  </request>
</amazonSeedJobRequest>

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.Common.Contracts.Cloud.Amazon.Seeding" />
    <xs:complexType name="amazonSeedJobRequest">
      <xs:sequence>
        <xs:element minOccurs="0" name="accountId" type="ser:guid" />
        <xs:element minOccurs="0" name="request" nillable="true" type="tns:createJobRequest" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="amazonSeedJobRequest" nillable="true" type="tns:amazonSeedJobRequest" />
    <xs:complexType name="createJobRequest">
      <xs:sequence>
        <xs:element name="address" nillable="true" type="tns:returnAddress" />
        <xs:element minOccurs="0" name="customData" nillable="true" type="tns:customData" />
        <xs:element name="deviceId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="logBucket" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="logPrefix" nillable="true" type="xs:string" />
        <xs:element name="notificationEmail" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="pinCode" nillable="true" type="xs:int" />
        <xs:element minOccurs="0" name="serviceLevel" xmlns:q1="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon.Seeding" type="q1:ShippingServiceLevel" />
        <xs:element minOccurs="0" name="trueCryptPassword" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="createJobRequest" nillable="true" type="tns:createJobRequest" />
    <xs:complexType name="returnAddress">
      <xs:sequence>
        <xs:element name="city" nillable="true" type="xs:string" />
        <xs:element name="company" nillable="true" type="xs:string" />
        <xs:element name="country" nillable="true" type="xs:string" />
        <xs:element name="name" nillable="true" type="xs:string" />
        <xs:element name="phoneNumber" nillable="true" type="xs:string" />
        <xs:element name="postalCode" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="stateOrProvince" nillable="true" type="xs:string" />
        <xs:element name="street" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="returnAddress" nillable="true" type="tns:returnAddress" />
    <xs:complexType name="customData">
      <xs:sequence>
        <xs:element name="dataDescription" nillable="true" type="xs:string" />
        <xs:element name="deviceHTS" nillable="true" type="xs:string" />
        <xs:element name="deviceManufacturedCountry" nillable="true" type="xs:string" />
        <xs:element name="devicePrice" nillable="true" type="xs:float" />
        <xs:element minOccurs="0" name="deviceType" xmlns:q2="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon.Seeding" type="q2:DeviceType" />
        <xs:element minOccurs="0" name="encryptionClassification" nillable="true" type="xs:string" />
        <xs:element name="exportCertifierName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="exportType" xmlns:q3="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon.Seeding" type="q3:ExportType" />
        <xs:element minOccurs="0" name="isDataEncrypted" type="xs:boolean" />
        <xs:element minOccurs="0" name="isRequiresExportLicense" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="customData" nillable="true" type="tns:customData" />
    <xs:complexType name="importJobRequest">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:createJobRequest">
          <xs:sequence>
            <xs:element minOccurs="0" name="accessControl" xmlns:q4="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon.Seeding" type="q4:AccessLevel" />
            <xs:element name="bucket" nillable="true" type="xs:string" />
            <xs:element minOccurs="0" name="ignoreRules" nillable="true" type="tns:stringCollection" />
            <xs:element minOccurs="0" name="prefix" nillable="true" type="xs:string" />
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="importJobRequest" nillable="true" type="tns:importJobRequest" />
    <xs:complexType name="stringCollection">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="stringCollection" nillable="true" type="tns:stringCollection" />
    <xs:complexType name="exportJobRequest">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:createJobRequest">
          <xs:sequence>
            <xs:element name="fileSystem" xmlns:q5="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon.Seeding" type="q5:FileSystemType" />
            <xs:element name="options" nillable="true" type="tns:exportOperation" />
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="exportJobRequest" nillable="true" type="tns:exportJobRequest" />
    <xs:complexType name="exportOperation">
      <xs:sequence>
        <xs:element minOccurs="0" name="beginMarker" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="endMarker" nillable="true" type="xs:string" />
        <xs:element name="exportBucket" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="targetDirectory" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="exportOperation" nillable="true" type="tns:exportOperation" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon.Seeding" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon.Seeding" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:simpleType name="DeviceType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="ExternalStorageDevice" />
        <xs:enumeration value="UsbFlashDrive" />
        <xs:enumeration value="SataDrive" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="DeviceType" nillable="true" type="tns:DeviceType" />
    <xs:simpleType name="ExportType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Return" />
        <xs:enumeration value="Permanent" />
        <xs:enumeration value="Temporary" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="ExportType" nillable="true" type="tns:ExportType" />
    <xs:simpleType name="ShippingServiceLevel">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Standard" />
        <xs:enumeration value="ExpeditedShipping" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="ShippingServiceLevel" nillable="true" type="tns:ShippingServiceLevel" />
    <xs:simpleType name="AccessLevel">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Private" />
        <xs:enumeration value="PublicRead" />
        <xs:enumeration value="PublicReadWrite" />
        <xs:enumeration value="AuthenticatedRead" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="AccessLevel" nillable="true" type="tns:AccessLevel" />
    <xs:simpleType name="FileSystemType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Ntfs" />
        <xs:enumeration value="Ext4" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="FileSystemType" nillable="true" type="tns:FileSystemType" />
  </xs:schema>
</Schemas>

The following is the response XML Schema:

The response body is empty.