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": "aa09dac1-598c-45a7-a8f2-9cf3a0be2202",
"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": "54d99880-3ca3-4f16-b7ed-a638de710427",
"Id": "1b67b709-a6b5-49b1-8d9f-efe5726f2ec8",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "d25599c7-b543-4e19-8193-61780e92a663",
"CreatedDate": "2026-11-04T03:36:37.0664081-08:00",
"ModifiedBy": "60d27be9-d0d9-408c-8bf3-01e5993dfc8d",
"ModifiedDate": "2026-11-04T03:36:37.0664081-08:00",
"DeletedBy": "82feb829-7590-4183-aac3-59e4de76594e",
"DeletedDate": "2026-11-04T03:36:37.0664081-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": "54d99880-3ca3-4f16-b7ed-a638de710427",
"Id": "1b67b709-a6b5-49b1-8d9f-efe5726f2ec8",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "d25599c7-b543-4e19-8193-61780e92a663",
"CreatedDate": "2026-11-04T03:36:37.0664081-08:00",
"ModifiedBy": "60d27be9-d0d9-408c-8bf3-01e5993dfc8d",
"ModifiedDate": "2026-11-04T03:36:37.0664081-08:00",
"DeletedBy": "82feb829-7590-4183-aac3-59e4de76594e",
"DeletedDate": "2026-11-04T03:36:37.0664081-08:00"
}
],
"Id": "c5f5b55b-99fa-4e5e-b0a2-7aa6b4c0c0dc",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "6ce74a6a-9cf8-4c6e-bf51-b48a660656fa",
"CreatedDate": "2026-11-04T03:36:37.0664081-08:00",
"ModifiedBy": "4b7d92a6-286a-447d-a42c-25aa367cc86f",
"ModifiedDate": "2026-11-04T03:36:37.0664081-08:00",
"DeletedBy": "2e59ea97-dff3-49fc-a0b2-c80a465740bc",
"DeletedDate": "2026-11-04T03:36:37.0664081-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">6ce74a6a-9cf8-4c6e-bf51-b48a660656fa</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2e59ea97-dff3-49fc-a0b2-c80a465740bc</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-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">c5f5b55b-99fa-4e5e-b0a2-7aa6b4c0c0dc</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">4b7d92a6-286a-447d-a42c-25aa367cc86f</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-08:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d25599c7-b543-4e19-8193-61780e92a663</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">82feb829-7590-4183-aac3-59e4de76594e</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-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">1b67b709-a6b5-49b1-8d9f-efe5726f2ec8</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">60d27be9-d0d9-408c-8bf3-01e5993dfc8d</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-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>54d99880-3ca3-4f16-b7ed-a638de710427</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">d25599c7-b543-4e19-8193-61780e92a663</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">82feb829-7590-4183-aac3-59e4de76594e</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-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">1b67b709-a6b5-49b1-8d9f-efe5726f2ec8</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">60d27be9-d0d9-408c-8bf3-01e5993dfc8d</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:36:37.0664081-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>54d99880-3ca3-4f16-b7ed-a638de710427</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>aa09dac1-598c-45a7-a8f2-9cf3a0be2202</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. |