| GET,OPTIONS | /v1/engine/templates |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Templates | form | List<WorkflowTemplateView> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TemplateKey | form | string | No | |
| Name | form | string | No | |
| Pack | form | string | No | |
| Verticals | form | List<string> | No | |
| RefSourceKey | form | string | No | |
| GraphJson | form | string | No | |
| StepCount | form | int | No | |
| Installs | form | int | No | |
| Description | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/engine/templates HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Templates":[{"TemplateKey":"String","Name":"String","Pack":"String","Verticals":["String"],"RefSourceKey":"String","GraphJson":"String","StepCount":0,"Installs":0,"Description":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}