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 code.
INPUT
Parameter - _user
Description: Login name of the executor.
Example: user01
Parameter - _pwd
Description: Password of the executor.
Example: pass01
Parameter - _code
Description: Code of the target asset(s).
Example: 1
NB: The search supports using the following wildcards on the _code keyword:
%apple - Match all fields ending with the word apple (e.g. the pineapple).
apple% - Match all fields starting with the word apple (e.g. Appleton cocktail).
% - Match all assets in the database
OUTPUT - <asset idAsset="1" Code="1" Description="Wonderwall" TCIN="0" TCOUT="6009" Length="6009" ARTIST_DESC="Oasis " ROLE_DESC="Band" COD_GENRE="2" GENRE_DESC="Rock" USER1_NOTES="EPG1 sample information." USER2_NOTES="EPG2 sample information" USER3_NOTES="EPG3 sample information"/>
<asset idAsset="1" Code="1" Description="Wonderwall" TCIN="0" TCOUT="6009" Length="6009" ARTIST_DESC="Oasis " ROLE_DESC="Band" COD_GENRE="4" GENRE_DESC="Alternative" USER1_NOTES="EPG1 sample information." USER2_NOTES="EPG2 sample information" USER3_NOTES="EPG3 sample information"/>
<asset idAsset="1" Code="1" Description="Wonderwall" TCIN="0" TCOUT="6009" Length="6009" ARTIST_DESC="Noel Gallagher " ROLE_DESC="Composer/Arranger" COD_GENRE="2" GENRE_DESC="Rock" USER1_NOTES="EPG1 sample information." USER2_NOTES="EPG2 sample information" USER3_NOTES="EPG3 sample information"/>
<asset idAsset="1" Code="1" Description="Wonderwall" TCIN="0" TCOUT="6009" Length="6009" ARTIST_DESC="Noel Gallagher " ROLE_DESC="Composer/Arranger" COD_GENRE="4" GENRE_DESC="Alternative" USER1_NOTES="EPG1 sample information." USER2_NOTES="EPG2 sample information" USER3_NOTES="EPG3 sample information"/>
<asset idAsset="3333" Code="1094971274" Description="The New Adventures Of Old Christine" TCIN="0" TCOUT="750" Length="750" ARTIST_DESC="Louis-Dreyfus Julia" ROLE_DESC="Actress" COD_GENRE="4" GENRE_DESC="Comedy" USER1_NOTES="EPG1 sample information." USER2_NOTES="EPG2 sample information" USER3_NOTES="EPG3 sample information"/>...
NB: Please note that if the matching asset(s) has more than one artist, role or genre, a single entry will be returned for each.
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="Type" 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>