PUT api/v1/inventory/virtual/{code}
Update a virtual inventory item
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code |
Virtual item that needs to be updated |
string |
Required |
Body Parameters
Content that will be posted
InventoryVirtualName | Description | Type | Additional information |
---|---|---|---|
Code |
Gets or Sets Code |
string |
Required String length: inclusive between 0 and 20 |
Status |
Gets or Sets Status |
StatusEnumV |
None. |
Description |
Gets or Sets Description |
string |
String length: inclusive between 0 and 50 |
Added |
Gets or Sets Added |
date |
None. |
FMV |
Gets or Sets Fmv |
decimal number |
None. |
Cost |
Gets or Sets Cost |
decimal number |
None. |
Offer |
Gets or Sets Offer |
decimal number |
None. |
Type |
Gets or Sets Type |
string |
String length: inclusive between 0 and 2 |
LastUpdated |
Gets LastUpdated |
date |
None. |
LastUpdatedBy |
Gets LastUpdatedBy |
string |
String length: inclusive between 0 and 200 |
Created |
Gets Created |
date |
None. |
CreatedBy |
Gets CreatedBy |
string |
String length: inclusive between 0 and 200 |
Request Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "Status": "D", "Description": "sample string 2", "Added": "2025-09-04T15:04:24.717", "FMV": 1.0, "Cost": 1.0, "Offer": 1.0, "Type": "sample string 3", "LastUpdated": "2025-09-04T15:04:24.717", "LastUpdatedBy": "sample string 4", "Created": "2025-09-04T15:04:24.717", "CreatedBy": "sample string 5" }
application/xml, text/xml
Sample:
<InventoryVirtual xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPCSWS.Models"> <Added>2025-09-04T15:04:24.717456+00:00</Added> <Code>sample string 1</Code> <Cost>1</Cost> <Created>2025-09-04T15:04:24.717456+00:00</Created> <CreatedBy>sample string 5</CreatedBy> <Description>sample string 2</Description> <FMV>1</FMV> <LastUpdated>2025-09-04T15:04:24.717456+00:00</LastUpdated> <LastUpdatedBy>sample string 4</LastUpdatedBy> <Offer>1</Offer> <Status>DEnum</Status> <Type>sample string 3</Type> </InventoryVirtual>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.