POST api/masterProductBrand/MasterProductBrand_Upsert
Request Information
URI Parameters
None.
Body Parameters
MasterProductBrand| Name | 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": "2026-02-04T05:13:35.7646314+03:00",
"CreatedBy": 6,
"SalonId": 7,
"ProductBrandImage": "sample string 8",
"UpdatedDate": "2026-02-04T05:13:35.7646314+03:00",
"UpdatedBy": 10,
"DeletedDate": "2026-02-04T05:13:35.7646314+03:00",
"DeletedBy": 12,
"CreatedDateStr": "04-02-2026 05:13 AM",
"UpdatedDateStr": "04-02-2026 05:13 AM",
"DeletedDateStr": "04-02-2026 05:13 AM"
}
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">2026-02-04T05:13:35.7646314+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">2026-02-04T05:13:35.7646314+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">2026-02-04T05:13:35.7646314+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.