PUT api/catalog/images/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UpdateImageRequest
NameDescriptionTypeAdditional information
Path

string

String length: inclusive between 0 and 500

Size

integer

None.

S3Url

string

String length: inclusive between 0 and 500

S3Key

string

String length: inclusive between 0 and 500

S3Bucket

string

String length: inclusive between 0 and 100

AddedAt

date

None.

UpdatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Path": "sample string 1",
  "Size": 1,
  "S3Url": "sample string 2",
  "S3Key": "sample string 3",
  "S3Bucket": "sample string 4",
  "AddedAt": "2026-04-05T13:40:40.5113508-04:00",
  "UpdatedAt": "2026-04-05T13:40:40.5113508-04:00"
}

application/xml, text/xml

Sample:
<UpdateImageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.CatalogManagement.Models.Request">
  <AddedAt>2026-04-05T13:40:40.5113508-04:00</AddedAt>
  <Path>sample string 1</Path>
  <S3Bucket>sample string 4</S3Bucket>
  <S3Key>sample string 3</S3Key>
  <S3Url>sample string 2</S3Url>
  <Size>1</Size>
  <UpdatedAt>2026-04-05T13:40:40.5113508-04:00</UpdatedAt>
</UpdateImageRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.