Supported Operations

19.4.1.3 CreateNewAssetVersion

DESCRIPTION: Create a new version of an asset from an existing asset.

INPUT:

  • _user: Login name of the executor.
  • _pwd: Password of the executor.
  • _idSourceAsset: ID of the source asset.
CreateNewAssetVersion_input

OUTPUT: 

<string xmlns="http://www.etere.eu/EtereWSApi"><?xml version="1.0" encoding="utf-8"?> <WSApiResponse> <Function Name="CreateNewAssetVersion"> <AssetCopy><Results FromIdFilmati="468" ToIdFilmati="1846" ToIdSerie="421" Result="0" ErrorMessage="Succeeded copy" IdTransazioni="4048" /></AssetCopy> </Function> </WSApiResponse> </string>

CreateNewAssetVersion_output

XSD (XML Schema Definition)
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="WSApiResponse">
  <xs:complexType>
    <xs: sequence>
      <xs:element name="Function">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="AssetCopy">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Results">
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:string">
                          <xs:attribute type="xs:short" name="FromIdFilmati"/>
                          <xs:attribute type="xs:short" name="ToIdFilmati"/>
                          <xs:attribute type="xs:short" name="ToIdSeason"/>
                          <xs:attribute type="xs:byte" name="Result"/>
                          <xs:attribute type="xs:string" name="ErrorMessage"/>
                          <xs:attribute type="xs:int" name="IdTransazioni"/>
                        </xs:extension>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute type="xs:string" name="Name"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>
</xs:schema>

CreateNewAssetVersion_output
CreateNewAssetVersion_input