| Method | /testsite/Services/Gateway.asmx/SetRedirectURL |
| Sertifi API Web Service > All Operations Resource Group : /testsite/Services/Gateway.asmx/SetRedirectURL (Method) |
The request body is of type SetRedirectURL.
| Name | Description | Data Type |
|---|---|---|
| p_APICode | The API code of the site. This can be found through your Sertifi web interface under Administration -> Account Settings. | xml:string |
| p_FileID | The id of the relevant file. | xml:string |
| p_redirectUrl | The Url to redirect to. | xml:string |
| redirectActions | A list of cases which should result in a redirection to that URL. (Sign, Decline, or Reassign) | ArrayOfRedirectOnAction |

The response body is of type SetRedirectURLResponse.
| Name | Description | Data Type |
|---|---|---|
| SetRedirectURLResult | "SUCCESS" or error message. | xml:string |

Only one redirect url can be set per file.
Common Errors include:
"ERROR: Invalid API Code"
"ERROR: Invalid URL. Cannot be empty or greater than 500 characters."
"ERROR: File could not be accessed"
"ERROR: Room Expired"