Batch Integrate Commitments with an External Data Source

post

/primeapi/restapi/commitment/syncBatch

Send a request to this endpoint to create or update one or more integrated commitments. If an object provided in the request body does not exist in the application, an object is created using the request data. Integrated objects can only be modified using the API.

Request

Supported Media Types
Body ()
The unique identifier of company data in an external source.S
Root Schema : List<ApiEntityExternallySourcedCommitment>
Type: array
Title: List<ApiEntityExternallySourcedCommitment>
Show Source
Nested Schema : ApiEntityExternallySourcedCommitment
Type: object
Show Source
Nested Schema : codeValuesCommitment
Type: array
Unique Items Required: true
Show Source
Nested Schema : ApiEntityCommitmentConfiguredFields
Type: object
Show Source
Nested Schema : ApiEntityCommitmentCost
Type: object
Show Source
Nested Schema : ApiEntityCmStatusTransitionData
Type: object
Show Source
Nested Schema : ApiEntityCodeValueCommitment
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
    The date on which the object was last updated. This parameter is not included in POST request responses. Use this parameter filter objects returned from GET requests by a particular modification date.
Nested Schema : costFlexMap
Type: object
Additional Properties Allowed
Show Source
Nested Schema : otherFlexMap
Type: object
Additional Properties Allowed
Show Source
Nested Schema : textFlexMap
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : Cost
Type: object

Response

Supported Media Types

207 Response

Successful Sync Operation.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ApiEntityERPSyncApiResponse
Type: object
Show Source

400 Response

Invalid Input.