PUT api/MainAddonCategories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

MainAddonCategory
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

LastModified

date

None.

CategoryName

string

None.

Image

string

None.

TempImage

Collection of byte

None.

VendorId

integer

None.

ProductCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2025-12-11T12:01:35.3901916+02:00",
  "LastModified": "2025-12-11T12:01:35.3901916+02:00",
  "CategoryName": "sample string 4",
  "Image": "sample string 5",
  "TempImage": "QEA=",
  "VendorId": 1,
  "ProductCategoryId": 1
}

application/xml, text/xml

Sample:
<MainAddonCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <CategoryName>sample string 4</CategoryName>
  <DateCreated>2025-12-11T12:01:35.3901916+02:00</DateCreated>
  <Image>sample string 5</Image>
  <LastModified>2025-12-11T12:01:35.3901916+02:00</LastModified>
  <ProductCategoryId>1</ProductCategoryId>
  <TempImage>QEA=</TempImage>
  <VendorId>1</VendorId>
  <id>1</id>
</MainAddonCategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.