POST api/Task/AssignSpec
Assign a spec issue to development
Request Information
URI Parameters
None.
Body Parameters
SpecAssignBinderName | Description | Type | Additional information |
---|---|---|---|
SpecProjectId | integer |
None. |
|
SpecItemId | integer |
None. |
|
AssignToProjectId | integer |
None. |
|
StoryCreation | StoryUpdateInfo |
None. |
|
TaskCreations | Collection of TaskQuickNewInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "SpecProjectId": 1, "SpecItemId": 2, "AssignToProjectId": 3, "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:43:07", "PlanedEndDate": "2024-12-21 14:43:07", "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:43:07", "PlanedEndDate": "2024-12-21 14:43:07", "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:43:07", "PlanedEndDate": "2024-12-21 14:43:07", "IssueTypeId": 1 } ] }
application/xml, text/xml
Sample:
<SpecAssignBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <AssignToProjectId>3</AssignToProjectId> <SpecItemId>2</SpecItemId> <SpecProjectId>1</SpecProjectId> <StoryCreation> <ActualStoryPoints>1</ActualStoryPoints> <CurrentOwnerId>1</CurrentOwnerId> <CurrentStatus>1</CurrentStatus> <Description>sample string 2</Description> <PlanedEndDate>2024-12-21T18:43:07.0603637-08:00</PlanedEndDate> <PlanedStartDate>2024-12-21T18:43:07.0603637-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:43:07.0603637-08:00</PlanedEndDate> <PlanedStartDate>2024-12-21T18:43:07.0603637-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:43:07.0603637-08:00</PlanedEndDate> <PlanedStartDate>2024-12-21T18:43:07.0603637-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> </SpecAssignBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Assign a spec issue to development
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>