AI

Hi!

I'm new in ARIS and now I'm discovering the possibilities of using the ARIS API repository.

I read in the Technical Instruction document that creation of a model is not supported, but I want to ask, if someone knows if there is some way or something that can be used to create model with some of the methods?

Thank you in advance!

by Runé Becker
Badge for 'Mastermind' achievement
Posted on Thu, 04/05/2018 - 10:52

Dear Alokin,

While you are exploring the possibilities of the ARIS RESTful API (http://localhost/apidocs/), did you already discover the much broader capabilities of the ARIS Script API?

ARIS Script API is based on JavaScript report scripts which reside and run inside ARIS vs. ARIS RESTful API calls run outside ARIS.

The ARIS online offers the full scope:

And there's a dedicated Reports & Macros forum for discussing with other ARIS report developers.

Cheers

Rune

0
by Alokin Iksok Author
Posted on Mon, 04/09/2018 - 08:42

Dear Rune, 

Thank you for the answer.

So, this model creation, in any case cannot be done just with method call?

0
by Runé Becker
Badge for 'Mastermind' achievement
Posted on Mon, 04/09/2018 - 10:09

In reply to by calokin

Yes, ARIS RESTful API doesn't offer a function to create models. It has been designed that way.

Cheers

Rune

0
by Alokin Iksok Author
Posted on Wed, 04/11/2018 - 09:35

Hi,

I need help with the following task:

I want to create model with script(because it's not possible with Aris repository) and than to update the model with REST API calls(PUT method). The update is for creating model objects and connections. 

In between I suppose I need to use token creating for connecting to the repository. Also, here how to implement the tenant, user, password and licence in the javascript code?

How do I make connection with the Aris script to call methods in the Aris repository?

Thank you!

0
by Runé Becker
Badge for 'Mastermind' achievement
Posted on Wed, 04/11/2018 - 11:06

In reply to by calokin

An ARIS report script runs inside the ARIS Server, and therefore gets its authentication either from an internal user account or from a user who triggers the report via ARIS Architect.

Opposed to that, a call on the ARIS RESTful API comes from outside the ARIS Server. Hence, it requires a token which is provided to the caller after an authentication using server name, tenant name, user name, user password, and an ARIS API certificate.

For this and other first steps I recommend to read the Technical Introduction to ARIS Repository API available online (http://localhost/apidocs) and as ARIS Mobile API - Technical Introduction.pdf also on the ARIS DVD in folder .\Documents\English\1 Overview.

Cheers

Rune

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

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