POST api/Story/StoryCountBySpec
Get story counts based on spec item
Request Information
URI Parameters
None.
Body Parameters
StoryCountBySpecBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| SpecProjectId | integer |
None. |
|
| SpecItemIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SpecProjectId": 1,
"SpecItemIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<StoryCountBySpecBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
<SpecItemIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SpecItemIds>
<SpecProjectId>1</SpecProjectId>
</StoryCountBySpecBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get story counts based on spec item
API_Data_IEnumerableOfStoryTaskCountBySpec| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of StoryTaskCountBySpec |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"SpecProjectId": 1,
"SpecItemId": 2,
"StoryCount": 3,
"TaskCount": 4
},
{
"SpecProjectId": 1,
"SpecItemId": 2,
"StoryCount": 3,
"TaskCount": 4
}
]
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfStoryTaskCountBySpec 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:StoryTaskCountBySpec>
<d2p1:SpecItemId>2</d2p1:SpecItemId>
<d2p1:SpecProjectId>1</d2p1:SpecProjectId>
<d2p1:StoryCount>3</d2p1:StoryCount>
<d2p1:TaskCount>4</d2p1:TaskCount>
</d2p1:StoryTaskCountBySpec>
<d2p1:StoryTaskCountBySpec>
<d2p1:SpecItemId>2</d2p1:SpecItemId>
<d2p1:SpecProjectId>1</d2p1:SpecProjectId>
<d2p1:StoryCount>3</d2p1:StoryCount>
<d2p1:TaskCount>4</d2p1:TaskCount>
</d2p1:StoryTaskCountBySpec>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfStoryTaskCountBySpec>