View Assignments by Code

get

/api/restapi/assignment/code/{assignmentCode}

This endpoint returns assignments that meet the following requirements:
  • The object has a code that matches the value of the {assignmentCode} path parameter.
Assignments represent the allocation of project or workspace resources to project activities.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : List<ApiEntityAssignment>
Type: array
Title: List<ApiEntityAssignment>
Show Source
  • ApiEntityAssignment
    Title: ApiEntityAssignment
    This entity represents a Assignment object, a unique Assignment object can be identified by the following combinations of the fields.
    • assignmentId
    • activityId,resourceId,assignmentCode
    • activityCode,projectCode,workspaceCode,resourceId,assignmentCode
    • activityId,workspaceCode,resourceCode,resourceClass,assignmentCode
    • activityCode,projectCode,workspaceCode,resourceCode,resourceClass,assignmentCode
Nested Schema : ApiEntityAssignment
Type: object
Title: ApiEntityAssignment
This entity represents a Assignment object, a unique Assignment object can be identified by the following combinations of the fields.
  • assignmentId
  • activityId,resourceId,assignmentCode
  • activityCode,projectCode,workspaceCode,resourceId,assignmentCode
  • activityId,workspaceCode,resourceCode,resourceClass,assignmentCode
  • activityCode,projectCode,workspaceCode,resourceCode,resourceClass,assignmentCode
Show Source
Nested Schema : assignmentFinancial
List all assignment cost field spread data assigned to the assignment.
Match All
Show Source
Nested Schema : configuredFields
Type: array
The list of configured fields for an assignment.
Show Source
  • ApiEntityAssignmentConfiguredFieldValue
    Title: ApiEntityAssignmentConfiguredFieldValue
    This entity represents a AssignmentConfiguredFieldValue object, a unique AssignmentConfiguredFieldValue object can be identified by the following combinations of the fields.
    • assignmentConfiguredFieldValueId
    • columnDefinitionId
    • columnName
    • columnLabel
Nested Schema : resourceCurve
The resource's units and costs distributed over the duration of an activity.
Match All
Show Source
Nested Schema : ApiEntityAssignmentFinancial
Type: object
Title: ApiEntityAssignmentFinancial
Show Source
  • The system-generated identifier of an activity.
  • The actual cost for the resource assignment on the activity. This field is in base currency and is calculated from actualCostProject field based on the specified exchange rate.
  • The actual cost for the resource assignment on the activity. This value is based on the project currency.
  • The labor, nonlabor, and material costs incurred during the current financial period. This field is in base currency and is calculated from actualThisPeriodCostProject field based on the specified exchange rate.
  • The labor, nonlabor, and material costs incurred during the current financial period. This value is based on the project currency.
  • The unique identifier for the assignment.
  • The unique identifier for the assignment.
  • The sum of the actual costs plus remaining costs for the resource assignment on the activity. This field is in base currency and is calculated from atCompletionCostProject field based on the specified exchange rate.
  • The sum of the actual costs plus remaining costs for the resource assignment on the activity. This value is based on the project currency.
  • Read Only: true
    The remaining cost for resource assignments that have a filled role. This field is in base currency and is calculated from earnedValueCostProject field based on the specified exchange rate.
  • Read Only: true
    The approved budget for work actually completed by the specified project data date. This value is based on the project currency.
  • The expected total cost of the item, such as an assignment, expense, or response plan. This field is in base currency and is calculated from plannedCostProject field based on the specified exchange rate.
  • The expected total cost of the item, such as an assignment, expense, or response plan. This value is based on the project currency.
  • Read Only: true
    The amount of approved capital spent on a scheduled portion of work on a project. This field is in base currency and is calculated from plannedValueCostProject field based on the specified exchange rate.
  • Read Only: true
    The amount of approved capital spent on a scheduled portion of work on a project. This value is based on the project currency.
  • Minimum Value: 0
    The price per unit of time for the resource or role. This field is in base currency and is calculated from pricePerUnitProject field based on the specified exchange rate.
  • Minimum Value: 0
    The price per unit of time for the resource or role. This value is based on the project currency.
  • Read Only: true
    The total actual costs incurred at the time of the last stored period performance. This field is in base currency and is calculated from priorActualCostProject field based on the specified exchange rate.
  • Read Only: true
    The total actual costs incurred at the time of the last stored period performance. This value is based on the project currency.
  • The system-generated identifier of a project.
  • The remaining cost for the activity resource assignment. Calculated as Remaining Units multiplied by Cost/Time. This field is in base currency and is calculated from remainingCostProject field based on the specified exchange rate.
  • The remaining cost for the resource assignment on the activity. This value is based on the project currency.
  • The system-generated identifier of a resource.
  • Read Only: true
    The remaining cost for resource assignments that have a filled role. This field is in base currency and is calculated from staffedRemainingCostProject field based on the specified exchange rate.
  • Read Only: true
    The remaining cost for resource assignments that have a filled role. This value is based on the project currency.
  • Read Only: true
    The remaining cost for resource assignments that do not have a filled role. This field is in base currency and is calculated from unstaffedRemainingCostProject field based on the specified exchange rate.
  • Read Only: true
    The remaining cost for resource assignments that do not have a filled role. This value is based on the project currency.
  • Read Only: true
    Date when the record was last updated.
Nested Schema : ApiEntityAssignmentConfiguredFieldValue
Type: object
Title: ApiEntityAssignmentConfiguredFieldValue
This entity represents a AssignmentConfiguredFieldValue object, a unique AssignmentConfiguredFieldValue object can be identified by the following combinations of the fields.
  • assignmentConfiguredFieldValueId
  • columnDefinitionId
  • columnName
  • columnLabel
Show Source
Nested Schema : ApiEntityCurve
Type: object
Title: ApiEntityCurve
Show Source
Nested Schema : buckets
Type: array
The buckets of a cost curve.
Show Source
Nested Schema : ApiEntityCurveBucket
Type: object
Title: ApiEntityCurveBucket
Show Source

204 Response

Successful operation with no content.

404 Response

The requested assignment does not exist, or you do not have access to it.
Back to Top