POST v1/Images/SaveMetadata

Request Information

URI Parameters

None.

Body Parameters

Collection of ImageAssetMetadataVM
NameDescriptionTypeAdditional information
ImageAssetId

integer

None.

DisplayName

string

None.

Description

string

None.

AssociatedUrl

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ImageAssetId": 1,
    "DisplayName": "sample string 2",
    "Description": "sample string 3",
    "AssociatedUrl": "sample string 4"
  },
  {
    "ImageAssetId": 1,
    "DisplayName": "sample string 2",
    "Description": "sample string 3",
    "AssociatedUrl": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfImageAssetMetadataVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.WebApi.Controllers">
  <ImageAssetMetadataVM>
    <AssociatedUrl>sample string 4</AssociatedUrl>
    <Description>sample string 3</Description>
    <DisplayName>sample string 2</DisplayName>
    <ImageAssetId>1</ImageAssetId>
  </ImageAssetMetadataVM>
  <ImageAssetMetadataVM>
    <AssociatedUrl>sample string 4</AssociatedUrl>
    <Description>sample string 3</Description>
    <DisplayName>sample string 2</DisplayName>
    <ImageAssetId>1</ImageAssetId>
  </ImageAssetMetadataVM>
</ArrayOfImageAssetMetadataVM>

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 'IEnumerable`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.