POST api/AccountMedia/DownloadMediaUrl

Request Information

URI Parameters

None.

Body Parameters

DownloadedMediaSummaryViewModel
NameDescriptionTypeAdditional information
AccountId

string

None.

UserId

string

None.

MediaType

MediaContentType

None.

MediaLibrarySourceType

MediaLibrarySourceType

None.

SelectedMediaSummary

Collection of SelectedMediaInfoViewModel

None.

FileDuration

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "sample string 1",
  "UserId": "sample string 2",
  "MediaType": "Image",
  "MediaLibrarySourceType": "MyLibrary",
  "SelectedMediaSummary": [
    {
      "MediaUrl": "sample string 1",
      "ImageHeight": "sample string 2",
      "ImageWidth": "sample string 3"
    },
    {
      "MediaUrl": "sample string 1",
      "ImageHeight": "sample string 2",
      "ImageWidth": "sample string 3"
    }
  ],
  "FileDuration": "sample string 3"
}

application/xml, text/xml

Sample:
<DownloadedMediaSummaryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel">
  <AccountId>sample string 1</AccountId>
  <FileDuration>sample string 3</FileDuration>
  <MediaLibrarySourceType>MyLibrary</MediaLibrarySourceType>
  <MediaType>Image</MediaType>
  <SelectedMediaSummary>
    <SelectedMediaInfoViewModel>
      <ImageHeight>sample string 2</ImageHeight>
      <ImageWidth>sample string 3</ImageWidth>
      <MediaUrl>sample string 1</MediaUrl>
    </SelectedMediaInfoViewModel>
    <SelectedMediaInfoViewModel>
      <ImageHeight>sample string 2</ImageHeight>
      <ImageWidth>sample string 3</ImageWidth>
      <MediaUrl>sample string 1</MediaUrl>
    </SelectedMediaInfoViewModel>
  </SelectedMediaSummary>
  <UserId>sample string 2</UserId>
</DownloadedMediaSummaryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.