POST api/Common/ModifyCategory

Request Information

URI Parameters

None.

Body Parameters

Category_SubCategory
NameDescriptionTypeAdditional information
CategoryMasterId

integer

None.

CategoryName

string

None.

SubCategoryName

string

None.

SubCategoryMasterId

integer

None.

flag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryMasterId": 1,
  "CategoryName": "sample string 2",
  "SubCategoryName": "sample string 3",
  "SubCategoryMasterId": 4,
  "flag": 5
}

text/html

Sample:
{"CategoryMasterId":1,"CategoryName":"sample string 2","SubCategoryName":"sample string 3","SubCategoryMasterId":4,"flag":5}

application/xml, text/xml

Sample:
<Category_SubCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <CategoryMasterId>1</CategoryMasterId>
  <CategoryName>sample string 2</CategoryName>
  <SubCategoryMasterId>4</SubCategoryMasterId>
  <SubCategoryName>sample string 3</SubCategoryName>
  <flag>5</flag>
</Category_SubCategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2025/12/28 05:16:55",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

text/html

Sample:
{"Version":"1.0.0","dateTime":"2025/12/28 05:16:55","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>