POST v1/ProductGroups/{productGroupId}/Image

Post a new image for given Product group.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productGroupId

The Product group Id

integer

Required.

Body Parameters

The image.

File
NameDescriptionTypeAdditional information
CreatedTimestamp

Gets the date/time on which the file was created

date

None.

ChangedTimestamp

Gets the date/time on which the file was last changed

date

None.

FileLength

Gets the byte length of the file. Only set id Base64 field is loaded

integer

Required

Checksum

SHA1 checksum of file contents. Only set id Base64 field is loaded

string

None.

Sequence

Gets or sets the sequence.

integer

None.

Base64Data

Gets or sets the base64 data.

string

None.

Id

Gets or sets the identifier.

integer

Must be 0 (for insert operations)

Filename

Gets or sets the filename.

string

Required

Max length: 255

Request Formats

application/json, text/json

Sample:
{
  "CreatedTimestamp": "2026-01-11T16:14:58.1851116+01:00",
  "ChangedTimestamp": "2026-01-11T16:14:58.1851116+01:00",
  "FileLength": 3,
  "Checksum": "sample string 4",
  "Sequence": 5,
  "Base64Data": "sample string 6",
  "Id": 7,
  "Filename": "sample string 8"
}

application/xml, text/xml

Sample:
<File xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>7</Id>
  <Filename>sample string 8</Filename>
  <CreatedTimestamp>2026-01-11T16:14:58.1851116+01:00</CreatedTimestamp>
  <ChangedTimestamp>2026-01-11T16:14:58.1851116+01:00</ChangedTimestamp>
  <FileLength>3</FileLength>
  <Checksum>sample string 4</Checksum>
  <Sequence>5</Sequence>
  <Base64Data>sample string 6</Base64Data>
</File>

Response Information

Resource Description

Returns the imageFileId.

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>