POST api/MasterCategory/UpdateCategories

Request Information

URI Parameters

None.

Body Parameters

MasterCategoryBindingModel
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryName

string

None.

ImagePath

string

None.

CreationDate

date

None.

CreatedBy

integer

None.

UpdationDate

date

None.

UpdatedBy

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "CategoryName": "sample string 2",
  "ImagePath": "sample string 3",
  "CreationDate": "2025-12-06T09:53:11.2482341+05:30",
  "CreatedBy": 1,
  "UpdationDate": "2025-12-06T09:53:11.2491507+05:30",
  "UpdatedBy": 1,
  "IsActive": true
}

application/xml, text/xml

Sample:
<MasterCategoryBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models">
  <CategoryId>1</CategoryId>
  <CategoryName>sample string 2</CategoryName>
  <CreatedBy>1</CreatedBy>
  <CreationDate>2025-12-06T09:53:11.2482341+05:30</CreationDate>
  <ImagePath>sample string 3</ImagePath>
  <IsActive>true</IsActive>
  <UpdatedBy>1</UpdatedBy>
  <UpdationDate>2025-12-06T09:53:11.2491507+05:30</UpdationDate>
</MasterCategoryBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.