approveRequest
You can use the approveRequest web method to approve an existing request.
Parameters
The approveRequest web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| iRequestID | Integer | The ID of the request to approve | |
| strReason | String | The reason for the approval | |
| strDescription | String | The description of the approval | |
| strGUID | String | The 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