POST api/Story/CreateStandaloneStory
Create a standalone story
Request Information
URI Parameters
None.
Body Parameters
StandaloneStoryCreateBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
None. |
|
StoryCreation | StoryUpdateInfo |
None. |
|
TaskCreations | Collection of TaskQuickNewInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectId": 1, "StoryCreation": { "StoryTitle": "sample string 1", "Description": "sample string 2", "CurrentStatus": 1, "SubProjectId": 1, "StoryPriority": 1, "StoryPoints": 1, "StoryEstimatedTime": 1, "CurrentOwnerId": 1, "TaskBoardFolderId": 1, "WorkObjective": 1, "PlanedStartDate": "2024-12-21 14:59:22", "PlanedEndDate": "2024-12-21 14:59:22", "StoryType": 1, "WorkType": 1, "ActualStoryPoints": 1 }, "TaskCreations": [ { "ImplementModuleId": 1, "TemplateId": 1, "SubProjectId": 1, "OwnerId": 1, "StatusId": 1, "PriorityValue": 1, "SpecPoints": 1, "EstTotal": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "PlanedStartDate": "2024-12-21 14:59:22", "PlanedEndDate": "2024-12-21 14:59:22", "IssueTypeId": 1 }, { "ImplementModuleId": 1, "TemplateId": 1, "SubProjectId": 1, "OwnerId": 1, "StatusId": 1, "PriorityValue": 1, "SpecPoints": 1, "EstTotal": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "PlanedStartDate": "2024-12-21 14:59:22", "PlanedEndDate": "2024-12-21 14:59:22", "IssueTypeId": 1 } ] }
application/xml, text/xml
Sample:
<StandaloneStoryCreateBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <ProjectId>1</ProjectId> <StoryCreation> <ActualStoryPoints>1</ActualStoryPoints> <CurrentOwnerId>1</CurrentOwnerId> <CurrentStatus>1</CurrentStatus> <Description>sample string 2</Description> <PlanedEndDate>2024-12-21T18:59:22.8368771-08:00</PlanedEndDate> <PlanedStartDate>2024-12-21T18:59:22.8368771-08:00</PlanedStartDate> <StoryEstimatedTime>1</StoryEstimatedTime> <StoryPoints>1</StoryPoints> <StoryPriority>1</StoryPriority> <StoryTitle>sample string 1</StoryTitle> <StoryType>1</StoryType> <SubProjectId>1</SubProjectId> <TaskBoardFolderId>1</TaskBoardFolderId> <WorkObjective>1</WorkObjective> <WorkType>1</WorkType> </StoryCreation> <TaskCreations> <TaskQuickNewInfo> <Description>sample string 4</Description> <EstTotal>sample string 2</EstTotal> <ImplementModuleId>1</ImplementModuleId> <IssueTypeId>1</IssueTypeId> <OwnerId>1</OwnerId> <PlanedEndDate>2024-12-21T18:59:22.8368771-08:00</PlanedEndDate> <PlanedStartDate>2024-12-21T18:59:22.8368771-08:00</PlanedStartDate> <PriorityValue>1</PriorityValue> <SpecPoints>1</SpecPoints> <StatusId>1</StatusId> <SubProjectId>1</SubProjectId> <TemplateId>1</TemplateId> <Title>sample string 3</Title> </TaskQuickNewInfo> <TaskQuickNewInfo> <Description>sample string 4</Description> <EstTotal>sample string 2</EstTotal> <ImplementModuleId>1</ImplementModuleId> <IssueTypeId>1</IssueTypeId> <OwnerId>1</OwnerId> <PlanedEndDate>2024-12-21T18:59:22.8368771-08:00</PlanedEndDate> <PlanedStartDate>2024-12-21T18:59:22.8368771-08:00</PlanedStartDate> <PriorityValue>1</PriorityValue> <SpecPoints>1</SpecPoints> <StatusId>1</StatusId> <SubProjectId>1</SubProjectId> <TemplateId>1</TemplateId> <Title>sample string 3</Title> </TaskQuickNewInfo> </TaskCreations> </StandaloneStoryCreateBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Create a standalone story
API_Data_IEnumerableOfTaskIdObjectExName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of TaskIdObjectEx |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "Id": 1, "Option": 2, "DisplayId": "sample string 3" }, { "Id": 1, "Option": 2, "DisplayId": "sample string 3" } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfTaskIdObjectEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data> <TaskIdObjectEx> <DisplayId>sample string 3</DisplayId> <Id>1</Id> <Option>2</Option> </TaskIdObjectEx> <TaskIdObjectEx> <DisplayId>sample string 3</DisplayId> <Id>1</Id> <Option>2</Option> </TaskIdObjectEx> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfTaskIdObjectEx>