Batch Update Activities

put

/primeapi/restapi/activity/batch

Send a request to this endpoint to update one or more activities. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.

Request

Supported Media Types
Body ()
One or more activity objects.
Root Schema : List<ApiEntityActivity>
Type: array
Title: List<ApiEntityActivity>
Show Source
Nested Schema : ApiEntityActivity
Type: object
Show Source
Nested Schema : Unit
Type: object
Nested Schema : ApiEntityActivityConfiguredFields
Type: object
Show Source
Nested Schema : ApiEntityActivityFinancial
Type: object
Show Source
Nested Schema : Percent
Type: object
Show Source
Nested Schema : activitySettings
Type: array
Unique Items Required: true
An object containing the settings applied to an activity.
Show Source
Nested Schema : activityUncertainties
Type: array
Unique Items Required: true
The uncertainties associated with an activity.
Show Source
Nested Schema : Duration
Type: object
Show Source
Nested Schema : codeValuesActivity
Type: array
Unique Items Required: true
The categories applied to an activity.
Show Source
Nested Schema : costFlexMap
Type: object
Additional Properties Allowed
Show Source
The cost fields associated with an activity.
Nested Schema : otherFlexMap
Type: object
Additional Properties Allowed
Show Source
The cost fields associated with an activity.
Nested Schema : textFlexMap
Type: object
Additional Properties Allowed
Show Source
The cost fields associated with an activity.
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : Cost
Type: object
Nested Schema : ApiEntityActivitySetting
Type: object
Show Source
Nested Schema : ApiEntityActivityUncertainty
Type: object
Show Source
Nested Schema : ApiEntityCodeValueActivity
Type: object
Show Source
Nested Schema : ApiEntityCodeType
Type: object
Show Source
Nested Schema : ApiEntityCodeValue
Type: object
Show Source
Nested Schema : assignments
Type: array
Unique Items Required: true
CodeType assignments.
Show Source
Nested Schema : ApiEntityCodeEntityType
Type: object
Show Source
  • ApiEntityCodeType
  • Allowed Values: [ "SCOPE_ITEM", "PROJECT", "SCOPE_ASSIGNMENT", "WBS", "WORK_PACKAGE", "ACTIVITY", "RESOURCE", "PBS", "CONTRACT", "RISK", "COMMITMENT", "REPORT", "TASKS", "STRATEGY", "PORTFOLIO", "FUND", "SUBMITTAL", "CHANGE_ORDER", "PAYMENT_APPLICATION", "CHANGE_EVENT", "CHANGES_ESTIMATES", "IDEA", "RFI", "CUSTOM_LOG_ITEM" ]
    Indicates the type of object the code is associated to.
  • The unique identifier of a code type table.
  • Read Only: true
    Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.

Response

Supported Media Types

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://:/primeapi/restapi//1","2":"https://:/primeapi/restapi//2"}}

400 Response

Invalid input for the Activity service. Verify the request contains valid data, then resubmit the request.