• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using the API to Login and Create User

New Here ,
May 06, 2013 May 06, 2013

Copy link to clipboard

Copied

I currently only have the trial for Adobe Connect, but I have seen on another discussion that I should have full API funcionality.  I'm having trouble with logging in as an administrator and creating a user.  My response xml does not match what the documentation says I should be getting.  When I try to log in I get status code="ok", but when I try to create a new user I get status code no-access.  This user however is an Administrator.

Call #1:

https://meetxxxxxxxx.adobeconnect.com/api/xml?domain=meetxxxxxxxx.adobeconnect.com&action=common-inf...

Result:

<?xml version="1.0" encoding="utf-8"?>

<results><status code="ok"/><common locale="en" time-zone-id="85" time-zone-java-id="UTC"><cookie>na8breez8mky3nb7tvvda8tn</cookie><date>2013-05-07T00:35:27.610+00:00</date><host>https://meetxxxxxxxx.adobeconnect.com</host><local-host>pcpna8app04</local-host><admin-host>na8cps.adobeconnect.com</admin-host><url>/api/xml?domain=meetxxxxxxxx.adobeconnect.com&action=common-info</url><version>9.0.4</version><tos-version>7.5</tos-version><product-notification>true</product-notification><account account-id="xxxxxxxxxx"/></common><reg-user><is-reg-user>false</is-reg-user></reg-user></results>

Call #2:

https://meetxxxxxxxx.adobeconnect.com/api/xml?domain=meetxxxxxxxx.adobeconnect.com&session=na8breez8...

Result:

<?xml version="1.0" encoding="utf-8"?>

<results><status code="ok"/></results>

Call #3:

https://meetxxxxxxxx.adobeconnect.com/api/xml?domain=meetxxxxxxxx.adobeconnect.com&session=na8breez8...

Result:

<?xml version="1.0" encoding="utf-8"?>

<results><status code="no-access" subcode="no-login"/></results>

TOPICS
Administration

Views

3.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 07, 2013 May 07, 2013

It looks like you are doing things out of order. You should start with the login call (call #2) and then use the common-info call (call #1) to get your session cookie id. It may be that you are using an invalid session cookie from before you logged in.

Also, you have a lot of extra stuff going on in your calls. You don't need the domain=xxx value. The documentation here (http://help.adobe.com/en_US/connect/9.0/webservices/WS5b3ccc516d4fbf351e63e3d11a171ddf77-7ff5_SP1.html) explains it clearly.

Votes

Translate

Translate
LEGEND ,
May 07, 2013 May 07, 2013

Copy link to clipboard

Copied

It looks like you are doing things out of order. You should start with the login call (call #2) and then use the common-info call (call #1) to get your session cookie id. It may be that you are using an invalid session cookie from before you logged in.

Also, you have a lot of extra stuff going on in your calls. You don't need the domain=xxx value. The documentation here (http://help.adobe.com/en_US/connect/9.0/webservices/WS5b3ccc516d4fbf351e63e3d11a171ddf77-7ff5_SP1.ht...) explains it clearly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 07, 2013 May 07, 2013

Copy link to clipboard

Copied

LATEST

THANK YOU!

From the documentation I thought I needed to do the "Log in to a Adobe Connect hosted account" section.   And also, i tried the "Log in using the session parameter" thinking I don't need to manage the cookie from the response header.  It also didn't help that a customer service rep told me that not all api functions are available to hosted accounts.  (he just emailed me back today saying he misspoke).

I ended up following "Log in with cookie management" and it works!

Thank you again!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines