POST api/Product/UpdateProduct

Request Information

URI Parameters

None.

Body Parameters

ProductModel
NameDescriptionTypeAdditional information
ProductId

integer

None.

ProductName

string

Required

GST

decimal number

Required

Commission

decimal number

Required

TotalCount

integer

None.

EntryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "ProductName": "sample string 1",
  "GST": 1.0,
  "Commission": 1.0,
  "TotalCount": 1,
  "EntryDate": "2025-12-12T08:46:40.8802148+05:30"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddUpdateDeleteResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": {
    "$id": "2"
  }
}