OA

Hello all, 

I´m trying to use ARIS REST API but I obtain a 403 error status.

I already obtained the certificate but when I call the API after replacing the parameter, I obtain the mentioned error.

to obtain a token I used the URL:

POST http:// <servername:port>/umc/api/tokens?tenant=default&name=system &password=manager&key=lsjflskjfsfj

I replay the key value for the ARIS API certificate: obtain after obtaining the certificate.

Can help me to solve the Problems.

Best regards,

Omar Hweitat,

by Runé Becker
Badge for 'Mastermind' achievement
Posted on Tue, 02/21/2023 - 10:20

Dear Omar,

If you are using ARIS 10.0 SR12 or a newer version you don't need to use /tokens by providing an ARIS API certificate. Instead, use /v1/tokens or /v2/tokens which both don't need an ARIS API certificate.

Cheers
Runè

0
by omar alsaideen Author
Posted on Thu, 02/23/2023 - 14:18

In reply to by rbe

Dear Rune,

I Accessed the ARIS API through https://<Server Name>/apidocs, then I started the API get database without any input, the output of the URL was "There was an unexpected error (type=Forbidden, status=403)".

So Please Advice.

Regard,

Omar Alsaideen

File attachments
1
by Runé Becker
Badge for 'Mastermind' achievement
Posted on Thu, 02/23/2023 - 16:49

In reply to by omar alsaideen

Dear Omar,

Did you follow the ARIS Repository API - Technical Introduction (ariscloud.com)?

I think it starts that you need a UMC token which authorizes your call against the available user accounts. This is similar to passing the user login page with username and password.

Once you have a token you can call then any of the available ARIS RESTful APIs.

This is how a successful POST on /v2/tokens on the ARIS UMC API looks like:

Cheers
Runè

0
by omar alsaideen Author
Posted on Fri, 02/24/2023 - 17:55

In reply to by rbe

Dear Rune,

I tried this way, please find the error below.

is there a prerequisite before getting the tokens from the ARIS API??

Best Regards,

File attachments
1
by Runé Becker
Badge for 'Mastermind' achievement
Posted on Sat, 02/25/2023 - 11:48

In reply to by omar alsaideen

Did you make sure that the user account you are using for the API call has at least ARIS API license or any other ARIS client license?

Cheers
Runè

0

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock