Create Form From User Templates
Description: To create a form from a user template a HTTP POST request is made to the URL with the session token.
Method: POST
URI: /user-templates/template_id/form
URI Parameters:
- template_id: The ID of the user template.
Parameters
name: Name of form
private: Whether the form is private or not. If this property is not passed, the users default preference will be used.
Headers: Authorization: Third party based authorization header
Returns
Field | Type | Description |
---|---|---|
id | Integer | Unique ID of the form. |
template_version_id | Integer | Version ID of the template used to create form. |
agency_id | Integer | Unique ID of the agency of the form. |
user_id | Integer | Unique ID of the creator of the form. |
name | String | Name of the user template. |
template | Boolean | Name of the form. |
finalised | Boolean | Returns true if form is finalised. |
private | Boolean | returns true if form is private. |
created | Timestamp | Returns Unix timestamp of when form was created. |
updated | Timestamp | Returns Unix timestamp of when form was last updated. |
Example
Request
Response