Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Import App(.qvf) using QRS API

Hi,

Can anyone please share any sample code for Import app api .

This is the error i am facing it :

" Missing parameter value(s) "

The command that i used is (i have masked my server ip address and port)

POST : http://myserveripport/

I have used postman tool to test.

Thanks for your support

3 Replies
Not applicable
Author

I have missed out the details , they are below :


POST :

URL :    http://myserverip:port/my_virtualproxy/qrs/app/import?Xrfkey=ABCDEFG123456789&name=testsales_data&pa...

The Parameters are :

x-Qlik-Xrfkey :  ABCDEFG123456789

Content-Type : application/json

X-Qlik-Session-ticket: UserDirectory=mydirectory;UserId=myuserid

body = "{

            'id':'',

            'columns':

                [

                    {

                        'name':'testsales_data.qvf',

                    }

                ]

        }"

I have used Postman tool to test this .

it always throws exception as : Missing Parameter values

Please suggest me any solutions for this.

Thanks.

s29124141
Partner - Creator II
Partner - Creator II

You need change the Request Body as "form-data" and browse the file you want to import as shown below.

HTTP Method : POST 

Note the Endpoint :-    /qrs/app/upload?name={name}&keepdata={keepdata}&privileges={appendprivileges}&excludeconnections={excludeconnections}

postman.jpg

s29124141
Partner - Creator II
Partner - Creator II

Please mark the reply as "Correct Answer" if this has solved your issue, as it helps community users to look into un-solved issues.