FormTemplate

GET /ver2/FormTemplateService.svc/formtemplates/{formtemplateIdOrName}

Get information about form template from enviance system.

** SDK API:** envianceSdk.formtemplates.getFormTemplate (formtemplateIdOrName, onsuccess, onerror)

GET /formtemplates/9ca22677-2670-41a9-bafd-3b2825592863 HTTP/1.1

//RESPONSE
{
    "id": "ecdb1461-3e4d-488b-ae9f-94de6a8fd1c3",
    "name": "Form Template TEST1",
    "description": "Desc",
    "versionId": "784bc71e-a396-456c-b808-01985d0d7f68",
    "version": 1,
    "versionComment": "",
    "udfs": [
        {
            "id": "de137d17-dec2-45da-aef5-f48f2a6a522a",
            "name": "MyField1",
            "type": "Text",
            "valueEntryMethod": "Text",
            "order": 0,
            "scripts": [],
            "validation": [
                {
                    "length": 11,
                    "regEx": "rer",
                    "requiredValidationScope": "SaveStepData",
                    "lengthValidationScope": "Transition",
                    "rangeValidationScope": "None",
                    "regExValidationScope": "SaveStepData"
                }
            ]
        }
    ]
}

envianceSdk.formtemplates.getFormTemplate

[
  "aa9fd53d-e476-420d-9372-4fb5334aa488",
  "onsuccess",
  "onsuccess"
]

envianceSdk.formtemplates.getFormTemplateVersion

[
  "aa9fd53d-e476-420d-9372-4fb5334aa488",
  "102fe594-20eb-4938-96cc-cac8eebd282d",
  "onsuccess",
  "onsuccess"
]

envianceSdk.formtemplates.getFormTemplateVersions

[
  "aa9fd53d-e476-420d-9372-4fb5334aa488",
  "onsuccess",
  "onsuccess"
]

Request

Query parameters

formTemplateIdOrNamestring required

Headers

EnvApi-Systemidstring

Specify specific system to run instead of Home

EnvApi-Packageidstring

(optional) Clients application/package ID

EnvApi-Udf-DateTime-Iso-In-CustomFieldsstring

Udfs of DateTime should use Iso

EnvApi-Udf-DateTime-ReadInUserTzstring

(obsolete) Udfs of DateTime type whould be in ReadInUserTz

EnvApi-Udf-Value-Invariantstring

(optional) Udfs - Force Non-Localized (invariant) values

EnvApi-Localization-Allstring

(optional) Extend objects with User-given Localizations

x-client-request-idstring

(optional) Client ID for double submit prevention

Response

not available

idstring guid
namestring
descriptionstring
versionIdstring guid
versioninteger
versionCommentstring
createdstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.