Application Programming Interface Guide > Web Services Operations > Operations Reference > updateXQueryProcedure
 
updateXQueryProcedure
Update the definition of a XQuery procedure resource.
Location
/services/webservices/system/admin/resource/operations/
Request Elements
path: A fully qualified path to the resource.
detail: The level of detail about the resources to include in the response. Valid values are NONE, SIMPLE, and FULL.
xqueryText: The XQuery source text.
isExplicitDesign (optional): TRUE if the parameters were provided by the resource designer in the following element. FALSE if they were derived from the resource.
parameters (optional): The parameter definitions of the procedure. This element is ignored (even if provided) unless isExplicitDesign is present and TRUE. See Parameters Element.
annotation (optional): A description of the resource. If not provided, the annotation is left unaltered.
attributes (optional): Resource specific attributes. Sets the specified attributes, but does not alter the values of unspecified attributes.
Response Elements
resources: List of the updated resources. See Resources Element.
Faults
IllegalArgument: If the path is malformed, or the detail or attributes are illegal.
NotAllowed: If an attempt is made to use this operation with an insufficient license.
NotFound: If the resource or any portion of path does not exist.
Security: If the user does not have READ access on all items in path other than the last one.
Security: If the user does not have WRITE access to the last item in path.
Security: If the user does not have the ACCESS_TOOLS right.