DESCRIPTION: Allows an authenticated user to retrieve the flexi-metadata (e.g. performer, mood, etc.) as well as the extended asset data (id, code, description, marks, duration, artists, role, genre and user notes) of all assets partially/completely matching a given ID.
WARNING: 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:
_user: Login name of the executor.
_pwd: Password of the executor.
_idAsset: Id of the target asset(s).
GetAssetFlexiById
OUTPUT:
<Asset>
idAsset: Asset's unique identification number in Etere
Type : integer
Example : 3806
Code: Asset's identification code string
Type : string
Example : CLIP3806
Description: Brief description of the asset
Type : string
Example : Wornderwall
TCIN: Starting timecode of the asset
Type : integer
Example : 1000
TCOUT: Ending timecode of the asset
Type : integer
Example : 67000
Length: Difference between the tcout and tcin.
Type : integer
Example : 66000
USER1_NOTES: First custom text
Type : string
Example : 90s hit
USER2_NOTES: Second custom text
Type : string
Example : Liam's solo
USER3_NOTES: Third custom text
Type : string
Example : Wembley 95
<EDL_flexi> <flexiData>
item: Code of the flexi-metadata item
Type : string
Example : 0F.14.00.00.00.00.00.00
item name: Name of the flexi-metadata item
Type : string
Example : censor cause
item value: Value assigned to the flexi-metadata
Type : string
Example : Violence
OUTPUT:
<string xmlns="http://www.etere.eu/EtereWSApi"><?xml version="1.0" encoding="utf-8"?> <WSApiResponse> <Function Name="GetAssetFlexiById"> <Asset><idAsset>1845</idAsset><Code>1843</Code><Description>DELETE ASSET EDL ETERE API</Description><TCIN>0</TCIN><TCOUT>750</TCOUT><Length>750</Length><USER1_NOTES></USER1_NOTES><USER2_NOTES></USER2_NOTES><USER3_NOTES></USER3_NOTES><EDL_flexi><flexiData><item>0F.01.08.00.00.00.00.00</item><itemname>Original source</itemname><itemvalue>Asset form</itemvalue></flexiData><flexiData><item>0F.FD.02.01.00.00.00.00</item><itemname>SC Transcoding</itemname></flexiData><flexiData><item>0F.FD.02.02.00.00.00.00</item><itemname>SC Conforming</itemname></flexiData><flexiData><item>0F.FD.02.03.00.00.00.00</item><itemname>SC Uploading</itemname></flexiData><flexiData><item>0F.FD.03.01.00.00.00.00</item><itemname>VIDEO EDITOR NAME</itemname></flexiData><flexiData><item>0F.FD.03.02.00.00.00.00</item><itemname>VIDEO EDITOR ASSISTANT</itemname><itemvalue>Dolor</itemvalue></flexiData><flexiData><item>0F.FD.05.00.00.00.00.00</item><itemname>TYPES</itemname><itemvalue>COM</itemvalue></flexiData></EDL_flexi></Asset> </Function> </WSApiResponse> </string>
GetAssetFlexiById_output
XSD (XML Schema Definition)
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="Asset">
<xs:complexType>
<xs:sequence>
<xs:element name="idAsset" type="xs:string" minOccurs="0" />
<xs:element name="Code" type="xs:string" minOccurs="0" />
<xs:element name="Description" type="xs:string" minOccurs="0" />
<xs:element name="TCIN" type="xs:string" minOccurs="0" />
<xs:element name="TCOUT" type="xs:string" minOccurs="0" />
<xs:element name="Length" type="xs:string" minOccurs="0" />
<xs:element name="USER1_NOTES" type="xs:string" minOccurs="0" />
<xs:element name="USER2_NOTES" type="xs:string" minOccurs="0" />
<xs:element name="USER3_NOTES" type="xs:string" minOccurs="0" />
<xs:element name="EDL_flexi" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="flexiData" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="item" type="xs:string" minOccurs="0" />
<xs:element name="itemname" type="xs:string" minOccurs="0" />
<xs:element name="itemvalue" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Asset" />
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>