POST api/catalog/catalogs/{catalogId}/images/batch

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogId

integer

Required

Body Parameters

BatchAssociateCatalogImagesRequest
NameDescriptionTypeAdditional information
Images

Collection of AssociateCatalogImageRequest

Required

OperationContext

string

Matching regular expression pattern: ^(manual|import)$

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "Images": [
    {
      "ImageId": 1,
      "CatalogPath": "sample string 2",
      "Status": "sample string 3",
      "Notes": "sample string 4",
      "OperationContext": "sample string 5"
    },
    {
      "ImageId": 1,
      "CatalogPath": "sample string 2",
      "Status": "sample string 3",
      "Notes": "sample string 4",
      "OperationContext": "sample string 5"
    }
  ],
  "OperationContext": "sample string 1"
}

application/xml, text/xml

Sample:
<BatchAssociateCatalogImagesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.CatalogManagement.Models.Request">
  <Images>
    <AssociateCatalogImageRequest>
      <CatalogPath>sample string 2</CatalogPath>
      <ImageId>1</ImageId>
      <Notes>sample string 4</Notes>
      <OperationContext>sample string 5</OperationContext>
      <Status>sample string 3</Status>
    </AssociateCatalogImageRequest>
    <AssociateCatalogImageRequest>
      <CatalogPath>sample string 2</CatalogPath>
      <ImageId>1</ImageId>
      <Notes>sample string 4</Notes>
      <OperationContext>sample string 5</OperationContext>
      <Status>sample string 3</Status>
    </AssociateCatalogImageRequest>
  </Images>
  <OperationContext>sample string 1</OperationContext>
</BatchAssociateCatalogImagesRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.