GET api/smarttask/taskmetas?userId={userId}

GET task metadata, with configured blocks and states

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

List of TaskMeta DTOs

Collection of TaskMeta
NameDescriptionTypeAdditional information
TaskBlocks

Collection of BlockMeta

None.

TaskStateFlow

Collection of TaskStateEnum

None.

ColorHex

string

None.

ViewOrder

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TaskBlocks": [
      {
        "BlockType": 0,
        "ViewOrder": 1
      },
      {
        "BlockType": 0,
        "ViewOrder": 1
      }
    ],
    "TaskStateFlow": [
      0,
      0
    ],
    "ColorHex": "sample string 1",
    "ViewOrder": 2
  },
  {
    "TaskBlocks": [
      {
        "BlockType": 0,
        "ViewOrder": 1
      },
      {
        "BlockType": 0,
        "ViewOrder": 1
      }
    ],
    "TaskStateFlow": [
      0,
      0
    ],
    "ColorHex": "sample string 1",
    "ViewOrder": 2
  }
]

text/html

Sample:
[{"TaskBlocks":[{"BlockType":0,"ViewOrder":1},{"BlockType":0,"ViewOrder":1}],"TaskStateFlow":[0,0],"ColorHex":"sample string 1","ViewOrder":2},{"TaskBlocks":[{"BlockType":0,"ViewOrder":1},{"BlockType":0,"ViewOrder":1}],"TaskStateFlow":[0,0],"ColorHex":"sample string 1","ViewOrder":2}]