Importing Project Data Using the REST API
Use the following instructions to import project data by explicitly executing a cURL command that calls the Import Project Data REST API. (Alternatively, you can invoke this API using an API client such as Postman. See Importing Project Data Using the Postman API Client.)
Note:When you use the Import Project Data REST API, the import does not run as a background job as it does when executed through the UI.
To run an import, do the following:
|
2.
|
Set up a cURL command to invoke the Import Project Data REST API (import endpoint). You choose one of these methods in which to execute the command: |
When the import is complete, a status message with OK will appear in the command prompt window. If the import is not successful, a status code and error message is displayed.