EasyManuals Logo

VMware VCLOUD API 1.0 - API User Manual

VMware VCLOUD API 1.0 - API
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #146 background imageLoading...
Page #146 background image
vCloud API Programming Guide
146 VMware, Inc.
XML Namespace Prefixes in Request and Response Bodies
WhenarequestorresponseincludeselementsfrommultipleXMLnamespaces,eachelementnameisprefixed
withanamespaceidentifier.UnlessallelementsinarequestorresponseoriginateinthesameXML
namespace,theseprefixesarerequiredinrequestbodies,andarealwaysincludedinresponsebodies.
Example 516on
page 78andExample 722onpage 133showhownamespaceprefixesappearinelement
names.
Common Elements
ThevCloud APIdefinesanumberofelementsthatcanbecontainedbytherepresentationsofmanykindsof
objects.
Description
TheDescriptionelementcontainsastringthatdescribestheobject.Thiselementisalwaysoptional.
Error
Errorelementsareusedtotransmitreadonlyerrorinformationinaresponse.
Content-Type application/vnd.vmware.vcloud.error+xml
Table 86liststheminorerrorcodevaluesdefinedinthisreleaseofthevCloud API.
Schema
Name Min Max Type Description
message 1 1 xs:string Messagedescribingtheerror
majorErrorCode 1 1 xs:int MatchestheHTTPstatuscode.See“StatusCodes”onpage 18.
minorErrorCode 1 1 xs:string Errorcodespecifictothefailedoperation
vendorSpecificErrorCode 0 1 xs:string Emptyinthisrelease
stackTrace 0 1 xs:string Stacktraceoftheerror,ifavailable.Thisattributeisreturned
onlytoasystemadministrator.
Table 8-6. Minor Error Codes
Error Code Description of Error
ACCESS_TO_RESOURCE_IS_FORBIDDEN Therequestwasmadebyauserwhohadinsufficientrightstotheobject
oroperation.
BAD_REQUEST TherequestcouldnotbevalidatedorcontainedinvalidXML.
CONFLICT AconflictwasdetectedbetweensectionsofanOVFdescriptor.
EULA_NOT_ACCEPTED AnattempttoinstantiateavAppTemplateoruseavAppTemplateora
Vmin
acompositiondidnotincludeanAllEULAsAcceptedelement
withavalueoftrue.
INTERNAL_SERVER_ERROR Returnedforanyfailurethatcannotbematchedtoanotherminorerror
code.
INVALID_REFERENCE Oneormorereferences(hrefattributevalues)suppliedintherequest
couldnotberesolvedtoanobject.
METHOD_NOT_ALLOWED TheHTTPmethod(GET,PUT,
POST,DELETE)isnotallowedforthe
request.
RESOURCE_NOT_FOUND Oneormorereferences(hrefattributevalues)suppliedintherequest
couldnotberesolvedtoanobject,ortheContenttypeoftherequest
wasincorrect.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VMware VCLOUD API 1.0 - API and is the answer not in the manual?

VMware VCLOUD API 1.0 - API Specifications

General IconGeneral
BrandVMware
ModelVCLOUD API 1.0 - API
CategorySoftware
LanguageEnglish

Related product manuals