POST api/packageCustomPrice/PackageCustomPrice_Create

Request Information

URI Parameters

None.

Body Parameters

PackageCustomPrice
NameDescriptionTypeAdditional information
Id

integer

None.

CustomPrice

string

None.

SalonId

integer

None.

PackageId

integer

None.

LookUpServiceId

integer

None.

CreatedDate

date

None.

CreatedBy

integer

None.

CreatedDateStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomPrice": "sample string 2",
  "SalonId": 3,
  "PackageId": 4,
  "LookUpServiceId": 5,
  "CreatedDate": "2025-07-08T19:05:22.5442835+03:00",
  "CreatedBy": 7,
  "CreatedDateStr": "08-Jul-2025 07:05 PM"
}

text/xml

Sample:
<PackageCustomPrice 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-08T19:05:22.5442835+03:00</CreatedDate>
  <CustomPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 2</CustomPrice>
  <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
  <LookUpServiceId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</LookUpServiceId>
  <PackageId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</PackageId>
  <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</SalonId>
</PackageCustomPrice>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.