Returns the work package for the specified project ID and work package code.

get

/primeapi/restapi/v16.2/workPackage/project/{id}/code/{code}

Request

Path Parameters
code
Type: string
Required: true
Code of the Work Package to be found.
id
Type: integer (int64)
Required: true
Project ID of the Work Package.

Response

Supported Media Types
  • application/json
200 Response
successful operation
Body
Root Schema : ApiEntityWorkPackage
Type: object
Nested Schema : Percent
Type: object
Nested Schema : Hour
Type: object
Nested Schema : ApiEntityRuleOfCredit
Type: object
Nested Schema : ApiEntityWorkPackageCost
Type: object
Nested Schema : ApiEntityWorkPackageFlexCost
Type: object
Nested Schema : ApiEntityWorkPackageFlexOther
Type: object
Nested Schema : ApiEntityWorkPackageFlexText
Type: object
Nested Schema : Cost
Type: object
Nested Schema : flexMap
Type: object
Lists all configured cost fields assigned to the Work Package with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type: object
Nested Schema : flexMap
Type: object
Lists all configured date, number, integer fields assigned to the Work Package with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type: object
Nested Schema : flexMap
Type: object
Lists all configured text fields assigned to the Work Package with its corresponding value as a (key,value) pair.
Nested Schema : additionalProperties
Type: object
404 Response
The Work Package do not exist or you do not have access to it.