Create customer api Admin account missing

Posted by Bernard Moeskops on 09-Sep-2016 08:23

Whenever I create a Rollbase customer via REST api. The first admin account receives an e-mail with a password. But it is impossible to login. The account does however exist if you look inside ISV Partner at customer -> subscribers. But when you login to the newly made customer that particular account does not exist. Does anyone know how this is possible? Whenever I manually create a new customer it does work fine.

Thanks in advance

All Replies

Posted by Manooj Murali on 09-Sep-2016 08:30

Can you please provide a sample REST url that you are using to do this? Is this against Rollbase public cloud? What is the error you see on the login page?

Posted by Bernard Moeskops on 12-Sep-2016 03:35

createCustomer? + $sessionId + "&objName=CUSTOMER&lastName=Doe&firstName=John&email=johndoe@rollbase.com&loginName=johndoe&role=admin&isApprover=true&language=en&timeZone=Europe/Dublin&companyName=Doejohn&language2=nl&securityLevel=Medium

Invoke-RestMethod -Method Post -Uri $resource_create

Whenever we receive the email with a temporary and go to the logon screen it says: Account does not exist. And if we look at ISV Partner under that newly made customer. We can see the admin account of johndoe... If I create an additional admin account via api so I can login at the new customer and look inside 'Users' the johndoe admin account does not exist.

Posted by Manooj Murali on 12-Sep-2016 03:40

Is this a different issue than what is already being discussed @ community.progress.com/.../92417

Posted by Bernard Moeskops on 12-Sep-2016 06:46

Yes Manooj, the other discussion is solved! This issue is still occurring unfortunately.

Posted by Manooj Murali on 13-Sep-2016 06:52

I ran the REST api with the same parameters you mentioned as an ISV Partner user and it worked fine for me. The only difference was that I did not provide the 'objName' parameter as you are already using the createCustomer api.

Can you please provide answers to my previous queries:

 1. Is this against Rollbase public cloud?

 2. What is the error you see on the login page?

Some more questions -

 - which version of Rollbase are you using? No need to answer this if you are using our Hosted Cloud.

 - you are creating this customer as an ISV partner, correct?

Posted by Ruben Dröge on 13-Sep-2016 07:41

1. Rollbase Private Cloud (4.2.2)

Posted by Bernard Moeskops on 14-Sep-2016 09:33

The error displayed on the login page is account does not exist. In the ISV partner the account does exist. But unfortunately it doesn't exist in the customer itself. I am creating this as an ISV Partner indeed via api.

Posted by Bernard Moeskops on 14-Sep-2016 09:49

I've solved the issue. It was the role that was given to the account (Admin), should have been (Beheerder) in Dutch. Thanks for helping!

Posted by Bernard Moeskops on 26-Sep-2016 02:32

It worked for a while, now back to the same issue unfortunately. The link that was sent by Powershell, if I copy that link and paste it in Postman it does work correctly. But in Powershell the first administrative user is missing again...

Link: ********************.nl/rest/api/createCustomer?sessionId=5397d2916b9c445ab2884dbd07d22eb6@1&firstName=Test&email=test@test.nl&loginName=Testuser&language=nl&timeZone=Europe/Dublin&companyName=Testcompany

Posted by clga29261 on 15-Jan-2017 23:48

Hi, how to use createCustomer API? in portal(masterpage)

This thread is closed