User Guide
sco-update 133
folder-id The ID of the folder in which the server will create the new SCO. This parameter is
optional and cannot be specified with
sco-id.
last-name The last name of the contact person for the SCO. (Used only for presentations.)
name The name of the SCO.
sco-id The ID of a SCO to update. This parameter is optional and cannot be specified with
folder-id.
sco-tag A label for the SCO. Can contain any arbitrary data; for example, for an Economics
101 course, you might specify 101 for the
sco-tag parameter. (Used only for courses.)
source-sco-id The ID of the content of the SCO. (Used only for courses.)
type The type of the new SCO. For information about types, see “About principals, SCOs, and
IDs” on page 17.
Filters
Results cannot be filtered or sorted.
Returned elements
If you update an existing SCO, no elements are returned.
If you create a new SCO,
sco.
Sample results
The following sample XML is returned when a new SCO is created:
<results>
<status code="ok" />
<sco folder-id="181412" type="folder" sco-id="2501961" status="active"
author-contact-id="2501962" tree-id="181227" sco-data-id="2501963">
<url-path>/p54135747/</url-path>
<name>Test SCO</name>
</sco>
</results>
The following sample XML is returned when a presentation SCO is created:
<results>
<status code="ok" />
<sco folder-id="945" type="presentation" lang="en" sco-id="2152" status="no-
content" tree-id="11" sco-data-id="2154">
<author-info-2>sw</author-info-2>
<author-info-3>macr</author-info-3>
<url-path>/p74161709/</url-path>
<description>testXMLAPIpreso-New</description>
<author-info-1>laxmi n</author-info-1>
<name>testAPI-preso-New</name>
</sco>
</results>
To update the title, summary, speaker name, language, and company, replace the folder-id
parameter with the
sco-id parameter.