POST api/WorkObjective/GroupedWorkObjectivesByOwner

Get grouped work objective list by owner

Request Information

URI Parameters

None.

Body Parameters

QueryWorkObjectiveBinder
NameDescriptionTypeAdditional information
ProjectId

integer

None.

SprintId

integer

None.

Condition

WorkObjectiveQueryCondition

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "SprintId": 2,
  "Condition": {
    "WorkObjectiveId": [
      1,
      2
    ],
    "OwnerId": [
      1,
      2
    ]
  }
}

application/xml, text/xml

Sample:
<QueryWorkObjectiveBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <Condition>
    <OwnerId xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </OwnerId>
    <WorkObjectiveId xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </WorkObjectiveId>
  </Condition>
  <ProjectId>1</ProjectId>
  <SprintId>2</SprintId>
</QueryWorkObjectiveBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get grouped work objective list by owner

API_Data_ListOfDataOfOwnerOfListOfWorkObjectiveListItem
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of DataOfOwnerOfListOfWorkObjectiveListItem

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "Owner": {
        "MemberId": {
          "Id": 1,
          "Option": 2
        },
        "MemberName": "sample string 1"
      },
      "Data": [
        {
          "ProjectBaseID": 1,
          "WorkObjectiveID": 2,
          "Title": "sample string 3",
          "ParentSubProjectId": 4,
          "ParentSubProjectName": "sample string 5",
          "StateID": 1,
          "StateName": "sample string 6",
          "OwnerID": 1,
          "OwnerName": "sample string 7",
          "PlanedStartDate": "2020-12-03",
          "PlanedEndDate": "2020-12-03",
          "Points": 1,
          "SystemWorkType": 1,
          "WorkType": 1,
          "WorkTypeName": "sample string 8",
          "ActualPoints": 1,
          "StandardWorkTemplateProjectID": 1,
          "StandardWorkTemplateID": 1
        },
        {
          "ProjectBaseID": 1,
          "WorkObjectiveID": 2,
          "Title": "sample string 3",
          "ParentSubProjectId": 4,
          "ParentSubProjectName": "sample string 5",
          "StateID": 1,
          "StateName": "sample string 6",
          "OwnerID": 1,
          "OwnerName": "sample string 7",
          "PlanedStartDate": "2020-12-03",
          "PlanedEndDate": "2020-12-03",
          "Points": 1,
          "SystemWorkType": 1,
          "WorkType": 1,
          "WorkTypeName": "sample string 8",
          "ActualPoints": 1,
          "StandardWorkTemplateProjectID": 1,
          "StandardWorkTemplateID": 1
        }
      ]
    },
    {
      "Owner": {
        "MemberId": {
          "Id": 1,
          "Option": 2
        },
        "MemberName": "sample string 1"
      },
      "Data": [
        {
          "ProjectBaseID": 1,
          "WorkObjectiveID": 2,
          "Title": "sample string 3",
          "ParentSubProjectId": 4,
          "ParentSubProjectName": "sample string 5",
          "StateID": 1,
          "StateName": "sample string 6",
          "OwnerID": 1,
          "OwnerName": "sample string 7",
          "PlanedStartDate": "2020-12-03",
          "PlanedEndDate": "2020-12-03",
          "Points": 1,
          "SystemWorkType": 1,
          "WorkType": 1,
          "WorkTypeName": "sample string 8",
          "ActualPoints": 1,
          "StandardWorkTemplateProjectID": 1,
          "StandardWorkTemplateID": 1
        },
        {
          "ProjectBaseID": 1,
          "WorkObjectiveID": 2,
          "Title": "sample string 3",
          "ParentSubProjectId": 4,
          "ParentSubProjectName": "sample string 5",
          "StateID": 1,
          "StateName": "sample string 6",
          "OwnerID": 1,
          "OwnerName": "sample string 7",
          "PlanedStartDate": "2020-12-03",
          "PlanedEndDate": "2020-12-03",
          "Points": 1,
          "SystemWorkType": 1,
          "WorkType": 1,
          "WorkTypeName": "sample string 8",
          "ActualPoints": 1,
          "StandardWorkTemplateProjectID": 1,
          "StandardWorkTemplateID": 1
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfDataOfOwnerOfArrayOfWorkObjectiveListItembs1L93vz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data>
    <DataOfOwnerOfArrayOfWorkObjectiveListItembs1L93vz>
      <Data xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:WorkObjectiveListItem>
          <d4p1:ActualPoints>1</d4p1:ActualPoints>
          <d4p1:OwnerID>1</d4p1:OwnerID>
          <d4p1:OwnerName>sample string 7</d4p1:OwnerName>
          <d4p1:ParentSubProjectId>4</d4p1:ParentSubProjectId>
          <d4p1:ParentSubProjectName>sample string 5</d4p1:ParentSubProjectName>
          <d4p1:PlanedEndDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedEndDate>
          <d4p1:PlanedStartDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedStartDate>
          <d4p1:Points>1</d4p1:Points>
          <d4p1:ProjectBaseID>1</d4p1:ProjectBaseID>
          <d4p1:StandardWorkTemplateID>1</d4p1:StandardWorkTemplateID>
          <d4p1:StandardWorkTemplateProjectID>1</d4p1:StandardWorkTemplateProjectID>
          <d4p1:StateID>1</d4p1:StateID>
          <d4p1:StateName>sample string 6</d4p1:StateName>
          <d4p1:SystemWorkType>1</d4p1:SystemWorkType>
          <d4p1:Title>sample string 3</d4p1:Title>
          <d4p1:WorkObjectiveID>2</d4p1:WorkObjectiveID>
          <d4p1:WorkType>1</d4p1:WorkType>
          <d4p1:WorkTypeName>sample string 8</d4p1:WorkTypeName>
        </d4p1:WorkObjectiveListItem>
        <d4p1:WorkObjectiveListItem>
          <d4p1:ActualPoints>1</d4p1:ActualPoints>
          <d4p1:OwnerID>1</d4p1:OwnerID>
          <d4p1:OwnerName>sample string 7</d4p1:OwnerName>
          <d4p1:ParentSubProjectId>4</d4p1:ParentSubProjectId>
          <d4p1:ParentSubProjectName>sample string 5</d4p1:ParentSubProjectName>
          <d4p1:PlanedEndDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedEndDate>
          <d4p1:PlanedStartDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedStartDate>
          <d4p1:Points>1</d4p1:Points>
          <d4p1:ProjectBaseID>1</d4p1:ProjectBaseID>
          <d4p1:StandardWorkTemplateID>1</d4p1:StandardWorkTemplateID>
          <d4p1:StandardWorkTemplateProjectID>1</d4p1:StandardWorkTemplateProjectID>
          <d4p1:StateID>1</d4p1:StateID>
          <d4p1:StateName>sample string 6</d4p1:StateName>
          <d4p1:SystemWorkType>1</d4p1:SystemWorkType>
          <d4p1:Title>sample string 3</d4p1:Title>
          <d4p1:WorkObjectiveID>2</d4p1:WorkObjectiveID>
          <d4p1:WorkType>1</d4p1:WorkType>
          <d4p1:WorkTypeName>sample string 8</d4p1:WorkTypeName>
        </d4p1:WorkObjectiveListItem>
      </Data>
      <Owner>
        <MemberId>
          <Id>1</Id>
          <Option>2</Option>
        </MemberId>
        <MemberName>sample string 1</MemberName>
      </Owner>
    </DataOfOwnerOfArrayOfWorkObjectiveListItembs1L93vz>
    <DataOfOwnerOfArrayOfWorkObjectiveListItembs1L93vz>
      <Data xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
        <d4p1:WorkObjectiveListItem>
          <d4p1:ActualPoints>1</d4p1:ActualPoints>
          <d4p1:OwnerID>1</d4p1:OwnerID>
          <d4p1:OwnerName>sample string 7</d4p1:OwnerName>
          <d4p1:ParentSubProjectId>4</d4p1:ParentSubProjectId>
          <d4p1:ParentSubProjectName>sample string 5</d4p1:ParentSubProjectName>
          <d4p1:PlanedEndDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedEndDate>
          <d4p1:PlanedStartDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedStartDate>
          <d4p1:Points>1</d4p1:Points>
          <d4p1:ProjectBaseID>1</d4p1:ProjectBaseID>
          <d4p1:StandardWorkTemplateID>1</d4p1:StandardWorkTemplateID>
          <d4p1:StandardWorkTemplateProjectID>1</d4p1:StandardWorkTemplateProjectID>
          <d4p1:StateID>1</d4p1:StateID>
          <d4p1:StateName>sample string 6</d4p1:StateName>
          <d4p1:SystemWorkType>1</d4p1:SystemWorkType>
          <d4p1:Title>sample string 3</d4p1:Title>
          <d4p1:WorkObjectiveID>2</d4p1:WorkObjectiveID>
          <d4p1:WorkType>1</d4p1:WorkType>
          <d4p1:WorkTypeName>sample string 8</d4p1:WorkTypeName>
        </d4p1:WorkObjectiveListItem>
        <d4p1:WorkObjectiveListItem>
          <d4p1:ActualPoints>1</d4p1:ActualPoints>
          <d4p1:OwnerID>1</d4p1:OwnerID>
          <d4p1:OwnerName>sample string 7</d4p1:OwnerName>
          <d4p1:ParentSubProjectId>4</d4p1:ParentSubProjectId>
          <d4p1:ParentSubProjectName>sample string 5</d4p1:ParentSubProjectName>
          <d4p1:PlanedEndDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedEndDate>
          <d4p1:PlanedStartDate>2020-12-03T18:43:16.9225432-08:00</d4p1:PlanedStartDate>
          <d4p1:Points>1</d4p1:Points>
          <d4p1:ProjectBaseID>1</d4p1:ProjectBaseID>
          <d4p1:StandardWorkTemplateID>1</d4p1:StandardWorkTemplateID>
          <d4p1:StandardWorkTemplateProjectID>1</d4p1:StandardWorkTemplateProjectID>
          <d4p1:StateID>1</d4p1:StateID>
          <d4p1:StateName>sample string 6</d4p1:StateName>
          <d4p1:SystemWorkType>1</d4p1:SystemWorkType>
          <d4p1:Title>sample string 3</d4p1:Title>
          <d4p1:WorkObjectiveID>2</d4p1:WorkObjectiveID>
          <d4p1:WorkType>1</d4p1:WorkType>
          <d4p1:WorkTypeName>sample string 8</d4p1:WorkTypeName>
        </d4p1:WorkObjectiveListItem>
      </Data>
      <Owner>
        <MemberId>
          <Id>1</Id>
          <Option>2</Option>
        </MemberId>
        <MemberName>sample string 1</MemberName>
      </Owner>
    </DataOfOwnerOfArrayOfWorkObjectiveListItembs1L93vz>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfDataOfOwnerOfArrayOfWorkObjectiveListItembs1L93vz>