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": "e00a5bc5-ea63-4536-bbfa-a3f3fd6b746f",
"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": "51d86d0f-6138-405b-b90d-40570df8e02b",
"Id": "36229643-4872-41c1-9530-86e2ddd71c21",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "8d7dd15d-5cc2-43f9-8f09-ef9c9918ec6d",
"CreatedDate": "2025-12-11T00:35:20.5290284-08:00",
"ModifiedBy": "c1c71cb2-1d79-4d7b-acf7-550c9c2dccfe",
"ModifiedDate": "2025-12-11T00:35:20.5290284-08:00",
"DeletedBy": "353b3707-c1ce-4499-809a-f0febd89c6e6",
"DeletedDate": "2025-12-11T00:35:20.5290284-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": "51d86d0f-6138-405b-b90d-40570df8e02b",
"Id": "36229643-4872-41c1-9530-86e2ddd71c21",
"Detail": "sample string 10",
"IsActive": true,
"CreatedBy": "8d7dd15d-5cc2-43f9-8f09-ef9c9918ec6d",
"CreatedDate": "2025-12-11T00:35:20.5290284-08:00",
"ModifiedBy": "c1c71cb2-1d79-4d7b-acf7-550c9c2dccfe",
"ModifiedDate": "2025-12-11T00:35:20.5290284-08:00",
"DeletedBy": "353b3707-c1ce-4499-809a-f0febd89c6e6",
"DeletedDate": "2025-12-11T00:35:20.5290284-08:00"
}
],
"Id": "61e06965-731a-4707-a838-e720d6e80a17",
"Detail": "sample string 5",
"IsActive": true,
"CreatedBy": "72201f8a-5ee0-4792-8a8e-21310275effe",
"CreatedDate": "2025-12-11T00:35:20.5290284-08:00",
"ModifiedBy": "4168a2cf-17eb-45c6-b516-f3e3ea4cf2bf",
"ModifiedDate": "2025-12-11T00:35:20.5290284-08:00",
"DeletedBy": "dc0c00f6-228f-4029-8c40-3a8fb4569639",
"DeletedDate": "2025-12-11T00:35:20.5290284-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">72201f8a-5ee0-4792-8a8e-21310275effe</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">dc0c00f6-228f-4029-8c40-3a8fb4569639</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-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">61e06965-731a-4707-a838-e720d6e80a17</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">4168a2cf-17eb-45c6-b516-f3e3ea4cf2bf</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-08:00</ModifiedDate>
<CountryId>3</CountryId>
<ProducList>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">8d7dd15d-5cc2-43f9-8f09-ef9c9918ec6d</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">353b3707-c1ce-4499-809a-f0febd89c6e6</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-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">36229643-4872-41c1-9530-86e2ddd71c21</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">c1c71cb2-1d79-4d7b-acf7-550c9c2dccfe</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-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>51d86d0f-6138-405b-b90d-40570df8e02b</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
<ProductBundleItemModel>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">8d7dd15d-5cc2-43f9-8f09-ef9c9918ec6d</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">353b3707-c1ce-4499-809a-f0febd89c6e6</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-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">36229643-4872-41c1-9530-86e2ddd71c21</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">c1c71cb2-1d79-4d7b-acf7-550c9c2dccfe</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.5290284-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>51d86d0f-6138-405b-b90d-40570df8e02b</ProviderID>
<SKU>sample string 5</SKU>
</ProductBundleItemModel>
</ProducList>
<ProvideID>e00a5bc5-ea63-4536-bbfa-a3f3fd6b746f</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. |