Template from a form
Description: To create a template from a form a HTTP POST request is made to the URL with the session token.
Method: POST
URI: /forms/form_id/user-template
URI Parameters
- form_id: The ID of the form
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 template. |
template_version_id | Integer | Unique ID of the template version of the template the template is made from. |
agency_id | Integer | Unique ID of the agency the template belongs to. |
user_id | Integer | Unique ID of the user that created the template |
name | String | Name of the template. |
template | Boolean | Returns true if the template is a template. |
deleted | Boolean | Returns true if the template is deleted. |
finalised | Boolean | Returns true if the template is finalised. |
private | Boolean | Returns true if the template is private. |
created | Timestamp | Returns Unix timestamp of when template was created. |
updated | Timestamp | Returns Unix timestamp of when template was updated. |
Example
Request
Response