1
2
3
4
5
ProcFormRestore(
   int FormID,
   string AlternateID,
   bool WebhookEvaluate
)

Restore a form from the trash.

Request

Request Data:

  • (int) FormID (required) – The ID of the form you want to restore
  • (int) AlternateID (optional) – The AlternateID of the form you want to restore
  • (bool) WebhookEvaluate (optional, default: false) – whether RPM should issue webhook requests

Note: FormID and AlternateID are optional but at least one has to be provided. If both are provided FormID will be used.

1
2
3
4
5
{
   "FormID": <int>,
   "AlternateID": <string>,
   "WebhookEvaluate": <bool>
}

Response

1
2
3
{
   "Success": <bool>
}

Errors

  • Permission denied.
  • Form not found.