POST api/ProductAPI/addEditProduct

Request Information

URI Parameters

None.

Body Parameters

ProductViewModel
NameDescriptionTypeAdditional information
productid

integer

None.

productname

string

None.

categoryid

integer

None.

image

string

None.

price

decimal number

None.

description

string

None.

displayorder

integer

None.

Olddisplayorder

integer

None.

status

boolean

None.

createddate

date

None.

lastupdateddate

date

None.

createdby

integer

None.

lastupdatedby

integer

None.

isdeleted

boolean

None.

deletedby

integer

None.

deleteddatetime

date

None.

Category

string

None.

SessionUser

decimal number

None.

listProduct

Collection of ProductViewModel

None.

lstCategory

Collection of SelectListItem

None.

lstFileName

Collection of string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

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.