Batch Update Resources or Roles

put

/primeapi/restapi/resource/batch

Send a request to this endpoint to update one or more resources.

Request

Supported Media Types
Body ()
A resource object.
Root Schema : List<ApiEntityResource>
Type: array
Title: List<ApiEntityResource>
Show Source
Nested Schema : ApiEntityResource
Type: object
Show Source
Nested Schema : codeValuesResource
Type: array
Unique Items Required: true
An array of code values for this resource object.
Show Source
Nested Schema : Unit
Type: object
Nested Schema : ApiEntityCodeValueResource
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.