Using the API to Login and Create User


i have trial adobe connect, have seen on discussion should have full api funcionality.  i'm having trouble logging in administrator , creating user.  response xml not match documentation says should getting.  when try log in status code="ok", when try create new user status code no-access.  user administrator.

 

call #1:

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

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:2 7.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&amp;action=common-info</url><version>9 .0.4</version><tos-version>7.5</tos-version><product-notification>true</product-notificati on><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 =na8breez8mky3nb7tvvda8tn&action=login&login=admin%40test.com&password=mypw123

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 =na8breez8mky3nb7tvvda8tn&action=principal-update&first-name=newuser&last-name=-&login=new user%test.com&password=test1234&type=user&send-email=false&has-children=0&email=newuser%te st.com

result:

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

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

it looks doing things out of order. should start login call (call #2) , use common-info call (call #1) session cookie id. may using invalid session cookie before logged in.

 

also, have lot of stuff going on in calls. don't need domain=xxx value. documentation here (http://help.adobe.com/en_us/connect/9.0/webservices/ws5b3ccc516d4fbf351e63e3d11a171ddf77-7 ff5_sp1.html) explains clearly.



More discussions in Connect General Discussion


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account