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": "a8a3b3fc-46c9-4f08-bf6d-8de0a1f00316",
"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": "6ee29113-13c1-4bb9-a539-d657c7a108b3",
"Detail": "sample string 2",
"IsActive": true,
"CreatedBy": "15df8090-5f4c-4351-907d-f591b05480d8",
"CreatedDate": "2026-08-05T17:44:48.5620273-07:00",
"ModifiedBy": "780c9ed0-c9b7-4eee-bca4-0c91f666816c",
"ModifiedDate": "2026-08-05T17:44:48.5620273-07:00",
"DeletedBy": "1f396479-c06b-41fc-8b57-17d167ebc1b1",
"DeletedDate": "2026-08-05T17:44:48.5620273-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">15df8090-5f4c-4351-907d-f591b05480d8</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:44:48.5620273-07:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">1f396479-c06b-41fc-8b57-17d167ebc1b1</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:44:48.5620273-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">6ee29113-13c1-4bb9-a539-d657c7a108b3</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">780c9ed0-c9b7-4eee-bca4-0c91f666816c</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:44:48.5620273-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>a8a3b3fc-46c9-4f08-bf6d-8de0a1f00316</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. |