POST api/inventoryProduct/ProductPackage_Upsert
Request Information
URI Parameters
None.
Body Parameters
InventoryProductName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EmpployeeDropdownId | integer |
None. |
|
Ids | string |
None. |
|
WeightType | string |
None. |
|
InventoryOfflineId | integer |
None. |
|
UserId | string |
None. |
|
InventoryOnlineId | integer |
None. |
|
InventoryProductIds | string |
None. |
|
ANewProduct | string |
None. |
|
ProductName | string |
None. |
|
ProductTypeId | integer |
None. |
|
ProductTypeName | string |
None. |
|
ProductBrandId | integer |
None. |
|
InventoryPrice | decimal number |
None. |
|
ProductBrandName | string |
None. |
|
SalonId | integer |
None. |
|
VendorId | integer |
None. |
|
OfflineVendorId | integer |
None. |
|
VendorOfflineName | string |
None. |
|
VendorName | string |
None. |
|
BillNumber | string |
None. |
|
PurchaseDate | string |
None. |
|
ProductQty | integer |
None. |
|
Price | decimal number |
None. |
|
Weight | decimal number |
None. |
|
LooseProduct | decimal number |
None. |
|
WeightTypeId | integer |
None. |
|
ProductWeightTypeName | string |
None. |
|
ProductWeightName | string |
None. |
|
LowQtyAlert | integer |
None. |
|
PurchaseVia | integer |
None. |
|
ProductImage | string |
None. |
|
IsDeleted | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
TotalPrice | decimal number |
None. |
|
OrderNo | string |
None. |
|
PurchaseViaName | string |
None. |
|
Total | string |
None. |
|
SumProductQty | integer |
None. |
|
ProductThumbnailImage | string |
None. |
|
IsExpiryDate | boolean |
None. |
|
ExpiryDate | string |
None. |
|
IsExpiryDateAfter30Day | boolean |
None. |
|
isAddedtoPOS | boolean |
None. |
|
NoOfDay | integer |
None. |
|
ProductPackageId | integer |
None. |
|
Barcode | string |
None. |
|
IsPaymentInCredit | boolean |
None. |
|
CreditPayment | string |
None. |
|
PackageName | string |
None. |
|
PakageName | string |
None. |
|
CustomPrice | decimal number |
None. |
|
ProductPackageIdStr | string |
None. |
|
IsActive | boolean |
None. |
|
ProductType | integer |
None. |
|
Reason | string |
None. |
|
MasterProductPackage | Collection of MasterProductPackage |
None. |
|
VendorTaxNumber | string |
None. |
|
PaymentType | integer |
None. |
|
CreatedDateStr | string |
None. |
|
DeletedDateStr | string |
None. |
|
UpdatedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "EmpployeeDropdownId": 2, "Ids": "sample string 3", "WeightType": "sample string 4", "InventoryOfflineId": 5, "UserId": "sample string 6", "InventoryOnlineId": 7, "InventoryProductIds": "sample string 8", "ANewProduct": "sample string 9", "ProductName": "sample string 10", "ProductTypeId": 11, "ProductTypeName": "sample string 12", "ProductBrandId": 13, "InventoryPrice": 14.0, "ProductBrandName": "sample string 15", "SalonId": 16, "VendorId": 17, "OfflineVendorId": 18, "VendorOfflineName": "sample string 19", "VendorName": "sample string 20", "BillNumber": "sample string 21", "PurchaseDate": "sample string 22", "ProductQty": 23, "Price": 24.0, "Weight": 25.0, "LooseProduct": 26.0, "WeightTypeId": 27, "ProductWeightTypeName": "sample string 28", "ProductWeightName": "sample string 29", "LowQtyAlert": 30, "PurchaseVia": 31, "ProductImage": "sample string 32", "IsDeleted": true, "CreatedBy": 34, "CreatedDate": "2025-07-08T20:07:40.778703+03:00", "UpdatedDate": "2025-07-08T20:07:40.778703+03:00", "UpdatedBy": 37, "DeletedDate": "2025-07-08T20:07:40.778703+03:00", "DeletedBy": 39, "TotalPrice": 40.0, "OrderNo": "sample string 41", "PurchaseViaName": "sample string 42", "Total": "sample string 43", "SumProductQty": 44, "ProductThumbnailImage": "sample string 45", "IsExpiryDate": true, "ExpiryDate": "sample string 47", "IsExpiryDateAfter30Day": true, "isAddedtoPOS": true, "NoOfDay": 50, "ProductPackageId": 51, "Barcode": "sample string 52", "IsPaymentInCredit": true, "CreditPayment": "sample string 54", "PackageName": "sample string 55", "PakageName": "sample string 56", "CustomPrice": 57.0, "ProductPackageIdStr": "sample string 58", "IsActive": true, "ProductType": 60, "Reason": "sample string 61", "MasterProductPackage": [ { "Id": 1, "ProductPackageId": 2, "ParentId": 3, "InventoryProductId": 4, "ProductName": "sample string 5", "CategoryName": "sample string 6", "Price": 7.0, "Weight": 8.0, "CreatedDate": "2025-07-08T20:07:40.778703+03:00", "CreatedBy": 10, "CustomPrices": 11, "ServicePhoto": "sample string 12", "CreatedDateStr": "08-Jul-2025 08:07 PM" }, { "Id": 1, "ProductPackageId": 2, "ParentId": 3, "InventoryProductId": 4, "ProductName": "sample string 5", "CategoryName": "sample string 6", "Price": 7.0, "Weight": 8.0, "CreatedDate": "2025-07-08T20:07:40.778703+03:00", "CreatedBy": 10, "CustomPrices": 11, "ServicePhoto": "sample string 12", "CreatedDateStr": "08-Jul-2025 08:07 PM" } ], "VendorTaxNumber": "sample string 62", "PaymentType": 63, "CreatedDateStr": "08-Jul-2025 08:07 PM", "DeletedDateStr": "08-Jul-2025 08:07 PM", "UpdatedDateStr": "08-Jul-2025 08:07 PM" }
text/xml
Sample:
<InventoryProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1"> <ANewProduct xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 9</ANewProduct> <Barcode xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 52</Barcode> <BillNumber xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 21</BillNumber> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">34</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:07:40.778703+03:00</CreatedDate> <CreditPayment xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 54</CreditPayment> <CustomPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">57</CustomPrice> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">39</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:07:40.778703+03:00</DeletedDate> <EmpployeeDropdownId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</EmpployeeDropdownId> <ExpiryDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 47</ExpiryDate> <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id> <Ids xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 3</Ids> <InventoryOfflineId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</InventoryOfflineId> <InventoryOnlineId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</InventoryOnlineId> <InventoryPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">14</InventoryPrice> <InventoryProductIds xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 8</InventoryProductIds> <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> <IsExpiryDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsExpiryDate> <IsExpiryDateAfter30Day xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsExpiryDateAfter30Day> <IsPaymentInCredit xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsPaymentInCredit> <LooseProduct xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">26</LooseProduct> <LowQtyAlert xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">30</LowQtyAlert> <MasterProductPackage xmlns:d2p1="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract"> <d2p1:MasterProductPackage> <CategoryName>sample string 6</CategoryName> <CreatedBy>10</CreatedBy> <CreatedDate>2025-07-08T20:07:40.778703+03:00</CreatedDate> <CustomPrices>11</CustomPrices> <Id>1</Id> <InventoryProductId>4</InventoryProductId> <ParentId>3</ParentId> <Price>7</Price> <ProductName>sample string 5</ProductName> <ProductPackageId>2</ProductPackageId> <ServicePhoto>sample string 12</ServicePhoto> <Weight>8</Weight> </d2p1:MasterProductPackage> <d2p1:MasterProductPackage> <CategoryName>sample string 6</CategoryName> <CreatedBy>10</CreatedBy> <CreatedDate>2025-07-08T20:07:40.778703+03:00</CreatedDate> <CustomPrices>11</CustomPrices> <Id>1</Id> <InventoryProductId>4</InventoryProductId> <ParentId>3</ParentId> <Price>7</Price> <ProductName>sample string 5</ProductName> <ProductPackageId>2</ProductPackageId> <ServicePhoto>sample string 12</ServicePhoto> <Weight>8</Weight> </d2p1:MasterProductPackage> </MasterProductPackage> <NoOfDay xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">50</NoOfDay> <OfflineVendorId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">18</OfflineVendorId> <OrderNo xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 41</OrderNo> <PackageName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 55</PackageName> <PakageName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 56</PakageName> <PaymentType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">63</PaymentType> <Price xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">24</Price> <ProductBrandId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</ProductBrandId> <ProductBrandName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 15</ProductBrandName> <ProductImage xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 32</ProductImage> <ProductName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 10</ProductName> <ProductPackageId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">51</ProductPackageId> <ProductPackageIdStr xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 58</ProductPackageIdStr> <ProductQty xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">23</ProductQty> <ProductThumbnailImage xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 45</ProductThumbnailImage> <ProductType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">60</ProductType> <ProductTypeId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</ProductTypeId> <ProductTypeName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 12</ProductTypeName> <ProductWeightName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 29</ProductWeightName> <ProductWeightTypeName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 28</ProductWeightTypeName> <PurchaseDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 22</PurchaseDate> <PurchaseVia xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">31</PurchaseVia> <PurchaseViaName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 42</PurchaseViaName> <Reason xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 61</Reason> <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">16</SalonId> <SumProductQty xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">44</SumProductQty> <Total xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 43</Total> <TotalPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">40</TotalPrice> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">37</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:07:40.778703+03:00</UpdatedDate> <UserId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 6</UserId> <VendorId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">17</VendorId> <VendorName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 20</VendorName> <VendorOfflineName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 19</VendorOfflineName> <VendorTaxNumber xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 62</VendorTaxNumber> <Weight xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">25</Weight> <WeightType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 4</WeightType> <WeightTypeId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">27</WeightTypeId> <isAddedtoPOS xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</isAddedtoPOS> </InventoryProduct>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.