POST api/salonServices/SalonServices_Upsert
Request Information
URI Parameters
None.
Body Parameters
SalonServicesName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
LookUpServicesId | integer |
None. |
|
LookUpCategoryId | integer |
None. |
|
LookUpMainCategoryId | integer |
None. |
|
SalonId | integer |
None. |
|
UserServiceId | string |
None. |
|
UserServices | Collection of UserServices |
None. |
|
Description | string |
None. |
|
MinDuration | string |
None. |
|
MaxDuration | string |
None. |
|
MinPrice | integer |
None. |
|
MaxPrice | integer |
None. |
|
UserId | string |
None. |
|
CustomerId | integer |
None. |
|
Duration | string |
None. |
|
Price | string |
None. |
|
IsOnlineOffline | string |
None. |
|
LookUpStatusId | integer |
None. |
|
LookUpStatusChangedDate | date |
None. |
|
LookUpStatusChangedBy | integer |
None. |
|
MainCategoryId | integer |
None. |
|
SalonInsideService | integer |
None. |
|
HomeService | integer |
None. |
|
LookUpServicesName | string |
None. |
|
LookUpCategoryName | string |
None. |
|
ServicePhoto | string |
None. |
|
IsDeleted | boolean |
None. |
|
DeletedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
UpdatedBy | integer |
None. |
|
Online_booking | boolean |
None. |
|
MultiplePricing | byte |
None. |
|
Language | string |
None. |
|
MultiplePrices | string |
None. |
|
ProductUsageList | Collection of AbstractServiceProduct |
None. |
|
WalletAmount | integer |
None. |
|
Prices | Collection of decimal number |
None. |
|
CreatedDateStr | string |
None. |
|
DeletedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "LookUpServicesId": 2, "LookUpCategoryId": 3, "LookUpMainCategoryId": 4, "SalonId": 5, "UserServiceId": "sample string 6", "UserServices": [ { "Id": 1, "EmployeeFirstname": "sample string 2", "EmployeeSecondname": "sample string 3", "EmployeeProfileUrl": "sample string 4", "UserId": 5, "SalonServiceId": 6, "LookUpServicesName": "sample string 7", "LookUpServicesId": 8, "LookUpCategoryId": 9, "LookUpCategoryName": "sample string 10", "Duration": "sample string 11", "Price": 12.0, "LookUpStatusId": 13, "LookUpStatusSalonServiceId": 14, "SalonServiceLookUpStatus": "sample string 15", "LookUpStatusChangedDate": "2025-07-08T20:56:40.1740354+03:00", "LookUpStatusChangedBy": 17, "IsDeleted": true, "DeletedDate": "2025-07-08T20:56:40.1740354+03:00", "DeletedBy": 20, "CreatedDate": "2025-07-08T20:56:40.1740354+03:00", "CreatedBy": 22, "UpdatedDate": "2025-07-08T20:56:40.1740354+03:00", "UpdatedBy": 24, "CreatedDateStr": "08-Jul-2025 08:56 PM", "UpdatedDateStr": "08-Jul-2025 08:56 PM", "DeletedDateStr": "08-Jul-2025 08:56 PM" }, { "Id": 1, "EmployeeFirstname": "sample string 2", "EmployeeSecondname": "sample string 3", "EmployeeProfileUrl": "sample string 4", "UserId": 5, "SalonServiceId": 6, "LookUpServicesName": "sample string 7", "LookUpServicesId": 8, "LookUpCategoryId": 9, "LookUpCategoryName": "sample string 10", "Duration": "sample string 11", "Price": 12.0, "LookUpStatusId": 13, "LookUpStatusSalonServiceId": 14, "SalonServiceLookUpStatus": "sample string 15", "LookUpStatusChangedDate": "2025-07-08T20:56:40.1740354+03:00", "LookUpStatusChangedBy": 17, "IsDeleted": true, "DeletedDate": "2025-07-08T20:56:40.1740354+03:00", "DeletedBy": 20, "CreatedDate": "2025-07-08T20:56:40.1740354+03:00", "CreatedBy": 22, "UpdatedDate": "2025-07-08T20:56:40.1740354+03:00", "UpdatedBy": 24, "CreatedDateStr": "08-Jul-2025 08:56 PM", "UpdatedDateStr": "08-Jul-2025 08:56 PM", "DeletedDateStr": "08-Jul-2025 08:56 PM" } ], "Description": "sample string 7", "MinDuration": "sample string 8", "MaxDuration": "sample string 9", "MinPrice": 10, "MaxPrice": 11, "UserId": "sample string 12", "CustomerId": 13, "Duration": "sample string 14", "Price": "sample string 15", "IsOnlineOffline": "sample string 16", "LookUpStatusId": 17, "LookUpStatusChangedDate": "2025-07-08T20:56:40.1740354+03:00", "LookUpStatusChangedBy": 19, "MainCategoryId": 20, "SalonInsideService": 21, "HomeService": 22, "LookUpServicesName": "sample string 23", "LookUpCategoryName": "sample string 24", "ServicePhoto": "sample string 25", "IsDeleted": true, "DeletedDate": "2025-07-08T20:56:40.1740354+03:00", "DeletedBy": 28, "CreatedDate": "2025-07-08T20:56:40.1740354+03:00", "CreatedBy": 30, "UpdatedBy": 31, "Online_booking": true, "MultiplePricing": 64, "Language": "sample string 34", "MultiplePrices": "sample string 35", "ProductUsageList": [ { "ProductId": 1, "LookUpServicesId": 2, "SalonId": 3, "Id": 4, "ProductName": "sample string 5", "UsageDetails": "sample string 6", "ProductUsage": "sample string 7", "ProductUse": 8, "Name": "sample string 9", "IsDeleted": true }, { "ProductId": 1, "LookUpServicesId": 2, "SalonId": 3, "Id": 4, "ProductName": "sample string 5", "UsageDetails": "sample string 6", "ProductUsage": "sample string 7", "ProductUse": 8, "Name": "sample string 9", "IsDeleted": true } ], "WalletAmount": 36, "Prices": [ 1.0, 2.0 ], "CreatedDateStr": "08-Jul-2025 08:56 PM", "DeletedDateStr": "08-Jul-2025 08:56 PM" }
text/xml
Sample:
<SalonServices 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">30</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:56:40.1740354+03:00</CreatedDate> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</CustomerId> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">28</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:56:40.1740354+03:00</DeletedDate> <Description xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 7</Description> <Duration xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 14</Duration> <HomeService xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">22</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> <IsOnlineOffline xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 16</IsOnlineOffline> <Language xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 34</Language> <LookUpCategoryId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</LookUpCategoryId> <LookUpCategoryName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 24</LookUpCategoryName> <LookUpMainCategoryId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</LookUpMainCategoryId> <LookUpServicesId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</LookUpServicesId> <LookUpServicesName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 23</LookUpServicesName> <LookUpStatusChangedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">19</LookUpStatusChangedBy> <LookUpStatusChangedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:56:40.1740354+03:00</LookUpStatusChangedDate> <LookUpStatusId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">17</LookUpStatusId> <MainCategoryId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">20</MainCategoryId> <MaxDuration xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 9</MaxDuration> <MaxPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</MaxPrice> <MinDuration xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 8</MinDuration> <MinPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">10</MinPrice> <MultiplePrices xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 35</MultiplePrices> <MultiplePricing xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">64</MultiplePricing> <Online_booking xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</Online_booking> <Price xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 15</Price> <Prices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract"> <d2p1:decimal>1</d2p1:decimal> <d2p1:decimal>2</d2p1:decimal> </Prices> <ProductUsageList xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract"> <AbstractServiceProduct> <Id>4</Id> <IsDeleted>true</IsDeleted> <LookUpServicesId>2</LookUpServicesId> <Name>sample string 9</Name> <ProductId>1</ProductId> <ProductName>sample string 5</ProductName> <ProductUsage>sample string 7</ProductUsage> <ProductUse>8</ProductUse> <SalonId>3</SalonId> <UsageDetails>sample string 6</UsageDetails> </AbstractServiceProduct> <AbstractServiceProduct> <Id>4</Id> <IsDeleted>true</IsDeleted> <LookUpServicesId>2</LookUpServicesId> <Name>sample string 9</Name> <ProductId>1</ProductId> <ProductName>sample string 5</ProductName> <ProductUsage>sample string 7</ProductUsage> <ProductUse>8</ProductUse> <SalonId>3</SalonId> <UsageDetails>sample string 6</UsageDetails> </AbstractServiceProduct> </ProductUsageList> <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</SalonId> <SalonInsideService xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">21</SalonInsideService> <ServicePhoto xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 25</ServicePhoto> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">31</UpdatedBy> <UserId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 12</UserId> <UserServiceId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 6</UserServiceId> <UserServices xmlns:d2p1="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract"> <d2p1:UserServices> <CreatedBy>22</CreatedBy> <CreatedDate>2025-07-08T20:56:40.1740354+03:00</CreatedDate> <DeletedBy>20</DeletedBy> <DeletedDate>2025-07-08T20:56:40.1740354+03:00</DeletedDate> <Duration>sample string 11</Duration> <EmployeeFirstname>sample string 2</EmployeeFirstname> <EmployeeProfileUrl>sample string 4</EmployeeProfileUrl> <EmployeeSecondname>sample string 3</EmployeeSecondname> <Id>1</Id> <IsDeleted>true</IsDeleted> <LookUpCategoryId>9</LookUpCategoryId> <LookUpCategoryName>sample string 10</LookUpCategoryName> <LookUpServicesId>8</LookUpServicesId> <LookUpServicesName>sample string 7</LookUpServicesName> <LookUpStatusChangedBy>17</LookUpStatusChangedBy> <LookUpStatusChangedDate>2025-07-08T20:56:40.1740354+03:00</LookUpStatusChangedDate> <LookUpStatusId>13</LookUpStatusId> <LookUpStatusSalonServiceId>14</LookUpStatusSalonServiceId> <Price>12</Price> <SalonServiceId>6</SalonServiceId> <SalonServiceLookUpStatus>sample string 15</SalonServiceLookUpStatus> <UpdatedBy>24</UpdatedBy> <UpdatedDate>2025-07-08T20:56:40.1740354+03:00</UpdatedDate> <UserId>5</UserId> </d2p1:UserServices> <d2p1:UserServices> <CreatedBy>22</CreatedBy> <CreatedDate>2025-07-08T20:56:40.1740354+03:00</CreatedDate> <DeletedBy>20</DeletedBy> <DeletedDate>2025-07-08T20:56:40.1740354+03:00</DeletedDate> <Duration>sample string 11</Duration> <EmployeeFirstname>sample string 2</EmployeeFirstname> <EmployeeProfileUrl>sample string 4</EmployeeProfileUrl> <EmployeeSecondname>sample string 3</EmployeeSecondname> <Id>1</Id> <IsDeleted>true</IsDeleted> <LookUpCategoryId>9</LookUpCategoryId> <LookUpCategoryName>sample string 10</LookUpCategoryName> <LookUpServicesId>8</LookUpServicesId> <LookUpServicesName>sample string 7</LookUpServicesName> <LookUpStatusChangedBy>17</LookUpStatusChangedBy> <LookUpStatusChangedDate>2025-07-08T20:56:40.1740354+03:00</LookUpStatusChangedDate> <LookUpStatusId>13</LookUpStatusId> <LookUpStatusSalonServiceId>14</LookUpStatusSalonServiceId> <Price>12</Price> <SalonServiceId>6</SalonServiceId> <SalonServiceLookUpStatus>sample string 15</SalonServiceLookUpStatus> <UpdatedBy>24</UpdatedBy> <UpdatedDate>2025-07-08T20:56:40.1740354+03:00</UpdatedDate> <UserId>5</UserId> </d2p1:UserServices> </UserServices> <WalletAmount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">36</WalletAmount> </SalonServices>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.