Post

3 followers Follow
0
Avatar

Error while login to clarizen sandbox environment using c# API

Hello,

We are unable to login to our Clarizen sand box environment using the following code:

 API ClarizenAPI = new API();
            if (!ClarizenAPI.Login("username", "password"))
                return;

The above code work for the development and the production setup. Is there a way to explicitly mention the sandbox url with in c# code?

Error states that the user name and password do not match.

The following url is used by default when connecting to the development and production environment: https://apie1.clarizen.com/v2.0/services

santhosh yalamuri Answered

Please sign in to leave a comment.

3 comments

0
Avatar

You should contact Clarizen for that - not many here have experience with APIs.

 

Good luck.

Guy 0 votes
Comment actions Permalink
0
Avatar

Hi Santosh,

The basic URL for Sandbox REST API access is 'https://api.clarizentb.com/v2.0/services/'   (I'm assuming you use the REST API by the production API address you provided. For SOAP API it is https://api.clarizentb.com/v2.0/clarizen.svc ')

As always you should call GetServerDefinition first with the user name & password to get the actual URL you should use to login.

Hope this helps,

Ophir

Ophir Kenig 0 votes
Comment actions Permalink