DESCRIPTION: Allows an authenticated user to retrieve an asset's key asset data (code, description, marks and duration) partially/completely matching a given ID.
INPUT:
_user: Login name of the executor.
_pwd: Password of the executor.
_IdAsset: ID of the target asset.
GetAssetById
OUTPUT:
<string xmlns="http://www.etere.eu/EtereWSApi"><?xml version="1.0" encoding="utf-8"?> <WSApiResponse> <Function Name="GetAssetById"> <asset idAsset="1845" Code="1843" Description="DELETE ASSET EDL ETERE API" TCIN="0" TCOUT="750" Length="750"/> </Function> </WSApiResponse> </string>
GetAssetById_output
XSD (XML Schema Definition)
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="WSApiResponse" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="WSApiResponse" msdata:IsDataSet="true" msdata:Locale="en-US">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Function">
<xs:complexType>
<xs:sequence>
<xs:element name="asset" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="idAsset" type="xs:string" />
<xs:attribute name="Code" type="xs:string" />
<xs:attribute name="Description" type="xs:string" />
<xs:attribute name="TCIN" type="xs:string" />
<xs:attribute name="TCOUT" type="xs:string" />
<xs:attribute name="Length" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>