POST api/SubProject

Get a SubProject info based on SubProject ID

Request Information

URI Parameters

None.

Body Parameters

SubProjectBinder
NameDescriptionTypeAdditional information
ProjectId

integer

None.

SubProjectId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "SubProjectId": 2
}

application/xml, text/xml

Sample:
<SubProjectBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <ProjectId>1</ProjectId>
  <SubProjectId>2</SubProjectId>
</SubProjectBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get a SubProject info based on SubProject ID

API_Data_SubProjectInfoModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

SubProjectInfoModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ProjectId": 1,
    "SubProjectId": 2,
    "ParentId": 3,
    "ParentName": "sample string 4",
    "SubProjectType": 1,
    "SubProjectTypeName": "sample string 5",
    "SubProjectName": "sample string 6",
    "StatusId": 1,
    "StatusName": "sample string 7",
    "IfClosed": true,
    "PrimaryManagerId": 1,
    "PrimaryManagerName": "sample string 9",
    "PriorityId": 1,
    "PriorityName": "sample string 10",
    "PlanStartDate": "2024-12-21 19:05:39",
    "PlanFinishDate": "2024-12-21 19:05:39",
    "SupportReleaseBacklog": 1,
    "DevelopmentMethod": 1,
    "SupportSubReleaseOption": 1,
    "TeamSupportOption": 1,
    "PSTypeId": 1,
    "PSTypeName": "sample string 11",
    "DelayStatus": 1,
    "DelayStatusName": "sample string 12",
    "ProgressDescription": "sample string 13",
    "DelayDays": 1,
    "DelayReason": "sample string 14",
    "CustomFieldValues": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Value": "sample string 3",
        "ChoiceId": {}
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Value": "sample string 3",
        "ChoiceId": {}
      }
    ],
    "TeamMembers": [
      {
        "MemberId": {
          "Id": 1,
          "Option": 2
        },
        "MemberName": "sample string 1"
      },
      {
        "MemberId": {
          "Id": 1,
          "Option": 2
        },
        "MemberName": "sample string 1"
      }
    ],
    "ProjectHierarchyId": 1,
    "ProjectHierarchyPath": "sample string 15"
  }
}

application/xml, text/xml

Sample:
<API_Data_SubProjectInfoModel 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:CustomFieldValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Task">
      <d3p1:TFieldValue>
        <d3p1:ChoiceId />
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Value>sample string 3</d3p1:Value>
      </d3p1:TFieldValue>
      <d3p1:TFieldValue>
        <d3p1:ChoiceId />
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Value>sample string 3</d3p1:Value>
      </d3p1:TFieldValue>
    </d2p1:CustomFieldValues>
    <d2p1:DelayDays>1</d2p1:DelayDays>
    <d2p1:DelayReason>sample string 14</d2p1:DelayReason>
    <d2p1:DelayStatus>1</d2p1:DelayStatus>
    <d2p1:DelayStatusName>sample string 12</d2p1:DelayStatusName>
    <d2p1:DevelopmentMethod>1</d2p1:DevelopmentMethod>
    <d2p1:IfClosed>true</d2p1:IfClosed>
    <d2p1:PSTypeId>1</d2p1:PSTypeId>
    <d2p1:PSTypeName>sample string 11</d2p1:PSTypeName>
    <d2p1:ParentId>3</d2p1:ParentId>
    <d2p1:ParentName>sample string 4</d2p1:ParentName>
    <d2p1:PlanFinishDate>2024-12-21T19:05:39.4011316-08:00</d2p1:PlanFinishDate>
    <d2p1:PlanStartDate>2024-12-21T19:05:39.4011316-08:00</d2p1:PlanStartDate>
    <d2p1:PrimaryManagerId>1</d2p1:PrimaryManagerId>
    <d2p1:PrimaryManagerName>sample string 9</d2p1:PrimaryManagerName>
    <d2p1:PriorityId>1</d2p1:PriorityId>
    <d2p1:PriorityName>sample string 10</d2p1:PriorityName>
    <d2p1:ProgressDescription>sample string 13</d2p1:ProgressDescription>
    <d2p1:ProjectHierarchyId>1</d2p1:ProjectHierarchyId>
    <d2p1:ProjectHierarchyPath>sample string 15</d2p1:ProjectHierarchyPath>
    <d2p1:ProjectId>1</d2p1:ProjectId>
    <d2p1:StatusChoices i:nil="true" />
    <d2p1:StatusId>1</d2p1:StatusId>
    <d2p1:StatusName>sample string 7</d2p1:StatusName>
    <d2p1:SubProjectId>2</d2p1:SubProjectId>
    <d2p1:SubProjectName>sample string 6</d2p1:SubProjectName>
    <d2p1:SubProjectType>1</d2p1:SubProjectType>
    <d2p1:SubProjectTypeName>sample string 5</d2p1:SubProjectTypeName>
    <d2p1:SupportReleaseBacklog>1</d2p1:SupportReleaseBacklog>
    <d2p1:SupportSubReleaseOption>1</d2p1:SupportSubReleaseOption>
    <d2p1:TeamMembers>
      <MemberObject>
        <MemberId>
          <Id>1</Id>
          <Option>2</Option>
        </MemberId>
        <MemberName>sample string 1</MemberName>
      </MemberObject>
      <MemberObject>
        <MemberId>
          <Id>1</Id>
          <Option>2</Option>
        </MemberId>
        <MemberName>sample string 1</MemberName>
      </MemberObject>
    </d2p1:TeamMembers>
    <d2p1:TeamSupportOption>1</d2p1:TeamSupportOption>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_SubProjectInfoModel>