POST api/productWishlist/ProductWishlist_Upsert

Request Information

URI Parameters

None.

Body Parameters

ProductWishlist
NameDescriptionTypeAdditional information
Id

integer

None.

ProductId

integer

None.

ProductName

string

None.

ProductPrice

string

None.

IsDeleted

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

DeletedDate

date

None.

DeletedBy

integer

None.

ProductAverageRating

decimal number

None.

ProductStarCount

integer

None.

ProductThumbnailImage

string

None.

SalonId

integer

None.

CreatedDateStr

string

None.

DeletedDateStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductId": 2,
  "ProductName": "sample string 3",
  "ProductPrice": "sample string 4",
  "IsDeleted": true,
  "CreatedDate": "2025-07-08T20:32:22.1188498+03:00",
  "CreatedBy": 7,
  "DeletedDate": "2025-07-08T20:32:22.1188498+03:00",
  "DeletedBy": 9,
  "ProductAverageRating": 10.0,
  "ProductStarCount": 11,
  "ProductThumbnailImage": "sample string 12",
  "SalonId": 13,
  "CreatedDateStr": "08-07-2025 08:32 PM",
  "DeletedDateStr": "08-07-2025 08:32 PM"
}

text/xml

Sample:
<ProductWishlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:32:22.1188498+03:00</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">9</DeletedBy>
  <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:32:22.1188498+03:00</DeletedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeleted>
  <ProductAverageRating xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">10</ProductAverageRating>
  <ProductId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</ProductId>
  <ProductName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 3</ProductName>
  <ProductPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 4</ProductPrice>
  <ProductStarCount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</ProductStarCount>
  <ProductThumbnailImage xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 12</ProductThumbnailImage>
  <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</SalonId>
</ProductWishlist>

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 'ProductWishlist'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.