Update Project Funds

put

/api/restapi/funds/project/batch

Send a request to this endpoint to update one or more project funds.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityFundInput>
Type: array
Title: List<ApiEntityFundInput>
Show Source
Nested Schema : ApiEntityFundInput
Type: object
Title: ApiEntityFundInput
Show Source
Nested Schema : codeValuesFund
Type: array
The list of code values for a fund. This entity can only be used to assign codeValues or create codeValues on the fly.
Show Source
  • ApiEntityCodeValueFundInput
    Title: ApiEntityCodeValueFundInput
    This entity represents a CodeValueFund object, a unique CodeValueFund object can be identified by the following combinations of the fields.
    • codeValueFundId
    • codeValueId
    • codeTypeId,codeValueCode
    • codeTypeCode,codeValueCode
    • codeTypeCode,parentId,codeValueCode
    • codeValueCode,codeTypeId,parentId
    • codeTypeCode,codeValueCode,projectCode
    • codeTypeCode,codeValueCode,projectId
    • codeTypeCode,codeValueCode,parentId,projectCode
    • codeTypeCode,codeValueCode,parentId,projectId
Nested Schema : configuredFields
Type: array
The list of configured fields for a fund.
Show Source
  • ApiEntityFundConfiguredFieldValueInput
    Title: ApiEntityFundConfiguredFieldValueInput
    This entity represents a FundConfiguredFieldValue object, a unique FundConfiguredFieldValue object can be identified by the following combinations of the fields.
    • fundConfiguredFieldValueId
    • columnDefinitionId
    • columnName
    • columnLabel
Nested Schema : fundCost
Defines the fund cost of a fund.
Match All
Defines the fund cost of a fund.
Show Source
Nested Schema : spreadRows
Type: array
Defines the spread rows for a fund.
Show Source
Nested Schema : ApiEntityCodeValueFundInput
Type: object
Title: ApiEntityCodeValueFundInput
This entity represents a CodeValueFund object, a unique CodeValueFund object can be identified by the following combinations of the fields.
  • codeValueFundId
  • codeValueId
  • codeTypeId,codeValueCode
  • codeTypeCode,codeValueCode
  • codeTypeCode,parentId,codeValueCode
  • codeValueCode,codeTypeId,parentId
  • codeTypeCode,codeValueCode,projectCode
  • codeTypeCode,codeValueCode,projectId
  • codeTypeCode,codeValueCode,parentId,projectCode
  • codeTypeCode,codeValueCode,parentId,projectId
Show Source
Nested Schema : ApiEntityFundConfiguredFieldValueInput
Type: object
Title: ApiEntityFundConfiguredFieldValueInput
This entity represents a FundConfiguredFieldValue object, a unique FundConfiguredFieldValue object can be identified by the following combinations of the fields.
  • fundConfiguredFieldValueId
  • columnDefinitionId
  • columnName
  • columnLabel
Show Source
  • Allowed Values: [ "DELETE" ]
    Provide value for this field during object update to delete the assigned configured field value.
  • 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.
  • The unique identifier for funds configured field
  • The system-generated identifier for funds
  • 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 : ApiEntityFundCostInput
Type: object
Title: ApiEntityFundCostInput
Show Source
Nested Schema : ApiEntityFundSpreadRowInput
Type: object
Title: ApiEntityFundSpreadRowInput
Show Source
Nested Schema : fundAllocationSpreadRows
Type: array
Defines the spread rows for a fund allocation.
Show Source
Nested Schema : fundSpreadRowCost
Defines the cost associated with the spread rows of the fund.
Match All
Defines the cost associated with the spread rows of the fund.
Show Source
Nested Schema : ApiEntityFundAllocationSpreadRowInput
Type: object
Title: ApiEntityFundAllocationSpreadRowInput
Show Source
Nested Schema : fundAllocationSpreadRowCost
Defines the cost associated with the spread rows of the workspace total item.
Match All
Defines the cost associated with the spread rows of the workspace total item.
Show Source
Nested Schema : ApiEntityFundAllocationSpreadRowCostInput
Type: object
Title: ApiEntityFundAllocationSpreadRowCostInput
Show Source
Nested Schema : ApiEntityFundCostSpreadRowInput
Type: object
Title: ApiEntityFundCostSpreadRowInput
Show Source
Examples

Back to Top

Response

200 Response

A collection of object IDs mapped to a canonical link of the object with corresponding warning messages if any warnings were generated while processing the update request. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"},"warnings":[{"primaryKeyName":"objectIdFieldName","uniqueFieldName":"object_code_01","uniqueFieldValue":"objectCodeFieldName","primaryKeyValue":1,"warningMessages":["warning_message_1","warning_message_2"]}]}

400 Response

Invalid Input.
Back to Top