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": "6946c054-aefe-4808-88f9-31d07b5fb832", "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": "8c00bbbd-ab67-485e-afb4-8c7accf0f5a9", "Id": "b1b549b3-7e51-40ae-a238-062ff7f739f2", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "2f6673f9-dbb8-4ba7-a682-7c4e647b4371", "CreatedDate": "2024-12-29T10:23:50.7542397-08:00", "ModifiedBy": "96d6a49d-22db-4a7f-b43e-84893f9b0265", "ModifiedDate": "2024-12-29T10:23:50.7542397-08:00", "DeletedBy": "0b36cfea-1ddb-4076-babb-cb382dc68df7", "DeletedDate": "2024-12-29T10:23:50.7542397-08: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": "8c00bbbd-ab67-485e-afb4-8c7accf0f5a9", "Id": "b1b549b3-7e51-40ae-a238-062ff7f739f2", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "2f6673f9-dbb8-4ba7-a682-7c4e647b4371", "CreatedDate": "2024-12-29T10:23:50.7542397-08:00", "ModifiedBy": "96d6a49d-22db-4a7f-b43e-84893f9b0265", "ModifiedDate": "2024-12-29T10:23:50.7542397-08:00", "DeletedBy": "0b36cfea-1ddb-4076-babb-cb382dc68df7", "DeletedDate": "2024-12-29T10:23:50.7542397-08:00" } ], "Id": "ed5ef753-9d61-42cb-a4c3-6d7c45462d4e", "Detail": "sample string 5", "IsActive": true, "CreatedBy": "e432bdb0-9b6f-4207-a1fe-dfe8b2af39ad", "CreatedDate": "2024-12-29T10:23:50.7542397-08:00", "ModifiedBy": "03144a1a-de29-4464-a0a6-befd58c533b8", "ModifiedDate": "2024-12-29T10:23:50.7542397-08:00", "DeletedBy": "53557802-cb3d-4ae7-a775-272f02ca643b", "DeletedDate": "2024-12-29T10:23:50.7542397-08: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">e432bdb0-9b6f-4207-a1fe-dfe8b2af39ad</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">53557802-cb3d-4ae7-a775-272f02ca643b</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08: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">ed5ef753-9d61-42cb-a4c3-6d7c45462d4e</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">03144a1a-de29-4464-a0a6-befd58c533b8</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08:00</ModifiedDate> <CountryId>3</CountryId> <ProducList> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2f6673f9-dbb8-4ba7-a682-7c4e647b4371</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">0b36cfea-1ddb-4076-babb-cb382dc68df7</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08: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">b1b549b3-7e51-40ae-a238-062ff7f739f2</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">96d6a49d-22db-4a7f-b43e-84893f9b0265</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08: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>8c00bbbd-ab67-485e-afb4-8c7accf0f5a9</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2f6673f9-dbb8-4ba7-a682-7c4e647b4371</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">0b36cfea-1ddb-4076-babb-cb382dc68df7</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08: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">b1b549b3-7e51-40ae-a238-062ff7f739f2</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">96d6a49d-22db-4a7f-b43e-84893f9b0265</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T10:23:50.7542397-08: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>8c00bbbd-ab67-485e-afb4-8c7accf0f5a9</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> </ProducList> <ProvideID>6946c054-aefe-4808-88f9-31d07b5fb832</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. |