POST api/catalog/catalogs/{catalogId}/images
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| catalogId | integer |
Required |
Body Parameters
AssociateCatalogImageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ImageId | integer |
Required |
|
| CatalogPath | string |
Required String length: inclusive between 0 and 500 |
|
| Status | string |
String length: inclusive between 0 and 50 |
|
| Notes | string |
String length: inclusive between 0 and 1000 |
|
| OperationContext | string |
Matching regular expression pattern: ^(manual|import)$ String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"ImageId": 1,
"CatalogPath": "sample string 2",
"Status": "sample string 3",
"Notes": "sample string 4",
"OperationContext": "sample string 5"
}
application/xml, text/xml
Sample:
<AssociateCatalogImageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.CatalogManagement.Models.Request"> <CatalogPath>sample string 2</CatalogPath> <ImageId>1</ImageId> <Notes>sample string 4</Notes> <OperationContext>sample string 5</OperationContext> <Status>sample string 3</Status> </AssociateCatalogImageRequest>
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.