POST Operation/{id}/RollbackItems

Create a rollback request

Request Information

Parameters

NameDescriptionAdditional information
id
Id of the migation

Define this parameter in the request URI.

rollbackRequest
Struct that conatins items and source email

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SourceMail": "sample string 1",
  "ItemsToRollback": [
    0,
    0,
    0
  ],
  "DestinationPassword": "sample string 2"
}

application/xml, text/xml

Sample:
<RollbackItemsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMM_API.Models.Operation">
  <DestinationPassword>sample string 2</DestinationPassword>
  <ItemsToRollback xmlns:d2p1="http://schemas.datacontract.org/2004/07/OVH.MailMigrator.Model.Item">
    <d2p1:ItemType>Mail</d2p1:ItemType>
    <d2p1:ItemType>Mail</d2p1:ItemType>
    <d2p1:ItemType>Mail</d2p1:ItemType>
  </ItemsToRollback>
  <SourceMail>sample string 1</SourceMail>
</RollbackItemsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>