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": "9ab2dece-b4b0-4de7-b808-0525f05f3d56",
"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": "0c69ab04-77d7-43d7-9e77-e43e35698748",
"Id": "039ae0ae-bda6-4f24-b631-db602ce08ab0",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "190b9ffe-93db-4267-bd73-358b1ba02095",
"CreatedDate": "2026-09-09T05:01:50.7529049-07:00",
"ModifiedBy": "6142f99f-9422-486a-a409-0d70790c76d4",
"ModifiedDate": "2026-09-09T05:01:50.7529049-07:00",
"DeletedBy": "14e24ace-3102-4ec8-9c80-9785c302b23c",
"DeletedDate": "2026-09-09T05:01:50.7529049-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": "0c69ab04-77d7-43d7-9e77-e43e35698748",
"Id": "039ae0ae-bda6-4f24-b631-db602ce08ab0",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "190b9ffe-93db-4267-bd73-358b1ba02095",
"CreatedDate": "2026-09-09T05:01:50.7529049-07:00",
"ModifiedBy": "6142f99f-9422-486a-a409-0d70790c76d4",
"ModifiedDate": "2026-09-09T05:01:50.7529049-07:00",
"DeletedBy": "14e24ace-3102-4ec8-9c80-9785c302b23c",
"DeletedDate": "2026-09-09T05:01:50.7529049-07:00"
}
],
"Id": "a9a8a9e0-5328-4243-80c0-251a2d12aa84",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "7d42b3c7-7a5c-4a84-86c0-02bd20e32a4e",
"CreatedDate": "2026-09-09T05:01:50.7529049-07:00",
"ModifiedBy": "af8f71ce-c360-4e1e-8b16-df73b7d00726",
"ModifiedDate": "2026-09-09T05:01:50.7529049-07:00",
"DeletedBy": "daf3924c-a3a6-4624-8ddb-2370007fab31",
"DeletedDate": "2026-09-09T05:01:50.7529049-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">7d42b3c7-7a5c-4a84-86c0-02bd20e32a4e</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">daf3924c-a3a6-4624-8ddb-2370007fab31</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-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">a9a8a9e0-5328-4243-80c0-251a2d12aa84</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">af8f71ce-c360-4e1e-8b16-df73b7d00726</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-07:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">190b9ffe-93db-4267-bd73-358b1ba02095</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">14e24ace-3102-4ec8-9c80-9785c302b23c</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-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">039ae0ae-bda6-4f24-b631-db602ce08ab0</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">6142f99f-9422-486a-a409-0d70790c76d4</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-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>0c69ab04-77d7-43d7-9e77-e43e35698748</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">190b9ffe-93db-4267-bd73-358b1ba02095</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">14e24ace-3102-4ec8-9c80-9785c302b23c</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-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">039ae0ae-bda6-4f24-b631-db602ce08ab0</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">6142f99f-9422-486a-a409-0d70790c76d4</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:50.7529049-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>0c69ab04-77d7-43d7-9e77-e43e35698748</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>9ab2dece-b4b0-4de7-b808-0525f05f3d56</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. |