GET api/WorkObjective/Get?projectId={projectId}&workObjectiveId={workObjectiveId}

Get work objective by workObjective id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

workObjectiveId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get work objective by workObjective id

API_Data_WorkObjectiveInfo
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

WorkObjectiveInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ProjectBaseID": 1,
    "WorkObjectiveID": 2,
    "Title": "sample string 3",
    "Description": "sample string 4",
    "ParentSubProjectId": 5,
    "ParentSubProjectName": "sample string 6",
    "StateID": 1,
    "StateName": "sample string 7",
    "OwnerID": 1,
    "OwnerName": "sample string 8",
    "PlanedStartDate": "2024-12-21",
    "PlanedEndDate": "2024-12-21",
    "Points": 1,
    "SystemWorkType": 1,
    "WorkType": 1,
    "WorkTypeName": "sample string 9",
    "Achieved": 10,
    "ActualPoints": 11.1,
    "StandardWorkTemplateProjectID": 1,
    "StandardWorkTemplateID": 1
  }
}

application/xml, text/xml

Sample:
<API_Data_WorkObjectiveInfo 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:Achieved>10</d2p1:Achieved>
    <d2p1:ActualPoints>11.1</d2p1:ActualPoints>
    <d2p1:Description>sample string 4</d2p1:Description>
    <d2p1:OwnerID>1</d2p1:OwnerID>
    <d2p1:OwnerName>sample string 8</d2p1:OwnerName>
    <d2p1:ParentSubProjectId>5</d2p1:ParentSubProjectId>
    <d2p1:ParentSubProjectName>sample string 6</d2p1:ParentSubProjectName>
    <d2p1:PlanedEndDate>2024-12-21T18:58:33.5535927-08:00</d2p1:PlanedEndDate>
    <d2p1:PlanedStartDate>2024-12-21T18:58:33.5535927-08:00</d2p1:PlanedStartDate>
    <d2p1:Points>1</d2p1:Points>
    <d2p1:ProjectBaseID>1</d2p1:ProjectBaseID>
    <d2p1:StandardWorkTemplateID>1</d2p1:StandardWorkTemplateID>
    <d2p1:StandardWorkTemplateProjectID>1</d2p1:StandardWorkTemplateProjectID>
    <d2p1:StateID>1</d2p1:StateID>
    <d2p1:StateName>sample string 7</d2p1:StateName>
    <d2p1:SystemWorkType>1</d2p1:SystemWorkType>
    <d2p1:Title>sample string 3</d2p1:Title>
    <d2p1:WorkObjectiveID>2</d2p1:WorkObjectiveID>
    <d2p1:WorkType>1</d2p1:WorkType>
    <d2p1:WorkTypeName>sample string 9</d2p1:WorkTypeName>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_WorkObjectiveInfo>