PUT api/catalog/catalogs/{catalogId}/images/{imageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogId

integer

Required

imageId

integer

Required

Body Parameters

ReplaceCatalogImageRequest
NameDescriptionTypeAdditional information
NewImageId

integer

Required

NewCatalogPath

string

String length: inclusive between 0 and 500

Notes

string

String length: inclusive between 0 and 1000

Request Formats

application/json, text/json

Sample:
{
  "NewImageId": 1,
  "NewCatalogPath": "sample string 2",
  "Notes": "sample string 3"
}

application/xml, text/xml

Sample:
<ReplaceCatalogImageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.CatalogManagement.Models.Request">
  <NewCatalogPath>sample string 2</NewCatalogPath>
  <NewImageId>1</NewImageId>
  <Notes>sample string 3</Notes>
</ReplaceCatalogImageRequest>

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 'ReplaceCatalogImageRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.