![]() ![]() ![]() Below is outlined the export URL for a single Matillion ETL job. The below example exports a Matillion ETL project's job. There are often multiple ways of achieving the same task within the API as resources and methods branch out and overlap. A successful DELETE will return the following message "Success deleted Project: project-name".Click the dropdown menu labelled "2" to select the API method (the action type).Base URL How to make a DELTE requqest in the Postman Workspace We will be using the DELETE method to remove the project within the list. In the example below, we will delete an existing project in the group, named "Example-project". Existence of a new Matillion ETL project named "APIImported" in the JSON body indicates that the POST has run successfully.Users can save their API request to the library. Click the Send button, which is located to the right of the API request field.You can also change other details, such as the the id, variables, and more. Change the project name "APIImported" to any desired name to avoid any conflict with pre-existing projects.Ensure that the code has been copied correctly with paired curly braces and brackets.We recommend making a GET request first to check the JSON format of the request. The API request must have the correct format to ensure that requested data will be created.In this example, the imported body for the POST is a Matillion ETL project named "APIImported".Click the Body tab, and perform the following tasks:.Click the Authorization tab, and enter relevant Matillion credentials.Base URL How to make a POST request in the Postman Workspace Guidance for making this POST request is below. This task will require attaching the project (in JSON form, which is the format it was also exported), into the Body tab as a JSON file to import the project into the target Matillion ETL instance. If a resource of the same name already exists, you must delete the existing resource before importing the new. When importing, there is no "merge" option. In this example, we use the Matillion API v1 to import the above project into a Matillion ETL instance. How to Make a POST Import Request in Postman For instructional guidance, follow the same steps as mentioned in the GET example above. This is another example of a GET API request. ![]() This request is a GET API request to export the selected resource's details and all associated information such as variables, environments, schedules, versions, jobs, and more details alligned with the project. To export the project, provide the project's name and use the /export endpoint. In the example below, we will export a project named "Example-project" from a Matillion ETL project. How to Make a GET Export Request in Postman Summary The presence of this retrieved information indicates that the test has run successfully.
0 Comments
Leave a Reply. |