POST api/ShopCategories

Request Information

URI Parameters

None.

Body Parameters

ShopCategory
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

LastCreated

date

None.

CategoryName

string

None.

CategoryImage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2025-12-11T12:02:04.0712764+02:00",
  "LastCreated": "2025-12-11T12:02:04.0712764+02:00",
  "CategoryName": "sample string 4",
  "CategoryImage": "sample string 5"
}

application/xml, text/xml

Sample:
<ShopCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <CategoryImage>sample string 5</CategoryImage>
  <CategoryName>sample string 4</CategoryName>
  <DateCreated>2025-12-11T12:02:04.0712764+02:00</DateCreated>
  <LastCreated>2025-12-11T12:02:04.0712764+02:00</LastCreated>
  <id>1</id>
</ShopCategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ShopCategory
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

LastCreated

date

None.

CategoryName

string

None.

CategoryImage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2025-12-11T12:02:04.0712764+02:00",
  "LastCreated": "2025-12-11T12:02:04.0712764+02:00",
  "CategoryName": "sample string 4",
  "CategoryImage": "sample string 5"
}

application/xml, text/xml

Sample:
<ShopCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <CategoryImage>sample string 5</CategoryImage>
  <CategoryName>sample string 4</CategoryName>
  <DateCreated>2025-12-11T12:02:04.0712764+02:00</DateCreated>
  <LastCreated>2025-12-11T12:02:04.0712764+02:00</LastCreated>
  <id>1</id>
</ShopCategory>