POST api/dailyDeals/DailyDeals_Upsert
Request Information
URI Parameters
None.
Body Parameters
DailyDealsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SalonId | integer |
None. |
|
OfferDate | string |
None. |
|
SalonName | string |
None. |
|
SalonNewName | string |
None. |
|
SalonLogo | string |
None. |
|
StartTime | string |
None. |
|
EndTime | string |
None. |
|
OfferEndTime | string |
None. |
|
Duration | string |
None. |
|
ServiceAndPackagesId | integer |
None. |
|
Type | integer |
None. |
|
HomeService | integer |
None. |
|
SalonInsideService | integer |
None. |
|
OfferPrice | decimal number |
None. |
|
IsDeleted | boolean |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
ParentId | integer |
None. |
|
ServiceName | string |
None. |
|
ServicePrice | decimal number |
None. |
|
PackagesName | string |
None. |
|
PackagesPrice | decimal number |
None. |
|
ServicesIds | string |
None. |
|
PackagesIds | string |
None. |
|
ServiceOfferPrice | string |
None. |
|
PackagesOfferPrice | string |
None. |
|
Language | string |
None. |
|
CreatedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "SalonId": 2, "OfferDate": "sample string 3", "SalonName": "sample string 4", "SalonNewName": "sample string 5", "SalonLogo": "sample string 6", "StartTime": "sample string 7", "EndTime": "sample string 8", "OfferEndTime": "sample string 9", "Duration": "sample string 10", "ServiceAndPackagesId": 11, "Type": 12, "HomeService": 13, "SalonInsideService": 14, "OfferPrice": 15.0, "IsDeleted": true, "CreatedDate": "2025-07-08T20:45:27.3894926+03:00", "CreatedBy": 18, "UpdatedDate": "2025-07-08T20:45:27.3894926+03:00", "UpdatedBy": 20, "DeletedDate": "2025-07-08T20:45:27.3894926+03:00", "DeletedBy": 22, "ParentId": 23, "ServiceName": "sample string 24", "ServicePrice": 25.0, "PackagesName": "sample string 26", "PackagesPrice": 27.0, "ServicesIds": "sample string 28", "PackagesIds": "sample string 29", "ServiceOfferPrice": "sample string 30", "PackagesOfferPrice": "sample string 31", "Language": "sample string 32", "CreatedDateStr": "08-Jul-2025 08:45 PM" }
text/xml
Sample:
<DailyDeals 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">18</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:45:27.3894926+03:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">22</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:45:27.3894926+03:00</DeletedDate> <Duration xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 10</Duration> <EndTime xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 8</EndTime> <HomeService xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</HomeService> <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> <Language xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 32</Language> <OfferDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 3</OfferDate> <OfferEndTime xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 9</OfferEndTime> <OfferPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">15</OfferPrice> <PackagesIds xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 29</PackagesIds> <PackagesName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 26</PackagesName> <PackagesOfferPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 31</PackagesOfferPrice> <PackagesPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">27</PackagesPrice> <ParentId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">23</ParentId> <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</SalonId> <SalonInsideService xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">14</SalonInsideService> <SalonLogo xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 6</SalonLogo> <SalonName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 4</SalonName> <SalonNewName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 5</SalonNewName> <ServiceAndPackagesId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</ServiceAndPackagesId> <ServiceName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 24</ServiceName> <ServiceOfferPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 30</ServiceOfferPrice> <ServicePrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">25</ServicePrice> <ServicesIds xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 28</ServicesIds> <StartTime xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 7</StartTime> <Type xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">12</Type> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">20</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:45:27.3894926+03:00</UpdatedDate> </DailyDeals>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.