POST api/Product/CreateBundle
Request Information
URI Parameters
None.
Body Parameters
ProductBundle| Name | 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": "699a576f-03cf-422f-863b-5bc84340402c",
"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": "26f3ad6a-687d-4ad9-b07a-d2ba9998d5c6",
"Id": "98633eb2-729b-4cc0-8a55-673d27c0d45e",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "8d5bafb0-c1e8-404b-ad03-4cafbe45ad4e",
"CreatedDate": "2026-08-05T17:47:40.328526-07:00",
"ModifiedBy": "a25b637b-68e6-4d42-b125-9e91c2c7494b",
"ModifiedDate": "2026-08-05T17:47:40.328526-07:00",
"DeletedBy": "f54d108c-cc60-47c5-a425-6334e6de66d0",
"DeletedDate": "2026-08-05T17:47:40.328526-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": "26f3ad6a-687d-4ad9-b07a-d2ba9998d5c6",
"Id": "98633eb2-729b-4cc0-8a55-673d27c0d45e",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "8d5bafb0-c1e8-404b-ad03-4cafbe45ad4e",
"CreatedDate": "2026-08-05T17:47:40.328526-07:00",
"ModifiedBy": "a25b637b-68e6-4d42-b125-9e91c2c7494b",
"ModifiedDate": "2026-08-05T17:47:40.328526-07:00",
"DeletedBy": "f54d108c-cc60-47c5-a425-6334e6de66d0",
"DeletedDate": "2026-08-05T17:47:40.328526-07:00"
}
],
"Id": "fae6e710-b96c-49d9-830c-8af3e5837eb4",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "8f3e94f3-2dae-4465-9bdb-6b581898a955",
"CreatedDate": "2026-08-05T17:47:40.328526-07:00",
"ModifiedBy": "8ee8f1c6-e827-4070-a1fb-fdc0a60cab09",
"ModifiedDate": "2026-08-05T17:47:40.328526-07:00",
"DeletedBy": "4ea16592-5034-4d23-8f3c-8ff9ee5b0476",
"DeletedDate": "2026-08-05T17:47:40.328526-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">8f3e94f3-2dae-4465-9bdb-6b581898a955</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">4ea16592-5034-4d23-8f3c-8ff9ee5b0476</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-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">fae6e710-b96c-49d9-830c-8af3e5837eb4</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">8ee8f1c6-e827-4070-a1fb-fdc0a60cab09</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-07:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">8d5bafb0-c1e8-404b-ad03-4cafbe45ad4e</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">f54d108c-cc60-47c5-a425-6334e6de66d0</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-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">98633eb2-729b-4cc0-8a55-673d27c0d45e</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">a25b637b-68e6-4d42-b125-9e91c2c7494b</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-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>26f3ad6a-687d-4ad9-b07a-d2ba9998d5c6</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">8d5bafb0-c1e8-404b-ad03-4cafbe45ad4e</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">f54d108c-cc60-47c5-a425-6334e6de66d0</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-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">98633eb2-729b-4cc0-8a55-673d27c0d45e</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">a25b637b-68e6-4d42-b125-9e91c2c7494b</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:47:40.328526-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>26f3ad6a-687d-4ad9-b07a-d2ba9998d5c6</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>699a576f-03cf-422f-863b-5bc84340402c</ProvideID>
<ProviderName>sample string 2</ProviderName>
</ProductBundle>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |