POST api/Milestones/SubTypes/Query
Get milestone subTypes (optionally filtered by milestone type and section type)
Request Information
URI Parameters
None.
Body Parameters
MilestoneSubtypeFilterDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MilestoneTypeId | integer |
None. |
|
| SectionTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"milestoneTypeId": 1,
"sectionTypeId": 1
}
text/html
Sample:
{"milestoneTypeId":1,"sectionTypeId":1}
application/xml, text/xml
Sample:
<MilestoneSubtypeFilterDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.MilestoneAgg"> <MilestoneTypeId>1</MilestoneTypeId> <SectionTypeId>1</SectionTypeId> </MilestoneSubtypeFilterDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of MilestoneSubtypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MilestoneTypeId | integer |
None. |
|
| MilestoneTypeName | string |
None. |
|
| SectionTypeId | integer |
None. |
|
| SectionTypeName | string |
None. |
|
| Value | integer |
None. |
|
| Text | string |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"milestoneTypeId": 1,
"milestoneTypeName": "sample string 2",
"sectionTypeId": 3,
"sectionTypeName": "sample string 4",
"value": 5,
"text": "sample string 6",
"description": "sample string 7"
},
{
"milestoneTypeId": 1,
"milestoneTypeName": "sample string 2",
"sectionTypeId": 3,
"sectionTypeName": "sample string 4",
"value": 5,
"text": "sample string 6",
"description": "sample string 7"
}
]
text/html
Sample:
[{"milestoneTypeId":1,"milestoneTypeName":"sample string 2","sectionTypeId":3,"sectionTypeName":"sample string 4","value":5,"text":"sample string 6","description":"sample string 7"},{"milestoneTypeId":1,"milestoneTypeName":"sample string 2","sectionTypeId":3,"sectionTypeName":"sample string 4","value":5,"text":"sample string 6","description":"sample string 7"}]
application/xml, text/xml
Sample:
<ArrayOfMilestoneSubtypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.MilestoneAgg">
<MilestoneSubtypeDto>
<Description xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">sample string 7</Description>
<Text xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">sample string 6</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">5</Value>
<MilestoneTypeId>1</MilestoneTypeId>
<MilestoneTypeName>sample string 2</MilestoneTypeName>
<SectionTypeId>3</SectionTypeId>
<SectionTypeName>sample string 4</SectionTypeName>
</MilestoneSubtypeDto>
<MilestoneSubtypeDto>
<Description xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">sample string 7</Description>
<Text xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">sample string 6</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">5</Value>
<MilestoneTypeId>1</MilestoneTypeId>
<MilestoneTypeName>sample string 2</MilestoneTypeName>
<SectionTypeId>3</SectionTypeId>
<SectionTypeName>sample string 4</SectionTypeName>
</MilestoneSubtypeDto>
</ArrayOfMilestoneSubtypeDto>