POST /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=fail |
POST /com/vmware/content/library/item/update-session?~action=fail |
This is useful in transmitting client side failures (for example, not being able to access a file) to the server side.
{
"client_error_message": "string", "update_session_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Fail-Input xmlns:ns0="http://vmware.com/content/library/item/update_session" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <client_error_message>string</client_error_message> <update_session_id>obj-103</update_session_id> </ns0:Fail-Input>
POST /com/vmware/content/library/item/update-session?~action=fail
&client_error_message=string &update_session_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
update_session_id* |
ID | Yes | Identifier of the update session to fail. Id of type com.vmware.content.library.item.UpdateSession. |
client_error_message* |
string | Yes | Client side error message. This can be useful in providing some extra details about the client side failure. Note that the message won't be translated to the user's locale. |
Name | Type | Required | Description |
---|---|---|---|
result | VOID | Yes |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the update session does not exist. | 404 |
not_allowed_in_current_state | if the update session is not in the ACTIVE state. | 400 |
Copyright © 2014. All Rights Reserved.