Macromedia breeze-using the breeze xml web services User Manual

Page of 196
status
177
Example
<source-sco>
<source-sco author-contact-id="586761" folder-id="506334" host-id=""
learning-time="" sco-data-id="586762" sco-id="586760" source-sco-id=""
status="active" tree-id="181225" type="presentation">
<date-created>2004-02-27T10:31:06.717-08:00</date-created>
<date-modified>2004-02-27T10:52:58.217-08:00</date-modified>
<description>Simple test presentation</description>
<name>Math Test</name>
<url-path>/p60802018/</url-path>
</source-sco>
</source-sco>
status
Description
A status code returned by the Breeze server whenever an action is called. This section provides 
information about all the status codes and subcodes that Breeze can return.
Attributes
code
  The status of the action. The following values are possible for this attribute:
Value
Description
invalid
Indicates that a call is invalid in some way. If the code attribute is set to 
"invalid"
, the status tag contains an 
 tag that provides more 
detail about what’s wrong.
no-access
Indicates that you don’t have permission to perform the action. This can 
happen in several situations; the value of the subcode attribute provides more 
details. If you provide an invalid access key, there is no subcode value.
no-data
Indicates that there is no data available (in response to an action that would 
normally result in returning data). Usually indicates that there is no item with 
the ID you specified. To resolve the error, change the specified ID to that of an 
item that exists.
ok
Indicates that the action has completed successfully.
too-much-data
Indicates that the action should have returned a single result but is actually 
returning multiple results. For example, if there are multiple users with the 
same user name and password, and you call the login action using that user 
name and password as parameters, the system cannot determine which user 
to log you in as, so it returns a "too-much-data" error.