POST api/Subcontracts/{subcontractId}/Subfamilies/Query
Get all subfamilies from a discipline
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
SubfamilyFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| FamilyId | string |
None. |
|
| DisciplineId | string |
None. |
|
| SubunitId | string |
None. |
|
| UnitId | string |
None. |
|
| BlockId | string |
None. |
|
| FreezePointId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"familyId": "sample string 1",
"disciplineId": "sample string 2",
"subunitId": "sample string 3",
"unitId": "sample string 4",
"blockId": "sample string 5",
"freezePointId": 1
}
text/html
Sample:
{"familyId":"sample string 1","disciplineId":"sample string 2","subunitId":"sample string 3","unitId":"sample string 4","blockId":"sample string 5","freezePointId":1}
application/xml, text/xml
Sample:
<SubfamilyFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.ProjectAgg"> <FreezePointId>1</FreezePointId> <BlockId>sample string 5</BlockId> <UnitId>sample string 4</UnitId> <SubunitId>sample string 3</SubunitId> <DisciplineId>sample string 2</DisciplineId> <FamilyId>sample string 1</FamilyId> </SubfamilyFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfIEnumerableOfEnumDtoOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of EnumDtoOfString |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.