Skip to main content

approveRequest

You can use the approveRequest web method to approve an existing request.

Parameters

The approveRequest web method includes the following parameters:

#ParametersData TypeDescription
iRequestIDIntegerThe ID of the request to approve
strReasonStringThe reason for the approval
strDescriptionStringThe description of the approval
strGUIDStringThe Request GUID, use if RequestID is not provided.

Return Value

Returns one of the following values:

  • Returns a 1 for success
  • Returns a -1 for error