Batch Create Portfolios

post

/primeapi/restapi/portfolio/batch

Send a request to this endpoint to create one or more portfolios. An application object will be created for each JSON object provided in the request body.

Request

Supported Media Types
Body ()
A list of portfolio objects.
Root Schema : List<ApiEntityPortfolio>
Type: array
Title: List<ApiEntityPortfolio>
Show Source
Nested Schema : ApiEntityPortfolio
Type: object
Show Source
Nested Schema : ApiEntityPortfolioConfiguredFields
Type: object
Show Source
Nested Schema : codeValuesPortfolio
Type: array
Unique Items Required: true
The categories of a portfolio.
Show Source
Nested Schema : ApiEntityPortfolioImage
Type: object
Show Source
Nested Schema : TimezoneSensitiveDateTime
Type: object
Show Source
Nested Schema : projects
Type: array
The Capital Plan Portfolio service enables you to create, update, view, and delete budget plan portfolios.
Show Source
Nested Schema : costFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing cost fields in the form of key-value pairs.
Nested Schema : otherFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing non-cost, non-text fields in the form of key-value pairs.
Nested Schema : textFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing text fields in the form of key-value pairs.
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : ApiEntityCodeValuePortfolio
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.
Nested Schema : image
Type: array
Show Source
Nested Schema : ApiEntityPortfolioProject
Type: object
Show Source

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ApiEntityPortfolio
Type: object
Show Source
Nested Schema : ApiEntityPortfolioConfiguredFields
Type: object
Show Source
Nested Schema : codeValuesPortfolio
Type: array
Unique Items Required: true
The categories of a portfolio.
Show Source
Nested Schema : ApiEntityPortfolioImage
Type: object
Show Source
Nested Schema : TimezoneSensitiveDateTime
Type: object
Show Source
Nested Schema : projects
Type: array
The Capital Plan Portfolio service enables you to create, update, view, and delete budget plan portfolios.
Show Source
Nested Schema : costFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing cost fields in the form of key-value pairs.
Nested Schema : otherFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing non-cost, non-text fields in the form of key-value pairs.
Nested Schema : textFlexMap
Type: object
Additional Properties Allowed
Show Source
An object containing text fields in the form of key-value pairs.
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : ApiEntityCodeValuePortfolio
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.
Nested Schema : image
Type: array
Show Source
Nested Schema : ApiEntityPortfolioProject
Type: object
Show Source

400 Response

Invalid input for the capital portfolio service.