Create Form

/folders/{id}/forms

Create Form [POST]

Add new forms to an existing folder.

Authorization: Admin, Web, Mobile

As the forms are being created, the server will send back pusher notifications for the progress of the created forms.

This table describes the pusher channel, event name (which matches the response body JSON above), and the data object that will be sent. The data object tells you the latest form that was created, the current number of created forms, and the total overall number of forms to be created. From this, you can indicate a progress bar.

Channel: private-user-{userId}

Event Name: Folder{folderId}FormsCreate

Data Object:

  {
    status: 200,
    formId: 4564,
    created: 5,
    total: 7
  }

Request

Body
{
  "formTemplates": [
    {
     "id": "898"
     "assetIds: [9082, 9063],
     "formsCount": null
    },{
     "id": "901"
     "assetIds: [1280, 2908, 9908, 2909, 1408],
     "formsCount": null
    }
  ]
}

Response 200

Body
{
  "eventName": "Folder{folderId}FormsCreate"
}

Still need help? Contact Us Contact Us