Batch Integrate CBSs with an External Data Source

post

/api/restapi/cbs/project/syncBatch

Send a request to this endpoint to create or update one or more integrated CBSs. 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

Header Parameters
  • Enabling this boolean flag will fail the request if an error occurs while processing any CBS sheet codes sent as part of the request.
    Allowed Values: [ "true", "false" ]
    Default Value: false
Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityExternallySourcedCBSSheetCodeInput>
Type: array
Title: List<ApiEntityExternallySourcedCBSSheetCodeInput>
Show Source
  • ApiEntityExternallySourcedCBSSheetCodeInput
    Title: ApiEntityExternallySourcedCBSSheetCodeInput
    This entity represents a ExternallySourcedCBSSheetCode object, a unique ExternallySourcedCBSSheetCode object can be identified by the following combinations of the fields.
    • cbsSheetCodeId
    • cbsCode,projectId
    • cbsCode,projectCode,workspaceCode
Nested Schema : ApiEntityExternallySourcedCBSSheetCodeInput
Type: object
Title: ApiEntityExternallySourcedCBSSheetCodeInput
This entity represents a ExternallySourcedCBSSheetCode object, a unique ExternallySourcedCBSSheetCode object can be identified by the following combinations of the fields.
  • cbsSheetCodeId
  • cbsCode,projectId
  • cbsCode,projectCode,workspaceCode
Show Source
Nested Schema : costSheetRow
A CBS sheet row object.
Match All
A CBS sheet row object.
Show Source
Nested Schema : parentCBSCodes
Type: array
List of parent cbs codes in a hierarchy. This field is not populated as part of the API response since it is a write-only field, used only for the create or update APIs.
Show Source
Nested Schema : ApiEntityCBSSheetRowInput
Type: object
Title: ApiEntityCBSSheetRowInput
Show Source
Nested Schema : configuredFields
Type: array
An object containing configured fields in the form of key-value pairs.
Show Source
  • ApiEntityCBSSheetRowConfiguredFieldValueInput
    Title: ApiEntityCBSSheetRowConfiguredFieldValueInput
    This entity represents a CBSSheetRowConfiguredFieldValue object, a unique CBSSheetRowConfiguredFieldValue object can be identified by the following combinations of the fields.
    • costSheetRowConfiguredFieldValueId
    • columnDefinitionId
    • columnName
    • columnLabel
Nested Schema : ApiEntityCBSSheetRowConfiguredFieldValueInput
Type: object
Title: ApiEntityCBSSheetRowConfiguredFieldValueInput
This entity represents a CBSSheetRowConfiguredFieldValue object, a unique CBSSheetRowConfiguredFieldValue object can be identified by the following combinations of the fields.
  • costSheetRowConfiguredFieldValueId
  • columnDefinitionId
  • columnName
  • columnLabel
Show Source
Examples

Back to Top

Response

Supported Media Types

207 Response

The object was successfully integrated.
Body ()
Root Schema : List<ApiEntityERPSyncApiResponse>
Type: array
Title: List<ApiEntityERPSyncApiResponse>
Show Source
Nested Schema : ApiEntityERPSyncApiResponse
Type: object
Title: ApiEntityERPSyncApiResponse
Show Source
  • identifier
    The unique identifier of the supported object returned based on the user input.
    This field can return any of the following entities determined based on the object for which the API call is invoked.
    Example : ProjectIdentifier is returned when Batch Integrate Projects with an External Data Source API is invoked.
  • Message is populated based on result of the operation.
    Success - Message will not be populated. Please refer the statusCode.
    Failure - Error message or reason for operation failure is populated.
    Warning - warning message is populated.
    The field is non-persistable and thus maximum length is not applicable.
  • The primary key field name associated with the integrated object.
    The field is non-persistable and thus maximum length is not applicable.
  • The unique identifier for the integrated object.
  • Maximum Length: 255
    The unique identifier of the object in an external source.
  • The response code representing the state of the API operation.
  • Read Only: true
    Date when the record was last updated.
Nested Schema : identifier
Type: object
The unique identifier of the supported object returned based on the user input.
This field can return any of the following entities determined based on the object for which the API call is invoked.
Example : ProjectIdentifier is returned when Batch Integrate Projects with an External Data Source API is invoked.
Match One Schema
Show Source
Nested Schema : ProjectIdentifier
Type: object
Title: ProjectIdentifier
Show Source
Nested Schema : CBSSheetCodeIdentifier
Type: object
Title: CBSSheetCodeIdentifier
Show Source
Nested Schema : ResourceIdentifier
Type: object
Title: ResourceIdentifier
Show Source

400 Response

Invalid Input.
Back to Top