POST api/Product/CreateBundle
Request Information
URI Parameters
None.
Body Parameters
ProductBundleName | 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": "5d8ab9b9-b123-4419-9a4d-fb8d92c9548e", "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": "56e834d5-ea61-4b2c-b09d-73a2449853a5", "Id": "280dff5a-60f1-4d39-8dc1-44469162453b", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "85171adf-40d2-4333-8e61-ca3f1b1eda97", "CreatedDate": "2025-08-20T10:10:50.5540664-07:00", "ModifiedBy": "6627be60-694f-4d91-a0a0-b9f25a21f32c", "ModifiedDate": "2025-08-20T10:10:50.5540664-07:00", "DeletedBy": "7396bb69-f68e-4c18-86b5-f6d84506e43b", "DeletedDate": "2025-08-20T10:10:50.5540664-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": "56e834d5-ea61-4b2c-b09d-73a2449853a5", "Id": "280dff5a-60f1-4d39-8dc1-44469162453b", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "85171adf-40d2-4333-8e61-ca3f1b1eda97", "CreatedDate": "2025-08-20T10:10:50.5540664-07:00", "ModifiedBy": "6627be60-694f-4d91-a0a0-b9f25a21f32c", "ModifiedDate": "2025-08-20T10:10:50.5540664-07:00", "DeletedBy": "7396bb69-f68e-4c18-86b5-f6d84506e43b", "DeletedDate": "2025-08-20T10:10:50.5540664-07:00" } ], "Id": "08532a50-3ed2-496e-a706-9aa431047ea4", "Detail": "sample string 5", "IsActive": true, "CreatedBy": "12cb291a-b64a-4f65-b6e1-1d6a83c67ca8", "CreatedDate": "2025-08-20T10:10:50.5540664-07:00", "ModifiedBy": "dd20c7ce-ef75-484a-9fec-525a892d3bc1", "ModifiedDate": "2025-08-20T10:10:50.5540664-07:00", "DeletedBy": "49dc19c1-d2e3-4a15-9a38-874070839873", "DeletedDate": "2025-08-20T10:10:50.5540664-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">12cb291a-b64a-4f65-b6e1-1d6a83c67ca8</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">49dc19c1-d2e3-4a15-9a38-874070839873</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-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">08532a50-3ed2-496e-a706-9aa431047ea4</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">dd20c7ce-ef75-484a-9fec-525a892d3bc1</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-07:00</ModifiedDate> <CountryId>3</CountryId> <ProducList> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">85171adf-40d2-4333-8e61-ca3f1b1eda97</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">7396bb69-f68e-4c18-86b5-f6d84506e43b</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-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">280dff5a-60f1-4d39-8dc1-44469162453b</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">6627be60-694f-4d91-a0a0-b9f25a21f32c</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-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>56e834d5-ea61-4b2c-b09d-73a2449853a5</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">85171adf-40d2-4333-8e61-ca3f1b1eda97</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">7396bb69-f68e-4c18-86b5-f6d84506e43b</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-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">280dff5a-60f1-4d39-8dc1-44469162453b</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">6627be60-694f-4d91-a0a0-b9f25a21f32c</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-08-20T10:10:50.5540664-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>56e834d5-ea61-4b2c-b09d-73a2449853a5</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> </ProducList> <ProvideID>5d8ab9b9-b123-4419-9a4d-fb8d92c9548e</ProvideID> <ProviderName>sample string 2</ProviderName> </ProductBundle>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |