| GET | /v1/forms/{FormUID}/automations |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | path | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Rules | form | List<FormAutomationRule> | No | |
| Starters | form | List<FormAutomationStarter> | No | |
| Mapping | form | List<FormMappingRow> | No | |
| MapSummary | form | string | No | |
| CanAdd | form | bool | No | |
| AddRefusal | form | string | No | |
| CanToggle | form | bool | No | |
| CanRemove | form | bool | No | |
| CanOpenEngine | form | bool | No | |
| ReservedKeys | form | List<string> | No | |
| TestableFields | form | List<string> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| WorkflowId | form | int | No | |
| Name | form | string | No | |
| Sentence | form | string | No | |
| State | form | string | No | |
| StateText | form | string | No | |
| Numbers | form | string | No | |
| Warn | form | string | No | |
| AnyApplication | form | bool | No | |
| AlsoOthers | form | bool | No | |
| SharedText | form | string | No | |
| FromStarter | form | bool | No | |
| EngineLink | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Key | form | string | No | |
| Name | form | string | No | |
| Text | form | string | No | |
| Added | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Field | form | string | No | |
| FieldKey | form | string | No | |
| Target | form | string | No | |
| Tone | form | string | No | |
| Note | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/forms/{FormUID}/automations HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Rules:
[
{
WorkflowId: 0,
Name: String,
Sentence: String,
State: String,
StateText: String,
Numbers: String,
Warn: String,
AnyApplication: False,
AlsoOthers: False,
SharedText: String,
FromStarter: False,
EngineLink: String
}
],
Starters:
[
{
Key: String,
Name: String,
Text: String,
Added: False
}
],
Mapping:
[
{
Field: String,
FieldKey: String,
Target: String,
Tone: String,
Note: String
}
],
MapSummary: String,
CanAdd: False,
AddRefusal: String,
CanToggle: False,
CanRemove: False,
CanOpenEngine: False,
ReservedKeys:
[
String
],
TestableFields:
[
String
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}