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": "89192c8b-9221-43f1-941f-62586a83f865",
"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": "f65f8dfa-c533-4263-8fde-87b5c3afad68",
"Detail": "sample string 2",
"IsActive": true,
"CreatedBy": "935d1c36-cb6e-48d0-840f-98a950b68fb0",
"CreatedDate": "2026-11-04T03:35:12.0192028-08:00",
"ModifiedBy": "06963a60-3f40-45cd-84cf-f27b1921bdee",
"ModifiedDate": "2026-11-04T03:35:12.0192028-08:00",
"DeletedBy": "455e3ce4-9b69-4bfa-9364-2deffbc471f3",
"DeletedDate": "2026-11-04T03:35:12.0192028-08: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">935d1c36-cb6e-48d0-840f-98a950b68fb0</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:35:12.0192028-08:00</CreatedDate>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">455e3ce4-9b69-4bfa-9364-2deffbc471f3</DeletedBy>
<DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:35:12.0192028-08: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">f65f8dfa-c533-4263-8fde-87b5c3afad68</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">06963a60-3f40-45cd-84cf-f27b1921bdee</ModifiedBy>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:35:12.0192028-08: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>89192c8b-9221-43f1-941f-62586a83f865</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. |