POST Project/Import

Import an excel/csv file to create multiple migrations

Request Information

Header Parameters

NameDescriptionAdditional information
X-OVH-Authorization
Basic authorization (Basic Id:Password) in a base64form header

None.

Parameters

NameDescriptionAdditional information
importParameters
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Base64File": "sample string 1",
  "FileExtension": "sample string 2"
}

application/xml, text/xml

Sample:
<ImportParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMM_API.Models.Project">
  <Base64File>sample string 1</Base64File>
  <FileExtension>sample string 2</FileExtension>
</ImportParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "NewMigrationsIds": [
    1,
    2,
    3
  ],
  "Errors": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

application/xml, text/xml

Sample:
<CreateMigrationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMM_API.Models.Project">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </Errors>
  <NewMigrationsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </NewMigrationsIds>
</CreateMigrationResult>