| GET | /FormDirect/GetPredefinedFormFields/{FormReference} | Gets predefined fields for a single form | Gets a single form. Returns a collection of signers required for signing the forms. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormReference | path | string | Yes | Form reference |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Fields | form | List<FormField> | No | |
| LastUpdateTime | form | string | No | Date of last update |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FieldName | form | string | No | |
| DisplayName | form | string | No | |
| FieldType | form | HTMLElementType | No | |
| FiledValue | form | string | No | |
| ValueOptions | form | List<string> | No | |
| ClientField | form | string | No | |
| ClientMapping | form | int | No |
| Name | Value | |
|---|---|---|
| Text | 0 | |
| MultiLineText | 1 | |
| CheckBox | 3 | |
| RadioButton | 4 | |
| DropDownList | 5 | |
| DateInput | 6 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /FormDirect/GetPredefinedFormFields/{FormReference} HTTP/1.1
Host: api.securedsigning.com
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Fields":[{"FieldName":"String","DisplayName":"String","FieldType":"Text","FiledValue":"String","ValueOptions":["String"],"ClientField":"String","ClientMapping":0}],"LastUpdateTime":"String"}