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": "201a3362-eced-4530-bdbf-26f588a95ea6",
"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": "06c0c84d-1491-46b8-94fa-2dfd53bffe42",
"Id": "17f7bc24-efb0-4251-afab-42b2ea9219d4",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "b0005d1d-70c5-4128-8ef2-434144686e04",
"CreatedDate": "2026-10-29T13:23:49.455917-07:00",
"ModifiedBy": "b96187bd-ef8a-4175-b14d-319f4ca19422",
"ModifiedDate": "2026-10-29T13:23:49.455917-07:00",
"DeletedBy": "7c826e8f-38e1-4704-ad8b-6b6a2250816c",
"DeletedDate": "2026-10-29T13:23:49.455917-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": "06c0c84d-1491-46b8-94fa-2dfd53bffe42",
"Id": "17f7bc24-efb0-4251-afab-42b2ea9219d4",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "b0005d1d-70c5-4128-8ef2-434144686e04",
"CreatedDate": "2026-10-29T13:23:49.455917-07:00",
"ModifiedBy": "b96187bd-ef8a-4175-b14d-319f4ca19422",
"ModifiedDate": "2026-10-29T13:23:49.455917-07:00",
"DeletedBy": "7c826e8f-38e1-4704-ad8b-6b6a2250816c",
"DeletedDate": "2026-10-29T13:23:49.455917-07:00"
}
],
"Id": "edc5d96a-2ac4-4b18-83fb-9c3c960760ab",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "5520ffbe-e592-41e6-bd7b-45c4f36dc7b0",
"CreatedDate": "2026-10-29T13:23:49.455917-07:00",
"ModifiedBy": "eba54e95-9fe7-428c-82a3-03c1411461a6",
"ModifiedDate": "2026-10-29T13:23:49.455917-07:00",
"DeletedBy": "3f470126-ae9e-4caa-adeb-fbe2a4834f28",
"DeletedDate": "2026-10-29T13:23:49.455917-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">5520ffbe-e592-41e6-bd7b-45c4f36dc7b0</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">3f470126-ae9e-4caa-adeb-fbe2a4834f28</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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">edc5d96a-2ac4-4b18-83fb-9c3c960760ab</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">eba54e95-9fe7-428c-82a3-03c1411461a6</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">b0005d1d-70c5-4128-8ef2-434144686e04</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">7c826e8f-38e1-4704-ad8b-6b6a2250816c</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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">17f7bc24-efb0-4251-afab-42b2ea9219d4</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">b96187bd-ef8a-4175-b14d-319f4ca19422</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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>06c0c84d-1491-46b8-94fa-2dfd53bffe42</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">b0005d1d-70c5-4128-8ef2-434144686e04</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">7c826e8f-38e1-4704-ad8b-6b6a2250816c</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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">17f7bc24-efb0-4251-afab-42b2ea9219d4</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">b96187bd-ef8a-4175-b14d-319f4ca19422</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-10-29T13:23:49.455917-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>06c0c84d-1491-46b8-94fa-2dfd53bffe42</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>201a3362-eced-4530-bdbf-26f588a95ea6</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. |