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!
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:
- What is ARIS Script? http://localhost/abs/help/en/handling/ba/index.htm#59138.htm
- ARIS Script reference: http://localhost/abs/help/en/script/ba/index.htm
And there's a dedicated Reports & Macros forum for discussing with other ARIS report developers.
Cheers
Rune
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!
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