Supported Operations

19.4.1.10 GetAssetById_ExtendedData

DESCRIPTION: Allows an authenticated user to retrieve the extended asset data (id, code, description, marks, duration, artists, role, genre and user notes) of all assets partially/completely matching a given ID.

Note: If the matching asset(s) has more than one artist, role or genre, a single entry will be returned for each.

INPUT:

_user: Login name of the executor.

_pwd: Password of the executor.

_idAsset: Id of the target asset(s).

GetAssetById_ExtendedData

OUTPUT: 

<string xmlns="http://www.etere.eu/EtereWSApi"><?xml version="1.0" encoding="utf-8"?> <WSApiResponse> <Function Name="GetAssetById_ExtendedData"> <asset idAsset="1845" Code="1843" Description="DELETE ASSET EDL ETERE API" TCIN="0" TCOUT="750" Length="750" ARTIST_DESC="" ROLE_DESC="" COD_GENRE="" GENRE_DESC="" USER1_NOTES="" USER2_NOTES="" USER3_NOTES=""/> </Function> </WSApiResponse> </string>

GetAssetById_ExtendedData_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:attribute name="ARTIST_DESC" type="xs:string" />
                <xs:attribute name="ROLE_DESC" type="xs:string" />
                <xs:attribute name="COD_GENRE" type="xs:string" />
                <xs:attribute name="GENRE_DESC" type="xs:string" />
                <xs:attribute name="USER1_NOTES" type="xs:string" />
                <xs:attribute name="USER2_NOTES" type="xs:string" />
                <xs:attribute name="USER3_NOTES" 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>

GetAssetById_ExtendedData
GetAssetById_ExtendedData_output