POST api/masterProductCategory/MasterProductCategory_Upsert
Request Information
URI Parameters
None.
Body Parameters
MasterProductCategoryName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductTypeId | integer |
None. |
|
ProductTypeName | string |
None. |
|
ProductCategoryName | string |
None. |
|
IsAvailable | integer |
None. |
|
IsActive | boolean |
None. |
|
IsDeleted | boolean |
None. |
|
DeletedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | integer |
None. |
|
CreatedDateStr | string |
None. |
|
UpdatedDateStr | string |
None. |
|
DeletedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProductTypeId": 2, "ProductTypeName": "sample string 3", "ProductCategoryName": "sample string 4", "IsAvailable": 5, "IsActive": true, "IsDeleted": true, "DeletedDate": "2025-07-08T20:37:06.8968158+03:00", "DeletedBy": 9, "CreatedDate": "2025-07-08T20:37:06.8968158+03:00", "CreatedBy": 11, "UpdatedDate": "2025-07-08T20:37:06.8968158+03:00", "UpdatedBy": 13, "CreatedDateStr": "08-07-2025 08:37 PM", "UpdatedDateStr": "08-07-2025 08:37 PM", "DeletedDateStr": "08-07-2025 08:37 PM" }
text/xml
Sample:
<MasterProductCategory 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">11</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:37:06.8968158+03:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">9</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:37:06.8968158+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> <IsAvailable xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</IsAvailable> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeleted> <ProductCategoryName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 4</ProductCategoryName> <ProductTypeId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</ProductTypeId> <ProductTypeName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 3</ProductTypeName> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:37:06.8968158+03:00</UpdatedDate> </MasterProductCategory>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.