FORMS

Get list of FORMS created in Project

Method:
URL:
https://taglobe.com/api/v1/forms

Example use:
curl -i https://taglobe.com/api/v1/forms?key=API_KEY


Parameter

Field Type Description
key required String Your secret API key
limit Integer The number of rows you request (Default: 1000)
page Integer The page number you request (Default: 1)
type optional String json|xml Type of response format. Default: json

Success 200

Field Type Description
forms Object[] List of FORMs (Array of Objects)
 project_id Integer Project ID
 name String Form name
 identifier String Identificator of the FORM
 added_when Integer Timestamp of Date and Time when the FORM was created
 last_update Integer Timestamp of Date and Time when the FORM was updated
 items Object[] Array of objects of defined items in the FORM

Items

Items contain the objects you defined at Client Side.

The structure of the Item object is:

Field Description
type Type of Item element (@see below)
name Name of Item element
identifier Identifier of Item element
required Boolean flag (if TRUE the element is mandatory to be filled in the TERMINAL form)
position Item element position in the form
enum Array of Strings. (supported only for selectbox type)

Types of Item elements

Type Description
text Element type of textbox (equivalent to html textbox form field)
textarea Element type of textarea (equivalent to html textarea form field)
select Element type of select (equivalent to html select form field). The options of the select are in enum Field of the Item Object.
number Element type of numeric (equivalent to html textbox with type=number)
camera Image element. This type enables the terminal camera and stores the taken photo.

Error Codes

See @Error Codes