POST api/AIProcess/ReprocessImage

Documentation for 'ReprocessImage'.

Request Information

Parameters

NameDescriptionAdditional information
data
Documentation for 'data'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ImageData": [
    {
      "OriginalURL": "sample string 1",
      "ProcessedURL": "sample string 2",
      "LabelName": "sample string 3"
    },
    {
      "OriginalURL": "sample string 1",
      "ProcessedURL": "sample string 2",
      "LabelName": "sample string 3"
    },
    {
      "OriginalURL": "sample string 1",
      "ProcessedURL": "sample string 2",
      "LabelName": "sample string 3"
    }
  ],
  "RemoveBG": true,
  "RemoveWall": true,
  "Dropshadow": true,
  "RemoveGlare": true,
  "PartialShotFilter": 5,
  "VIN": true
}

application/xml, text/xml

Sample:
<ProcessImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BoothApp.Common">
  <Dropshadow>true</Dropshadow>
  <ImageData>
    <ProcessImageURLModel>
      <LabelName>sample string 3</LabelName>
      <OriginalURL>sample string 1</OriginalURL>
      <ProcessedURL>sample string 2</ProcessedURL>
    </ProcessImageURLModel>
    <ProcessImageURLModel>
      <LabelName>sample string 3</LabelName>
      <OriginalURL>sample string 1</OriginalURL>
      <ProcessedURL>sample string 2</ProcessedURL>
    </ProcessImageURLModel>
    <ProcessImageURLModel>
      <LabelName>sample string 3</LabelName>
      <OriginalURL>sample string 1</OriginalURL>
      <ProcessedURL>sample string 2</ProcessedURL>
    </ProcessImageURLModel>
  </ImageData>
  <PartialShotFilter>5</PartialShotFilter>
  <RemoveBG>true</RemoveBG>
  <RemoveGlare>true</RemoveGlare>
  <RemoveWall>true</RemoveWall>
  <VIN>true</VIN>
</ProcessImageModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'ProcessImageModel'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2",
  "sample string 3"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
  <string>sample string 3</string>
</ArrayOfstring>