GET api/Works/{workorder}/2D/{component}
List 2D Tasks Coordinates
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workorder |
Work order workorder |
string |
Required |
component |
Component Id |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of AugmentedRealityName | Description | Type | Additional information |
---|---|---|---|
Points |
|
ValueTupleOfCoordenadaAndComponentTasks |
None. |
Response Formats
Sample:
[ { "Points": { "Item1": { "X": 1, "Y": 2, "Descricao": "sample string 3" }, "Item2": { "Tasks": [ 1, 2 ], "Component": { "Code": 1, "Description": "sample string 2" } } } }, { "Points": { "Item1": { "X": 1, "Y": 2, "Descricao": "sample string 3" }, "Item2": { "Tasks": [ 1, 2 ], "Component": { "Code": 1, "Description": "sample string 2" } } } } ]
Sample:
<ArrayOfAugmentedReality xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Trabalhos"> <AugmentedReality> <Points xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:Item1 xmlns:d4p1="http://schemas.datacontract.org/2004/07/ManWinWin.Areas.OrdensTrabalho"> <d4p1:Descricao>sample string 3</d4p1:Descricao> <d4p1:X>1</d4p1:X> <d4p1:Y>2</d4p1:Y> </d3p1:Item1> <d3p1:Item2> <Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.Parque"> <d5p1:Code>1</d5p1:Code> <d5p1:Description>sample string 2</d5p1:Description> </Component> <Tasks xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </Tasks> </d3p1:Item2> </Points> </AugmentedReality> <AugmentedReality> <Points xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:Item1 xmlns:d4p1="http://schemas.datacontract.org/2004/07/ManWinWin.Areas.OrdensTrabalho"> <d4p1:Descricao>sample string 3</d4p1:Descricao> <d4p1:X>1</d4p1:X> <d4p1:Y>2</d4p1:Y> </d3p1:Item1> <d3p1:Item2> <Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.Parque"> <d5p1:Code>1</d5p1:Code> <d5p1:Description>sample string 2</d5p1:Description> </Component> <Tasks xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </Tasks> </d3p1:Item2> </Points> </AugmentedReality> </ArrayOfAugmentedReality>
Sample:
Sample not available.