POST api/decoder/decode

Request Information

URI Parameters

None.

Body Parameters

ImageData
NameDescriptionTypeAdditional information
width

integer

None.

height

integer

None.

stride

integer

None.

imagetype

string

None.

imagedata

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "width": 1,
  "height": 2,
  "stride": 3,
  "imagetype": "sample string 4",
  "imagedata": "QEA="
}

application/xml, text/xml

Sample:
<ImageData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <Data>QEA=</Data>
  <Height>2</Height>
  <ImageType>sample string 4</ImageType>
  <Stride>3</Stride>
  <Width>1</Width>
</ImageData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DecodeResult
NameDescriptionTypeAdditional information
result

string

None.

time

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": "sample string 1",
  "time": "sample string 2"
}

application/xml, text/xml

Sample:
<DecodeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <Result>sample string 1</Result>
  <Time>sample string 2</Time>
</DecodeResult>