GET api/Inventory/GetInventoryDetail?InventoryID={InventoryID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
InventoryID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of InventoryDetailName | Description | Type | Additional information |
---|---|---|---|
InventoryID | integer |
None. |
|
ProjectID | integer |
None. |
|
Project | string |
None. |
|
PhaseID | integer |
None. |
|
Phase | string |
None. |
|
LocationID | integer |
None. |
|
Location | string |
None. |
|
Qty | decimal number |
None. |
|
Price | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "InventoryID": 1, "ProjectID": 2, "Project": "sample string 3", "PhaseID": 4, "Phase": "sample string 5", "LocationID": 6, "Location": "sample string 7", "Qty": 8.0, "Price": 9.0 }, { "InventoryID": 1, "ProjectID": 2, "Project": "sample string 3", "PhaseID": 4, "Phase": "sample string 5", "LocationID": 6, "Location": "sample string 7", "Qty": 8.0, "Price": 9.0 } ]
application/xml, text/xml
Sample:
<ArrayOfInventoryDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <InventoryDetail> <InventoryID>1</InventoryID> <Location>sample string 7</Location> <LocationID>6</LocationID> <Phase>sample string 5</Phase> <PhaseID>4</PhaseID> <Price>9</Price> <Project>sample string 3</Project> <ProjectID>2</ProjectID> <Qty>8</Qty> </InventoryDetail> <InventoryDetail> <InventoryID>1</InventoryID> <Location>sample string 7</Location> <LocationID>6</LocationID> <Phase>sample string 5</Phase> <PhaseID>4</PhaseID> <Price>9</Price> <Project>sample string 3</Project> <ProjectID>2</ProjectID> <Qty>8</Qty> </InventoryDetail> </ArrayOfInventoryDetail>