| Requires any of the roles: | Admin, TenantAdmin, TaskAdmin |
| GET | /tasklist/task/template | Gets a task template in a task list template. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TaskTemplateId | form | string | Yes | Task template ID |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Version | form | integer | No | Api version |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | TaskTemplateView | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | No | |
| Description | form | string | No | |
| CompleteWithTag | form | bool | No | |
| NfcCode | form | string | No | |
| TaskType | form | TaskType | No | |
| Order | form | long? | No | |
| TaskListTemplateId | form | Guid | No |
| Name | Value |
|---|---|
| Standard | 0 |
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 /tasklist/task/template HTTP/1.1 Host: api.4spaces.io Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"data":{"id":"00000000000000000000000000000000","name":"String","description":"String","completeWithTag":false,"nfcCode":"String","taskType":0,"order":0,"taskListTemplateId":"00000000000000000000000000000000"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}