GET api/Items/{item}
Get the details of an Item
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
item |
Item asset |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
AssetDetailsName | Description | Type | Additional information |
---|---|---|---|
Code |
|
string |
None. |
Description |
|
string |
None. |
Date |
|
date |
None. |
State |
|
Asset.State |
None. |
Type |
|
BasicDetail |
None. |
Unit |
|
string |
None. |
ADR |
|
decimal number |
None. |
Entity |
|
Entity |
None. |
System |
|
BasicDetail |
None. |
Picture |
|
string |
None. |
Specifications |
|
Collection of Specifications |
None. |
File |
|
string |
None. |
Documents |
|
Collection of AssetDocument |
None. |
Supplier |
|
BasicDetail |
None. |
Location |
|
BasicDetail |
None. |
Family |
|
BasicDetail |
None. |
Response Formats
Sample:
{ "Code": "sample string 1", "Description": "sample string 2", "Date": "2024-11-14T16:39:44.3073197+00:00", "State": "Active", "Type": { "Code": "sample string 1", "Description": "sample string 2" }, "Unit": "sample string 4", "ADR": 5.1, "Entity": { "Code": "sample string 1", "Description": "sample string 2", "IsClient": true }, "System": { "Code": "sample string 1", "Description": "sample string 2" }, "Picture": "sample string 6", "Specifications": [ { "Number": 1, "Name": "sample string 2", "Value": "sample string 3" }, { "Number": 1, "Name": "sample string 2", "Value": "sample string 3" } ], "File": "sample string 7", "Documents": [ { "Code": "sample string 1", "Description": "sample string 2", "Link": "sample string 3", "Type": "sample string 4" }, { "Code": "sample string 1", "Description": "sample string 2", "Link": "sample string 3", "Type": "sample string 4" } ], "Supplier": { "Code": "sample string 1", "Description": "sample string 2" }, "Location": { "Code": "sample string 1", "Description": "sample string 2" }, "Family": { "Code": "sample string 1", "Description": "sample string 2" } }
Sample:
<AssetDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Parque"> <ADR>5.1</ADR> <Code>sample string 1</Code> <Date>2024-11-14T16:39:44.3073197+00:00</Date> <Description>sample string 2</Description> <Documents xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:AssetDocument> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Link>sample string 3</d2p1:Link> <d2p1:Type>sample string 4</d2p1:Type> </d2p1:AssetDocument> <d2p1:AssetDocument> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Link>sample string 3</d2p1:Link> <d2p1:Type>sample string 4</d2p1:Type> </d2p1:AssetDocument> </Documents> <Entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:IsClient>true</d2p1:IsClient> </Entity> <Family xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> </Family> <File>sample string 7</File> <Location xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> </Location> <Picture>sample string 6</Picture> <Specifications xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:Specifications> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Number>1</d2p1:Number> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Specifications> <d2p1:Specifications> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Number>1</d2p1:Number> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Specifications> </Specifications> <State>Active</State> <Supplier xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> </Supplier> <System xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> </System> <Type xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> </Type> <Unit>sample string 4</Unit> </AssetDetails>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Date" 2024-11-14T16:39:44.3073197+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="State" Active --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Type.Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Type.Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Unit" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ADR" 5.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Entity.Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Entity.Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Entity.IsClient" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="System.Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="System.Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Picture" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Specifications[0].Number" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Specifications[0].Name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Specifications[0].Value" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Specifications[1].Number" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Specifications[1].Name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Specifications[1].Value" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="File" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[0].Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[0].Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[0].Link" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[0].Type" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[1].Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[1].Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[1].Link" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Documents[1].Type" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Supplier.Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Supplier.Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Location.Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Location.Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Family.Code" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Family.Description" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--