Supported Operations

19.4.1.26 GetAssetListByType_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 belonging to a given type.
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.
INPUT
Parameter - _user
Description: Login name of the executor.
Example: user01
Parameter - _pwd
Description:
 Password of the executor.
Example: pass01
Parameter - _typeCode
Description:
 Code of the target type.
Example: clip
OUTPUT - <asset idAsset="1" Code="1" Description="Wonderwall" Type="CLIP" 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" Type="CLIP" 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" Type="CLIP" TCIN="0" TCOUT="6009" Length="6009" ARTIST_DESC="Gallagher Noel" 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" Type="CLIP" TCIN="0" TCOUT="6009" Length="6009" ARTIST_DESC="Gallagher Noel" 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="2" Code="2" Description="Like a rolling stone" Type="CLIP" TCIN="0" TCOUT="6012" Length="6012" ARTIST_DESC="Dylan Bob " ROLE_DESC="Singer" COD_GENRE="2" GENRE_DESC="Rock" USER1_NOTES="" USER2_NOTES="" USER3_NOTES=""/>...
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>