POST api/Inventory/InventoryLoad
Request Information
URI Parameters
None.
Body Parameters
InventoryLoad| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
|
| ProviderId | globally unique identifier |
None. |
|
| Items | Collection of InventoryLoadItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProviderId": "b85218c9-ccd0-4034-a86b-5272aed999a6",
"Items": [
{
"Name": "sample string 1",
"Price": 2.0,
"Quantity": 3,
"Discount": 4.0
},
{
"Name": "sample string 1",
"Price": 2.0,
"Quantity": 3,
"Discount": 4.0
}
],
"Id": "e8a725e7-8d3c-4414-9e7a-e175d961ce37",
"Detail": "sample string 2",
"IsActive": true,
"CreatedBy": "136b9c6b-0ef1-4fab-9b1b-1a019afbb108",
"CreatedDate": "2026-09-09T05:01:39.5654093-07:00",
"ModifiedBy": "fafbd1dc-2703-445e-9879-084af1dae0f4",
"ModifiedDate": "2026-09-09T05:01:39.5654093-07:00",
"DeletedBy": "bb591956-564e-478f-b769-1380c2c86601",
"DeletedDate": "2026-09-09T05:01:39.5654093-07:00"
}
application/xml, text/xml
Sample:
<InventoryLoad 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">136b9c6b-0ef1-4fab-9b1b-1a019afbb108</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:39.5654093-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bb591956-564e-478f-b769-1380c2c86601</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:39.5654093-07:00</DeletedDate>
<Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 2</Detail>
<Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">e8a725e7-8d3c-4414-9e7a-e175d961ce37</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">fafbd1dc-2703-445e-9879-084af1dae0f4</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-09-09T05:01:39.5654093-07:00</ModifiedDate>
<Items>
<InventoryLoadItem>
<Discount>4</Discount>
<Name>sample string 1</Name>
<Price>2</Price>
<Quantity>3</Quantity>
</InventoryLoadItem>
<InventoryLoadItem>
<Discount>4</Discount>
<Name>sample string 1</Name>
<Price>2</Price>
<Quantity>3</Quantity>
</InventoryLoadItem>
</Items>
<ProviderId>b85218c9-ccd0-4034-a86b-5272aed999a6</ProviderId>
</InventoryLoad>
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. |