POST api/Products

Request Information

URI Parameters

None.

Body Parameters

Product
NameDescriptionTypeAdditional information
ProductId

integer

None.

Name

string

None.

Description

string

None.

StoreId

integer

None.

Price

decimal number

None.

CategoryId

integer

None.

ItemTypeId

integer

None.

Offer

decimal number

None.

StatusTypeId

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

ProductImageUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "StoreId": 1,
  "Price": 1.1,
  "CategoryId": 1,
  "ItemTypeId": 1,
  "Offer": 1.1,
  "StatusTypeId": 1,
  "CreatedBy": 1,
  "CreatedDate": "2025-12-06T09:57:10.0844231+05:30",
  "UpdatedBy": 1,
  "UpdatedDate": "2025-12-06T09:57:10.0844231+05:30",
  "ProductImageUrl": "sample string 4"
}

application/xml, text/xml

Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
  <CategoryId>1</CategoryId>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-06T09:57:10.0844231+05:30</CreatedDate>
  <Description>sample string 3</Description>
  <ItemTypeId>1</ItemTypeId>
  <Name>sample string 2</Name>
  <Offer>1.1</Offer>
  <Price>1.1</Price>
  <ProductId>1</ProductId>
  <ProductImageUrl>sample string 4</ProductImageUrl>
  <StatusTypeId>1</StatusTypeId>
  <StoreId>1</StoreId>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-06T09:57:10.0844231+05:30</UpdatedDate>
</Product>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Product
NameDescriptionTypeAdditional information
ProductId

integer

None.

Name

string

None.

Description

string

None.

StoreId

integer

None.

Price

decimal number

None.

CategoryId

integer

None.

ItemTypeId

integer

None.

Offer

decimal number

None.

StatusTypeId

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

ProductImageUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "StoreId": 1,
  "Price": 1.1,
  "CategoryId": 1,
  "ItemTypeId": 1,
  "Offer": 1.1,
  "StatusTypeId": 1,
  "CreatedBy": 1,
  "CreatedDate": "2025-12-06T09:57:10.0844231+05:30",
  "UpdatedBy": 1,
  "UpdatedDate": "2025-12-06T09:57:10.0844231+05:30",
  "ProductImageUrl": "sample string 4"
}

application/xml, text/xml

Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
  <CategoryId>1</CategoryId>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-06T09:57:10.0844231+05:30</CreatedDate>
  <Description>sample string 3</Description>
  <ItemTypeId>1</ItemTypeId>
  <Name>sample string 2</Name>
  <Offer>1.1</Offer>
  <Price>1.1</Price>
  <ProductId>1</ProductId>
  <ProductImageUrl>sample string 4</ProductImageUrl>
  <StatusTypeId>1</StatusTypeId>
  <StoreId>1</StoreId>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-06T09:57:10.0844231+05:30</UpdatedDate>
</Product>