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": "803bf326-f491-41c1-b02e-bd35921f0565", "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": "368537a4-1f01-4534-acef-f94836fae8c4", "Id": "57dfe3d4-44e8-4fc6-8603-5a41c2df3ef9", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "bc07a245-2f2e-4539-8e3e-171bddf7c12e", "CreatedDate": "2025-06-14T22:44:39.9854743-07:00", "ModifiedBy": "5e9feb92-d7a2-4d98-bed3-06738ebae315", "ModifiedDate": "2025-06-14T22:44:39.9854743-07:00", "DeletedBy": "750b7707-4c61-457c-a4d4-06d69bf66ccb", "DeletedDate": "2025-06-14T22:44:39.9854743-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": "368537a4-1f01-4534-acef-f94836fae8c4", "Id": "57dfe3d4-44e8-4fc6-8603-5a41c2df3ef9", "Detail": "sample string 10", "IsActive": true, "CreatedBy": "bc07a245-2f2e-4539-8e3e-171bddf7c12e", "CreatedDate": "2025-06-14T22:44:39.9854743-07:00", "ModifiedBy": "5e9feb92-d7a2-4d98-bed3-06738ebae315", "ModifiedDate": "2025-06-14T22:44:39.9854743-07:00", "DeletedBy": "750b7707-4c61-457c-a4d4-06d69bf66ccb", "DeletedDate": "2025-06-14T22:44:39.9854743-07:00" } ], "Id": "4b91a6cb-7d44-4b01-9fcf-9b338f9d74b9", "Detail": "sample string 5", "IsActive": true, "CreatedBy": "1091c8f0-e12b-4298-b6bb-d157c72b0b24", "CreatedDate": "2025-06-14T22:44:39.9854743-07:00", "ModifiedBy": "45b2cb6f-387a-4e0c-9512-eabb648ff538", "ModifiedDate": "2025-06-14T22:44:39.9854743-07:00", "DeletedBy": "4bb9eacb-4d56-4cc9-a911-613ec69bb29c", "DeletedDate": "2025-06-14T22:44:39.9854743-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">1091c8f0-e12b-4298-b6bb-d157c72b0b24</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">4bb9eacb-4d56-4cc9-a911-613ec69bb29c</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-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">4b91a6cb-7d44-4b01-9fcf-9b338f9d74b9</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">45b2cb6f-387a-4e0c-9512-eabb648ff538</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-07:00</ModifiedDate> <CountryId>3</CountryId> <ProducList> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bc07a245-2f2e-4539-8e3e-171bddf7c12e</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">750b7707-4c61-457c-a4d4-06d69bf66ccb</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-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">57dfe3d4-44e8-4fc6-8603-5a41c2df3ef9</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">5e9feb92-d7a2-4d98-bed3-06738ebae315</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-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>368537a4-1f01-4534-acef-f94836fae8c4</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> <ProductBundleItemModel> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bc07a245-2f2e-4539-8e3e-171bddf7c12e</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">750b7707-4c61-457c-a4d4-06d69bf66ccb</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-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">57dfe3d4-44e8-4fc6-8603-5a41c2df3ef9</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">5e9feb92-d7a2-4d98-bed3-06738ebae315</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:44:39.9854743-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>368537a4-1f01-4534-acef-f94836fae8c4</ProviderID> <SKU>sample string 5</SKU> </ProductBundleItemModel> </ProducList> <ProvideID>803bf326-f491-41c1-b02e-bd35921f0565</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. |