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": "ef5da419-758d-41c2-800e-adc4b2e0e8c5", "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": "6c606eb3-b1d4-4bd0-aae1-687711049be8", "Id": "81926687-d2b0-495a-9226-c085382e8b3f", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "535d42fa-820e-423e-b355-2f9c6843b769", "CreatedDate": "2025-10-17T12:55:15.5201529-07:00", "ModifiedBy": "30b2ceb2-663a-4875-9316-4ca12348b3d3", "ModifiedDate": "2025-10-17T12:55:15.5201529-07:00", "DeletedBy": "a514afaa-844e-483b-8c3f-c61199445943", "DeletedDate": "2025-10-17T12:55:15.5201529-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": "6c606eb3-b1d4-4bd0-aae1-687711049be8", "Id": "81926687-d2b0-495a-9226-c085382e8b3f", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "535d42fa-820e-423e-b355-2f9c6843b769", "CreatedDate": "2025-10-17T12:55:15.5201529-07:00", "ModifiedBy": "30b2ceb2-663a-4875-9316-4ca12348b3d3", "ModifiedDate": "2025-10-17T12:55:15.5201529-07:00", "DeletedBy": "a514afaa-844e-483b-8c3f-c61199445943", "DeletedDate": "2025-10-17T12:55:15.5201529-07:00" } ], "Id": "e95d7f1c-002b-4b68-80b6-052bc9057591", "Detail": "sample string 5", "IsActive": true, "CreatedBy": "73ef764b-d52d-42e1-87dc-f5cee711bedd", "CreatedDate": "2025-10-17T12:55:15.5201529-07:00", "ModifiedBy": "4fcf5076-4b35-4319-8c7d-02386bf5307a", "ModifiedDate": "2025-10-17T12:55:15.5201529-07:00", "DeletedBy": "b0be5489-efff-497f-9f47-94adb2189770", "DeletedDate": "2025-10-17T12:55:15.5201529-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">73ef764b-d52d-42e1-87dc-f5cee711bedd</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">b0be5489-efff-497f-9f47-94adb2189770</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-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">e95d7f1c-002b-4b68-80b6-052bc9057591</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">4fcf5076-4b35-4319-8c7d-02386bf5307a</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-07:00</ModifiedDate> <CountryId>3</CountryId> <ProducList> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">535d42fa-820e-423e-b355-2f9c6843b769</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">a514afaa-844e-483b-8c3f-c61199445943</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-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">81926687-d2b0-495a-9226-c085382e8b3f</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">30b2ceb2-663a-4875-9316-4ca12348b3d3</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-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>6c606eb3-b1d4-4bd0-aae1-687711049be8</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">535d42fa-820e-423e-b355-2f9c6843b769</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">a514afaa-844e-483b-8c3f-c61199445943</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-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">81926687-d2b0-495a-9226-c085382e8b3f</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">30b2ceb2-663a-4875-9316-4ca12348b3d3</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T12:55:15.5201529-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>6c606eb3-b1d4-4bd0-aae1-687711049be8</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> </ProducList> <ProvideID>ef5da419-758d-41c2-800e-adc4b2e0e8c5</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. |