Create an Assignment

post

/api/restapi/assignment

Send a request to this endpoint to create an assignment. An application object will be created using the JSON data provided in the request body.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : ApiEntityAssignmentInput
Type: object
Title: ApiEntityAssignmentInput
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
List all assignment cost field spread data assigned to the assignment.
Show Source
Nested Schema : configuredFields
Type: array
The list of configured fields for an assignment.
Show Source
  • ApiEntityAssignmentConfiguredFieldValueInput
    Title: ApiEntityAssignmentConfiguredFieldValueInput
    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
The resource's units and costs distributed over the duration of an activity.
Show Source
  • ApiEntityCurveInput
    Title: ApiEntityCurveInput
    This entity represents a Curve object, a unique Curve object can be identified by the following combinations of the fields.
    • curveId
    • curveName,workspaceId
    • curveName,workspaceCode
Nested Schema : ApiEntityAssignmentFinancialInput
Type: object
Title: ApiEntityAssignmentFinancialInput
Show Source
Nested Schema : ApiEntityAssignmentConfiguredFieldValueInput
Type: object
Title: ApiEntityAssignmentConfiguredFieldValueInput
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
  • Allowed Values: [ "DELETE" ]
    Provide value for this field during object update to delete the assigned configured field value.
  • The unique identifier for the Assignment Configured Field.
  • The system-generated identifier of an assignment.
  • Unique identifier of the column. This value should not be provided in create operation request data, however, it is required for update requests.
  • Minimum Length: 1
    Maximum Length: 100
    The user-specified UDF column label.
  • Minimum Length: 1
    Maximum Length: 100
    The user-specified UDF column name.
  • This holds values for Date type configured fields.
  • This holds values for Number, Integer and Cost type configured fields. Input for the cost configured field should be provided in the currency of record. For example project level currency in case of Activity, base currency for Company, workspace currency for Funds and record level currency for Project Actuals etc. configured fields.
  • Maximum Length: 4000
    This holds values for Boolean, List and Text type configured fields.
Nested Schema : ApiEntityCurveInput
Type: object
Title: ApiEntityCurveInput
This entity represents a Curve object, a unique Curve object can be identified by the following combinations of the fields.
  • curveId
  • curveName,workspaceId
  • curveName,workspaceCode
Show Source
Nested Schema : buckets
Type: array
The buckets of a cost curve.
Show Source
Nested Schema : ApiEntityCurveBucketInput
Type: object
Title: ApiEntityCurveBucketInput
Show Source
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityAssignment
Type: object
Title: ApiEntityAssignment
Show Source
Nested Schema : assignmentFinancial
List all assignment cost field spread data assigned to the assignment.
Match All
List all assignment cost field spread data assigned to the assignment.
Show Source
Nested Schema : assignmentManualCurve
List the manual curve for planned and remaining units on the assignment.
Match All
List the manual curve for planned and remaining units on the assignment.
Show Source
Nested Schema : configuredFields
Type: array
The list of configured fields for an assignment.
Show Source
Nested Schema : resourceCurve
The resource's units and costs distributed over the duration of an activity.
Match All
The resource's units and costs distributed over the duration of an activity.
Show Source
Nested Schema : ApiEntityAssignmentFinancial
Type: object
Title: ApiEntityAssignmentFinancial
Show Source
Nested Schema : ApiEntityAssignmentManualCurve
Type: object
Title: ApiEntityAssignmentManualCurve
Show Source
Nested Schema : ApiEntityAssignmentConfiguredFieldValue
Type: object
Title: ApiEntityAssignmentConfiguredFieldValue
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

400 Response

Invalid input for the Assignment service.
Back to Top