GET ops/productionitems
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ProductionItemGETName | Description | Type | Additional information |
---|---|---|---|
ActivityId | integer |
None. |
|
ID | integer |
None. |
|
Item | string |
None. |
|
UnitsOfMeasurement | Collection of ProductionItemUnitGET |
None. |
Response Formats
application/json, text/json
Sample:
[ { "activityId": 1, "id": 2, "item": "sample string 3", "unitsOfMeasurement": [ { "id": 1, "unit": "sample string 2" }, { "id": 1, "unit": "sample string 2" } ] }, { "activityId": 1, "id": 2, "item": "sample string 3", "unitsOfMeasurement": [ { "id": 1, "unit": "sample string 2" }, { "id": 1, "unit": "sample string 2" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfProductionItemGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations"> <ProductionItemGET> <ActivityId>1</ActivityId> <ID>2</ID> <Item>sample string 3</Item> <UnitsOfMeasurement> <ProductionItemUnitGET> <Id>1</Id> <Unit>sample string 2</Unit> </ProductionItemUnitGET> <ProductionItemUnitGET> <Id>1</Id> <Unit>sample string 2</Unit> </ProductionItemUnitGET> </UnitsOfMeasurement> </ProductionItemGET> <ProductionItemGET> <ActivityId>1</ActivityId> <ID>2</ID> <Item>sample string 3</Item> <UnitsOfMeasurement> <ProductionItemUnitGET> <Id>1</Id> <Unit>sample string 2</Unit> </ProductionItemUnitGET> <ProductionItemUnitGET> <Id>1</Id> <Unit>sample string 2</Unit> </ProductionItemUnitGET> </UnitsOfMeasurement> </ProductionItemGET> </ArrayOfProductionItemGET>