GET api/Story/Get?projectId={projectId}&storyId={storyId}

Get story info based on story item id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

project id

integer

Required

storyId

story item id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get story info based on story item id

API_Data_StoryInfoModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

StoryInfoModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "StoryItemId": 1,
    "DisplayId": "sample string 2",
    "ParentSubProjectID": 3,
    "ImplementionCopyNo": 4,
    "LinkedSpecItemID": 5,
    "LinkedSpecProjectID": 6,
    "LinkedSpecTitle": "sample string 7",
    "StoryTitle": "sample string 8",
    "StoryPriority": 1,
    "StoryPoints": 1,
    "StoryEstimatedTime": 1,
    "CurrentOwnerID": 1,
    "CurrentOwnerName": "sample string 9",
    "CurrentStatus": 1,
    "CurrentStatusName": "sample string 10",
    "IfCreatedFromSpec": true,
    "IfInBacklogFolder": true,
    "IfStandaloneStory": true,
    "PlanedStartDate": "2020-12-04 09:52:59",
    "PlanedEndDate": "2020-12-04 09:52:59",
    "TaskBoardFolderID": 1,
    "TaskBoardFolderName": "sample string 14",
    "Description": "sample string 15",
    "StoryType": 16,
    "WorkType": 1,
    "ActualStoryPoints": 1,
    "WorkObjective": 1,
    "WorkObjectiveName": "sample string 17"
  }
}

application/xml, text/xml

Sample:
<API_Data_StoryInfoModel 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:ActualStoryPoints>1</d2p1:ActualStoryPoints>
    <d2p1:CurrentOwnerID>1</d2p1:CurrentOwnerID>
    <d2p1:CurrentOwnerName>sample string 9</d2p1:CurrentOwnerName>
    <d2p1:CurrentStatus>1</d2p1:CurrentStatus>
    <d2p1:CurrentStatusName>sample string 10</d2p1:CurrentStatusName>
    <d2p1:Description>sample string 15</d2p1:Description>
    <d2p1:DisplayId>sample string 2</d2p1:DisplayId>
    <d2p1:IfCreatedFromSpec>true</d2p1:IfCreatedFromSpec>
    <d2p1:IfInBacklogFolder>true</d2p1:IfInBacklogFolder>
    <d2p1:IfStandaloneStory>true</d2p1:IfStandaloneStory>
    <d2p1:ImplementionCopyNo>4</d2p1:ImplementionCopyNo>
    <d2p1:LinkedSpecItemID>5</d2p1:LinkedSpecItemID>
    <d2p1:LinkedSpecProjectID>6</d2p1:LinkedSpecProjectID>
    <d2p1:LinkedSpecTitle>sample string 7</d2p1:LinkedSpecTitle>
    <d2p1:ParentSubProjectID>3</d2p1:ParentSubProjectID>
    <d2p1:PlanedEndDate>2020-12-04T09:52:59.6173117-08:00</d2p1:PlanedEndDate>
    <d2p1:PlanedStartDate>2020-12-04T09:52:59.6173117-08:00</d2p1:PlanedStartDate>
    <d2p1:StoryEstimatedTime>1</d2p1:StoryEstimatedTime>
    <d2p1:StoryItemId>1</d2p1:StoryItemId>
    <d2p1:StoryPoints>1</d2p1:StoryPoints>
    <d2p1:StoryPriority>1</d2p1:StoryPriority>
    <d2p1:StoryTitle>sample string 8</d2p1:StoryTitle>
    <d2p1:StoryType>16</d2p1:StoryType>
    <d2p1:TaskBoardFolderID>1</d2p1:TaskBoardFolderID>
    <d2p1:TaskBoardFolderName>sample string 14</d2p1:TaskBoardFolderName>
    <d2p1:WorkObjective>1</d2p1:WorkObjective>
    <d2p1:WorkObjectiveName>sample string 17</d2p1:WorkObjectiveName>
    <d2p1:WorkType>1</d2p1:WorkType>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_StoryInfoModel>