POST api/storyboard/moveTasks

Move tasks to a cell in Story board, update the moved tasks with the cell's value and reorder tasks in the cell

Request Information

URI Parameters

None.

Body Parameters

StoryBoardMoveTasksBinder
NameDescriptionTypeAdditional information
ProjectId

integer

None.

SubProjectId

integer

None.

MovedItemIds

Collection of TaskItemIdObject

None.

CellValues

Collection of FieldValueBinder

None.

ItemIdsInCell

Collection of TaskItemIdObject

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "SubProjectId": 2,
  "MovedItemIds": [
    {
      "Id": 1,
      "Option": 2
    },
    {
      "Id": 1,
      "Option": 2
    }
  ],
  "CellValues": [
    {
      "FieldId": 1,
      "Option": 1,
      "FieldValue": {}
    },
    {
      "FieldId": 1,
      "Option": 1,
      "FieldValue": {}
    }
  ],
  "ItemIdsInCell": [
    {
      "Id": 1,
      "Option": 2
    },
    {
      "Id": 1,
      "Option": 2
    }
  ]
}

application/xml, text/xml

Sample:
<StoryBoardMoveTasksBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <CellValues>
    <FieldValueBinder>
      <FieldId>1</FieldId>
      <FieldValue />
      <Option>1</Option>
    </FieldValueBinder>
    <FieldValueBinder>
      <FieldId>1</FieldId>
      <FieldValue />
      <Option>1</Option>
    </FieldValueBinder>
  </CellValues>
  <ItemIdsInCell xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
    <d2p1:TaskItemIdObject>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Option>2</d2p1:Option>
    </d2p1:TaskItemIdObject>
    <d2p1:TaskItemIdObject>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Option>2</d2p1:Option>
    </d2p1:TaskItemIdObject>
  </ItemIdsInCell>
  <MovedItemIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
    <d2p1:TaskItemIdObject>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Option>2</d2p1:Option>
    </d2p1:TaskItemIdObject>
    <d2p1:TaskItemIdObject>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Option>2</d2p1:Option>
    </d2p1:TaskItemIdObject>
  </MovedItemIds>
  <ProjectId>1</ProjectId>
  <SubProjectId>2</SubProjectId>
</StoryBoardMoveTasksBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Move tasks to a cell in Story board, update the moved tasks with the cell's value and reorder tasks in the cell

API_Data_IEnumerableOfTaskMoveResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of TaskMoveResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "Id": 1,
      "Option": 2,
      "StoryDisplayId": "sample string 3",
      "IfClosed": 4,
      "DelayStatus": {
        "DelayStatus": 1,
        "ActualDates": {
          "StartDate": "2024-12-21 19:13:59",
          "EndDate": "2024-12-21 19:13:59"
        },
        "PlannedDates": {
          "StartDate": "2024-12-21 19:13:59",
          "EndDate": "2024-12-21 19:13:59"
        }
      },
      "Success": true,
      "Reason": "sample string 6"
    },
    {
      "Id": 1,
      "Option": 2,
      "StoryDisplayId": "sample string 3",
      "IfClosed": 4,
      "DelayStatus": {
        "DelayStatus": 1,
        "ActualDates": {
          "StartDate": "2024-12-21 19:13:59",
          "EndDate": "2024-12-21 19:13:59"
        },
        "PlannedDates": {
          "StartDate": "2024-12-21 19:13:59",
          "EndDate": "2024-12-21 19:13:59"
        }
      },
      "Success": true,
      "Reason": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfTaskMoveResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
    <d2p1:TaskMoveResult>
      <d2p1:Reason>sample string 6</d2p1:Reason>
      <d2p1:Success>true</d2p1:Success>
      <d2p1:DelayStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Task">
        <d4p1:ActualDates>
          <EndDate>2024-12-21T19:13:59.7030685-08:00</EndDate>
          <StartDate>2024-12-21T19:13:59.7030685-08:00</StartDate>
        </d4p1:ActualDates>
        <d4p1:DelayStatus>1</d4p1:DelayStatus>
        <d4p1:PlannedDates>
          <EndDate>2024-12-21T19:13:59.7030685-08:00</EndDate>
          <StartDate>2024-12-21T19:13:59.7030685-08:00</StartDate>
        </d4p1:PlannedDates>
      </d2p1:DelayStatus>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IfClosed>4</d2p1:IfClosed>
      <d2p1:Option>2</d2p1:Option>
      <d2p1:StoryDisplayId>sample string 3</d2p1:StoryDisplayId>
    </d2p1:TaskMoveResult>
    <d2p1:TaskMoveResult>
      <d2p1:Reason>sample string 6</d2p1:Reason>
      <d2p1:Success>true</d2p1:Success>
      <d2p1:DelayStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Task">
        <d4p1:ActualDates>
          <EndDate>2024-12-21T19:13:59.7030685-08:00</EndDate>
          <StartDate>2024-12-21T19:13:59.7030685-08:00</StartDate>
        </d4p1:ActualDates>
        <d4p1:DelayStatus>1</d4p1:DelayStatus>
        <d4p1:PlannedDates>
          <EndDate>2024-12-21T19:13:59.7030685-08:00</EndDate>
          <StartDate>2024-12-21T19:13:59.7030685-08:00</StartDate>
        </d4p1:PlannedDates>
      </d2p1:DelayStatus>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IfClosed>4</d2p1:IfClosed>
      <d2p1:Option>2</d2p1:Option>
      <d2p1:StoryDisplayId>sample string 3</d2p1:StoryDisplayId>
    </d2p1:TaskMoveResult>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfTaskMoveResult>