POST api/Inventory/Modify
Request Information
URI Parameters
None.
Body Parameters
InventoryMod| Name | Description | Type | Additional information |
|---|---|---|---|
| Method | string |
None. |
|
| InventoryID | integer |
None. |
|
| Qty | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| NewPrice | decimal number |
None. |
|
| NewProjectID | integer |
None. |
|
| ProjectID | integer |
None. |
|
| NewPhaseID | integer |
None. |
|
| PhaseID | integer |
None. |
|
| NewLocationID | integer |
None. |
|
| LocationID | integer |
None. |
|
| Note | string |
None. |
|
| Employee | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Method": "sample string 1",
"InventoryID": 2,
"Qty": 3.0,
"Price": 4.0,
"NewPrice": 5.0,
"NewProjectID": 6,
"ProjectID": 7,
"NewPhaseID": 8,
"PhaseID": 9,
"NewLocationID": 10,
"LocationID": 11,
"Note": "sample string 12",
"Employee": 13
}
application/xml, text/xml
Sample:
<InventoryMod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <Employee>13</Employee> <InventoryID>2</InventoryID> <LocationID>11</LocationID> <Method>sample string 1</Method> <NewLocationID>10</NewLocationID> <NewPhaseID>8</NewPhaseID> <NewPrice>5</NewPrice> <NewProjectID>6</NewProjectID> <Note>sample string 12</Note> <PhaseID>9</PhaseID> <Price>4</Price> <ProjectID>7</ProjectID> <Qty>3</Qty> </InventoryMod>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>