POST api/ic/uploadproductimage?productCode={productCode}&path={path}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productCode

string

Required

path

string

Default value is

Body Parameters

FileUpload
NameDescriptionTypeAdditional information
FileName

string

None.

UploadPath

string

None.

FileSize

integer

None.

Offset

integer

None.

FileChunk

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "UploadPath": "sample string 2",
  "FileSize": 3,
  "Offset": 4,
  "FileChunk": "QEA="
}

application/xml, text/xml

Sample:
<FileUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.System">
  <FileChunk>QEA=</FileChunk>
  <FileName>sample string 1</FileName>
  <FileSize>3</FileSize>
  <Offset>4</Offset>
  <UploadPath>sample string 2</UploadPath>
</FileUpload>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.