Skip to main content

Get Single User Template

Description: To get a list of user templates, a HTTP GET request is made to the URL with the session token.

Method: GET

URI: /user-templates/user_template_id

URI Parameters

  • user_template_id: The ID of the user template

Parameters

  • query: Can be used to retrieve forms with a certain name.

Headers: Authorization: Third party based authorization header

Returns

FieldTypeDescription
FormFormA form object.

Example

Request
curl https://app-api.reiformslive.com.au/user-templates/1 \
--request GET \
--header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ=="
Response
{
{
"id": 1,
"template_version_id": 1,
"agency_id": 1,
"user_id": 1,
"name": "Important form",
"template": false,
"finalised": true,
"private": false,
"created": 1351569329,
"updated": 1351569546,
"template_cost": 50,
"template_instruction_pages": 0,
"template_id": 131,
"template_name": "Agency Template",
"template_orientation": "portrait",
"values": {
"Premises_Postcode": "5000",
"Premises_Address": "123 Example Ave",
"Parties_Principal_Title": "John Doe",
"id": "1",
"Agent_GST_Reg": "Yes",
"Agent_Name": "Example Realty",
"Agent_Licence_No": "000000",
"Agent_ABN_ACN": "00 0000 0000",
"Agent_Address": "1 Example St",
"Agent_Address2": "",
"Agent_Postcode": "5000",
"Agent_Phone_Work": "08 0000 0000",
"Agent_Phone_Mobile": "0000 000 000",
"Agent_Fax": "",
"Agent_Email": "agent@example.com",
"Agent_Trading_As": "Example Realty Realty Ltd Pty"
}
}