PUT api/catalog/catalogs/{catalogId}/images/{imageId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| catalogId | integer |
Required |
|
| imageId | integer |
Required |
Body Parameters
ReplaceCatalogImageRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.