POST api/Product/UpdateDiscountBundle
Request Information
URI Parameters
None.
Body Parameters
ProductBundleName | Description | Type | Additional information |
---|---|---|---|
ProvideID | globally unique identifier |
None. |
|
ProviderName | string |
None. |
|
CountryId | integer |
None. |
|
ProducList | Collection of ProductBundleItemModel |
None. |
|
Id | globally unique identifier |
None. |
|
Detail | string |
None. |
|
IsActive | boolean |
None. |
|
CreatedBy | globally unique identifier |
None. |
|
CreatedDate | date |
None. |
|
ModifiedBy | globally unique identifier |
None. |
|
ModifiedDate | date |
None. |
|
DeletedBy | globally unique identifier |
None. |
|
DeletedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProvideID": "b20578d4-0eb2-480e-8d32-6f62ebedc606", "ProviderName": "sample string 2", "CountryId": 3, "ProducList": [ { "Name": "sample string 1", "Price": "sample string 2", "PriceWithDiscount": "sample string 3", "Discount": 4.0, "SKU": "sample string 5", "ProductURL": "sample string 6", "ImageURL": "sample string 7", "ProviderID": "66f52267-6fe9-48d0-9129-ceff1a45f0e2", "Id": "f41c2333-5440-4bda-af42-bd36c2df9d70", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "69673c73-3685-4bc9-bd3b-e142aa373642", "CreatedDate": "2025-08-19T19:12:45.4314418-07:00", "ModifiedBy": "db0bef15-2e6f-44e2-8784-3c810ee985d3", "ModifiedDate": "2025-08-19T19:12:45.4314418-07:00", "DeletedBy": "e63e2e64-2173-4e35-a5db-d56607106f91", "DeletedDate": "2025-08-19T19:12:45.4314418-07:00" }, { "Name": "sample string 1", "Price": "sample string 2", "PriceWithDiscount": "sample string 3", "Discount": 4.0, "SKU": "sample string 5", "ProductURL": "sample string 6", "ImageURL": "sample string 7", "ProviderID": "66f52267-6fe9-48d0-9129-ceff1a45f0e2", "Id": "f41c2333-5440-4bda-af42-bd36c2df9d70", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "69673c73-3685-4bc9-bd3b-e142aa373642", "CreatedDate": "2025-08-19T19:12:45.4314418-07:00", "ModifiedBy": "db0bef15-2e6f-44e2-8784-3c810ee985d3", "ModifiedDate": "2025-08-19T19:12:45.4314418-07:00", "DeletedBy": "e63e2e64-2173-4e35-a5db-d56607106f91", "DeletedDate": "2025-08-19T19:12:45.4314418-07:00" } ], "Id": "f056661f-1218-44de-a95b-279bd92a49f4", "Detail": "sample string 5", "IsActive": true, "CreatedBy": "d9a979e5-c4aa-4934-88a6-34fb6d1521b4", "CreatedDate": "2025-08-19T19:12:45.4314418-07:00", "ModifiedBy": "01ba0540-f97f-495f-ac33-02db5e0fce55", "ModifiedDate": "2025-08-19T19:12:45.4314418-07:00", "DeletedBy": "8b364432-5f0d-4e01-bfd5-850737f87a64", "DeletedDate": "2025-08-19T19:12:45.4314418-07:00" }
application/xml, text/xml
Sample:
<ProductBundle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Inventory"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d9a979e5-c4aa-4934-88a6-34fb6d1521b4</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">8b364432-5f0d-4e01-bfd5-850737f87a64</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</DeletedDate> <Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 5</Detail> <Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">f056661f-1218-44de-a95b-279bd92a49f4</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">01ba0540-f97f-495f-ac33-02db5e0fce55</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</ModifiedDate> <CountryId>3</CountryId> <ProducList> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">69673c73-3685-4bc9-bd3b-e142aa373642</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">e63e2e64-2173-4e35-a5db-d56607106f91</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</DeletedDate> <Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 10</Detail> <Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">f41c2333-5440-4bda-af42-bd36c2df9d70</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">db0bef15-2e6f-44e2-8784-3c810ee985d3</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</ModifiedDate> <Discount>4</Discount> <ImageURL>sample string 7</ImageURL> <Name>sample string 1</Name> <Price>sample string 2</Price> <PriceWithDiscount>sample string 3</PriceWithDiscount> <ProductURL>sample string 6</ProductURL> <ProviderID>66f52267-6fe9-48d0-9129-ceff1a45f0e2</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">69673c73-3685-4bc9-bd3b-e142aa373642</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">e63e2e64-2173-4e35-a5db-d56607106f91</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</DeletedDate> <Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 10</Detail> <Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">f41c2333-5440-4bda-af42-bd36c2df9d70</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">db0bef15-2e6f-44e2-8784-3c810ee985d3</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-19T19:12:45.4314418-07:00</ModifiedDate> <Discount>4</Discount> <ImageURL>sample string 7</ImageURL> <Name>sample string 1</Name> <Price>sample string 2</Price> <PriceWithDiscount>sample string 3</PriceWithDiscount> <ProductURL>sample string 6</ProductURL> <ProviderID>66f52267-6fe9-48d0-9129-ceff1a45f0e2</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> </ProducList> <ProvideID>b20578d4-0eb2-480e-8d32-6f62ebedc606</ProvideID> <ProviderName>sample string 2</ProviderName> </ProductBundle>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |