Bulk Via File Create

Bulk upsert projects from a previously uploaded file.

This endpoint allows you to bulk upsert projects from a previously uploaded file. The file should be a JSONL file containing project data. The endpoint queues an async task to process the file, and so results are not returned immediately. You can check the status of the async request using the async_request endpoint.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
api_file_upload_idstringRequired<=40 characters

The ID of the API file upload containing the projects data in JSONL format. The file upload must have been marked completed and only for the BULK_PROJECT_UPSERT purpose.

actionenumRequired

The action to carry out on the provided project set.

  • PARTIAL_UPDATE - Partial update
  • FULL_UPDATE - Full update
Allowed values:
error_handlingenumOptional

Controls how errors are handled. STRICT will fail the entire request if any error occurs. LENIENT will skip individual errors and process all valid items.

  • STRICT - Stop on first error
  • LENIENT - Skip errors and continue
Allowed values:

Response

async_requestobject
The asynchronous request object. This object represents a request that has been submitted for further background processing.