POST api/masterProductBrand/MasterProductBrand_Upsert
Request Information
URI Parameters
None.
Body Parameters
MasterProductBrandName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
IsActive | boolean |
None. |
|
IsDeleted | boolean |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
SalonId | integer |
None. |
|
ProductBrandImage | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
CreatedDateStr | string |
None. |
|
UpdatedDateStr | string |
None. |
|
DeletedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "IsActive": true, "IsDeleted": true, "CreatedDate": "2025-07-08T20:52:22.2430579+03:00", "CreatedBy": 6, "SalonId": 7, "ProductBrandImage": "sample string 8", "UpdatedDate": "2025-07-08T20:52:22.2430579+03:00", "UpdatedBy": 10, "DeletedDate": "2025-07-08T20:52:22.2430579+03:00", "DeletedBy": 12, "CreatedDateStr": "08-07-2025 08:52 PM", "UpdatedDateStr": "08-07-2025 08:52 PM", "DeletedDateStr": "08-07-2025 08:52 PM" }
text/xml
Sample:
<MasterProductBrand 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">6</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:52:22.2430579+03:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">12</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:52:22.2430579+03:00</DeletedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsActive> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeleted> <Name xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 2</Name> <ProductBrandImage xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 8</ProductBrandImage> <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</SalonId> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">10</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:52:22.2430579+03:00</UpdatedDate> </MasterProductBrand>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.