108
Chapter 4: Action Reference
<date-end>2004-07-22T21:51:58.330-07:00</date-end>
<url-path>/r54578750/</url-path>
<description>testXMLAPI-mtg</description>
<name>testAPI-mtg</name>
</sco>
</results>
You can update meeting start and end times, name, and description by replacing the parameter
folder-id
with the parameter
sco-id
.
The following sample XML is returned when updating a meeting:
<results>
<status code="ok" />
</results>
sco-upload
Description
Uploads a file to the Breeze server when creating a presentation using the XML API. (For more
information, see
sco-update
and
sco-build
).
You must send the parameters for this action using the multipart/form-data media type. The
easiest way to create the
file
parameter is to use a form control of type
"file"
in a form on a
web page.
After you upload a file, call the
sco-build
action to build it.
The following sample HTML is a form for associating content with a presentation created with
the XML API:
<FORM action="http://<domain-name>/api/
xml?accesskey=xxxxxxxxxxxxxxxx&action=sco-upload&sco-
id=xx&summary=xxx&title=xxx" enctype="multipart/form-data" method="post">
<P>
What files are you sending?
<INPUT type="file" name="file">
<BR>
<INPUT type="submit" value="Send"> <INPUT type="reset">
</FORM>
This form uploads a single file. If you need to upload multiple files, for example, a PPT and a
PPC file, you must pass an additional
file
parameter:
<FORM action="http://<domain-name>/api/xml?accesskey=xxxxxxxxxxxxx&action=sco-
upload&sco-id=xxx&summary=xxx&title=xxxx" enctype="multipart/form-data"
method="post">
<P>
PPT files you are sending <INPUT type="file" name="file"><BR>
PPC files you are sending <INPUT type="file" name="file"><BR>
<INPUT type="submit" value="Send"> <INPUT type="reset">
</FORM>
Содержание BREEZE-USING THE BREEZE XML WEB SERVICES
Страница 1: ...Using the Breeze XML Web Services...
Страница 8: ...8 Contents...
Страница 12: ...12 Introduction Before You Begin...
Страница 26: ...26 Chapter 2 Working with Filters...
Страница 36: ...36 Chapter 3 Common Tasks...
Страница 112: ...112 Chapter 4 Action Reference...
Страница 186: ...186 Chapter 5 XML Results Reference...
Страница 196: ...196 Index...