POST Margaux/UpdateDownloadPosts

Request Information

URI Parameters

None.

Body Parameters

MargauxDownloadItem
NameDescriptionTypeAdditional information
media

string

None.

ids

Dictionary of integer [key] and integer [value]

None.

idcount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "media": "sample string 1",
  "ids": {
    "1": 2,
    "3": 4
  },
  "idcount": 2
}

application/xml, text/xml

Sample:
<MargauxDownloadItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmgYouGov.SuperPortal.Domain.Models.Api">
  <idcount>2</idcount>
  <ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintint>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>2</d2p1:Value>
    </d2p1:KeyValueOfintint>
    <d2p1:KeyValueOfintint>
      <d2p1:Key>3</d2p1:Key>
      <d2p1:Value>4</d2p1:Value>
    </d2p1:KeyValueOfintint>
  </ids>
  <media>sample string 1</media>
</MargauxDownloadItem>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MargauxDownloadItem'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.