POST api/StateCharge/AddStateCharge

Request Information

URI Parameters

None.

Body Parameters

StateChargesModel
NameDescriptionTypeAdditional information
Id

integer

None.

ProductId

integer

None.

ProductName

string

None.

StateId

string

None.

StateName

string

None.

ChargeAmount

decimal number

None.

EntryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductId": 1,
  "ProductName": "sample string 1",
  "StateId": "sample string 2",
  "StateName": "sample string 3",
  "ChargeAmount": 1.0,
  "EntryDate": "2025-12-12T08:45:56.0677995+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"
  }
}