POST api/Files

Compresses the provided list of files and stores them in the user's personal store.

Request Information

URI Parameters

None.

Body Parameters

Contract providing information about where to retrieve the files.

FileTransfer
NameDescriptionTypeAdditional information
Description

string

None.

Files

Collection of CompressionItem

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "Files": [
    {
      "FileName": "sample string 1",
      "BlobDetails": "sample string 2"
    },
    {
      "FileName": "sample string 1",
      "BlobDetails": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<FileTransfer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Commerce.Reporting.AzureContentService.Contracts">
  <Description>sample string 1</Description>
  <Files>
    <CompressionItem>
      <BlobDetails>sample string 2</BlobDetails>
      <FileName>sample string 1</FileName>
    </CompressionItem>
    <CompressionItem>
      <BlobDetails>sample string 2</BlobDetails>
      <FileName>sample string 1</FileName>
    </CompressionItem>
  </Files>
</FileTransfer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Metadata information about the created file.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.