POST api/tblCart/AddProduct

Request Information

URI Parameters

None.

Body Parameters

tbl_Cart
NameDescriptionTypeAdditional information
CartId

integer

None.

ProductId

integer

None.

ComplaintId

integer

None.

ProductQty

integer

None.

RegisterId

integer

None.

TotalAmount

decimal number

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CartId": 1,
  "ProductId": 1,
  "ComplaintId": 1,
  "ProductQty": 1,
  "RegisterId": 1,
  "TotalAmount": 1.0,
  "CreatedDate": "2026-02-05T19:46:53.8682253+05:30"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'tbl_Cart'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.