Skip to main content
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
arunb
Contributor
Contributor

Qlik Replicate using sql dacpac file using Enterprise Manager .NET API

var credentials = new NetworkCredential
{
UserName = "12345",
Password = "Test",
Domain = "Test"
};
var aem_machine_name = "qlikem-test-dev.volvo.net";

bool verify_certificate = false;

var _client = new AemRestClient(credentials,
aem_machine_name,
443,
"attunityenterprisemanager",
verify_certificate);

var replicate_server = "TEST-DEV";
var replicate_task = "VOLVO_TEST_QA";


//I have dacpac file
//I want to Run the dacpac file directly against replicate database

// Is that possible using any API? If not can I use ImportTask
// What is the sample data of JSON ImportTask ?
//Based on sample data we will try to pass the sample TestJSON to ImportTask

_client.ImportTask(TestJSON,replicate_server, replicate_task);

Labels (1)
1 Solution

Accepted Solutions
Shai_E
Support
Support

Hello,

As far as i am aware, we do not have api endpoints on QEM that deal with DACPAC files.

the import task endpoint simply imports a new task into the Replicate server through QEM. 

The first parameter given to this method is the task_export.json, which can be found in any generated diagnostic package of a given task, as a string representation based on the user guide.

I hope this helps.

 

View solution in original post

1 Reply
Shai_E
Support
Support

Hello,

As far as i am aware, we do not have api endpoints on QEM that deal with DACPAC files.

the import task endpoint simply imports a new task into the Replicate server through QEM. 

The first parameter given to this method is the task_export.json, which can be found in any generated diagnostic package of a given task, as a string representation based on the user guide.

I hope this helps.