DESCRIPTION: Allows an authenticated user to create or update an existing segment. It needs a complete XML structure to provide all the information for the segment; they can be retrieved using the API "GetSegmentByID."
INPUT:
_user: Login name of the executor.
_pwd: Password of the executor.
_xmlParams: the XML containing all the information needed for the segment creation/update.
EXAMPLE XML:
<Segmentdata>
<Segment ID_INTERRUZIONI="0"
ID_FILMATI="561"
ID_FILMATI_LNK="-1"
ID_TIPOLOGIE="0"
TESTO="SEGMENT_1"
NEWTYPE="COM"
MARKIN="0"
MARKOUT="142"
PARTE="0"
BULK_VIDEO="0"
TO_EXPLODE="1"
INSERTION_POINT="0"
VALID="1"
FLAG="0"
VERSION="0"
NOTE="
COMPLEX="0"
MARKORDER="0"
ID_IMAGE="-1" />
</Segmentdata>
writesegment
OUTPUT:
<WSApiResponse> <Function Name="AS_WritSegment"> <Result ID_INTERRUZIONI="561" Description="Success"/> </Function> </WSApiResponse>
writesegment_output