<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tech Tip: Using the Aras RESTful API</title><link>/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><description>Aras Innovator 11 SP12 introduced a RESTful API that can be used to query and edit Aras items. Most of the time, these REST calls will be sent to the Aras server by an external application or integration. You can find a sample AngularJS app that uses</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Re:Tech Tip: Using the Aras RESTful API</title><link>https://www.aras.com/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><pubDate>Fri, 22 May 2020 18:05:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:209c4c4e-fe63-4dab-b9bc-2586c24f06a5</guid><dc:creator>neil.lindberg</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I just posted about this, but adding on to this discussion: I simply want to call my own custom method with parameters. I would really appreciate an example of how to access parameters in a Server-Side function.&lt;/p&gt;
&lt;p&gt;Say I have a very simple, working, &amp;quot;Hello World&amp;quot; function as proof calling &amp;quot;method._Hello_World&amp;quot; works, and it does. How would I simply add a name to that call and use it?&lt;/p&gt;
&lt;p&gt;.../method._Hello_World(&amp;#39;Neil&amp;#39;)&lt;/p&gt;
&lt;p&gt;How would this consume the argument and say &amp;quot;Hello &amp;quot; + name? Just as a PoC?&lt;/p&gt;
&lt;p&gt;var inn = this.getInnovator();&lt;br /&gt;return inn.newResult(&amp;quot;Hello &amp;quot; + MY_NAME_ARGUMENT);&lt;/p&gt;&lt;img src="https://www.aras.com/community/aggbug?PostID=955&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>Re:Tech Tip: Using the Aras RESTful API</title><link>https://www.aras.com/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><pubDate>Wed, 04 Mar 2020 21:40:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:209c4c4e-fe63-4dab-b9bc-2586c24f06a5</guid><dc:creator>Oussama</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello, Thanks for the post that was very helpful especially for new comers to ARAS, i followed the explanation and i was able to do most of the actions (adding new item, deleting, retrieving existing items...), I&amp;#39;m trying to learn more and i have a situation:&lt;br /&gt;&lt;br /&gt;I work with a &lt;strong&gt;&lt;em&gt;ItemType&lt;/em&gt;&lt;/strong&gt; which has an action through right-click (The Action is associated with a method for sure !!)&lt;br /&gt;I have an existing Item let&amp;#39;scall it &amp;quot;&lt;em&gt;&lt;strong&gt;Base_Item&lt;/strong&gt;&lt;/em&gt;&amp;quot;of my &lt;em&gt;&lt;strong&gt;ItemType&lt;/strong&gt;&lt;/em&gt; i can right click on it chose the action Then the associated method is called and an new item is created based on some proprieties of &amp;quot;&lt;em&gt;&lt;strong&gt;Base_Item&lt;/strong&gt;&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;So How can use requests to call that action for an existing item?&lt;/p&gt;&lt;img src="https://www.aras.com/community/aggbug?PostID=955&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>Re:Tech Tip: Using the Aras RESTful API</title><link>https://www.aras.com/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><pubDate>Mon, 02 Mar 2020 18:44:58 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:209c4c4e-fe63-4dab-b9bc-2586c24f06a5</guid><dc:creator>neil.lindberg</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nother for the fellow noobs. This adds a user... and, I would much rather use JSON like this, but I still can&amp;#39;t seem to use AML!?&lt;br /&gt;Notable, and confusing: Content-Type: text/plain&lt;br /&gt;Anyway, this works, but doesn&amp;#39;t use AML. Sorta kinda closer to setup for automated testing...&lt;/p&gt;
&lt;p&gt;curl --location --request POST &amp;#39;localhost/.../User&amp;#39; \&lt;br /&gt;--header &amp;#39;Content-Type: text/plain&amp;#39; \&lt;br /&gt;--header &amp;#39;Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjJDMTVGRjE5NkUwNjAzRTRDQzA0OTY1MDkxMUZBNjU4NDA4NkYzMjciLCJ0eXAiOiJKV1QiLCJ4NXQiOiJMQlhfR1c0R0EtVE1CSlpRa1ItbVdFQ0c4eWMifQ.eyJuYmYiOjE1ODMxNzQ0NTksImV4cCI6MTU4MzE3ODA1OSwiaXNzIjoiT0F1dGhTZXJ2ZXIiLCJhdWQiOlsiT0F1dGhTZXJ2ZXIvcmVzb3VyY2VzIiwiSW5ub3ZhdG9yIl0sImNsaWVudF9pZCI6IklPTUFwcCIsInN1YiI6ImFkbWluIiwiYXV0aF90aW1lIjoxNTgzMTc0NDU5LCJpZHAiOiJsb2NhbCIsInVzZXJuYW1lIjoiYWRtaW4iLCJkYXRhYmFzZSI6Iklubm92YXRvclNvbHV0aW9uczEyIiwic2NvcGUiOlsiSW5ub3ZhdG9yIl0sImFtciI6WyJwYXNzd29yZCJdfQ.FxxgOsATbFH0T3up0R0wTav9i5kswTr3m5SbJEhi85G6KNXmAqEfeE0afH9mXbdzenggyFyXFC5bguMgsWT6Qnmd8R2DIVvcf2NjhUTY_uMjX6Qpi7Pq-F0ieW067z_K7RsDEE6JMIAhvUweIUKOf30KUbvFmDIsuczROHeceV4tmjeKefp5_ZGwPYfnWgRBQJtVTXtr4a5bN3OeYNrs0TdZoJ_e1mZXq4VY2teiPuTc2OAQ7THCA75VbJt_R8nwc3OJURBOJZqqk_dvArkZQymi51ZZbtHelxfiA7ZXuDHgnUGwVvQ_4fW0kiTrTQcbJU3hateVbVDwvdOYqV3FyQ&amp;#39; \&lt;br /&gt;--data-raw &amp;#39;{&amp;quot;login_name&amp;quot;:&amp;quot;test12345&amp;quot;,&amp;quot;password&amp;quot;:&amp;quot;607920b64fe136f9ab2389e371852af2&amp;quot;,&amp;quot;first_name&amp;quot;:&amp;quot;First5&amp;quot;,&amp;quot;last_name&amp;quot;:&amp;quot;Last5&amp;quot;,&amp;quot;email&amp;quot;:&amp;quot;t12345@t.com&amp;quot;,&amp;quot;logon_enabled&amp;quot;:1}&amp;#39;&lt;/p&gt;&lt;img src="https://www.aras.com/community/aggbug?PostID=955&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>Re:Tech Tip: Using the Aras RESTful API</title><link>https://www.aras.com/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><pubDate>Mon, 02 Mar 2020 18:26:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:209c4c4e-fe63-4dab-b9bc-2586c24f06a5</guid><dc:creator>neil.lindberg</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;For fellow noobs, this works to simply get users - a sensible starting point, using a bearer token...&lt;/p&gt;
&lt;p&gt;curl --location --request GET &amp;#39;localhost/.../User&amp;#39; \&lt;br /&gt;--header &amp;#39;Content-Type: text/xml&amp;#39; \&lt;br /&gt;--header &amp;#39;Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjJDMTVGRjE5NkUwNjAzRTRDQzA0OTY1MDkxMUZBNjU4NDA4NkYzMjciLCJ0eXAiOiJKV1QiLCJ4NXQiOiJMQlhfR1c0R0EtVE1CSlpRa1ItbVdFQ0c4eWMifQ.eyJuYmYiOjE1ODMxNzA4MzYsImV4cCI6MTU4MzE3NDQzNiwiaXNzIjoiT0F1dGhTZXJ2ZXIiLCJhdWQiOlsiT0F1dGhTZXJ2ZXIvcmVzb3VyY2VzIiwiSW5ub3ZhdG9yIl0sImNsaWVudF9pZCI6IklPTUFwcCIsInN1YiI6ImFkbWluIiwiYXV0aF90aW1lIjoxNTgzMTcwODM2LCJpZHAiOiJsb2NhbCIsInVzZXJuYW1lIjoiYWRtaW4iLCJkYXRhYmFzZSI6Iklubm92YXRvclNvbHV0aW9uczEyIiwic2NvcGUiOlsiSW5ub3ZhdG9yIl0sImFtciI6WyJwYXNzd29yZCJdfQ.P9dD85PLjyeB6-IzW93LoCPlIA4o7GLBJFhvsKAAnp4WA88-rIEBEVdyXwGDt65LChUTWuCq9R1iSISbzKQcRST8VmUyik68fH6c6iJHuOqYDGb2qnXX7hdeZu8QXxAnFQwxNc1mWLelGWioQwsMRD_P8Y46JaNWUR_M9aGXjm6ioTTGDS3VZcc-Cm3aBSRb_19-w3MbtBiGWGVWNYA_-kZl2JhxMVcpgsC3hygA64VEOsTLZvb86Mlmx4FdVP2A5eeINmsphxRLYr5ckHoFLyrtUG4MBFvY6HMugzDSpZiGODg3k8o-UbrKINo9GNasiVCrUC-Nl_-w4IEFxBiTFg&amp;#39;&lt;/p&gt;&lt;img src="https://www.aras.com/community/aggbug?PostID=955&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>Re:Tech Tip: Using the Aras RESTful API</title><link>https://www.aras.com/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><pubDate>Mon, 08 Jul 2019 15:51:19 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:209c4c4e-fe63-4dab-b9bc-2586c24f06a5</guid><dc:creator>venkatsai</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I can get data for every operation and its relationship with process plan by using something like this:&amp;nbsp;http://localhost/InnovatorServer11/server/odata/mpp_Operation?$expand=source_id. but i like to get data of process plan and all the operations related to that process plan. what do you suggest to do.&lt;/p&gt;
&lt;p&gt;Thanks [emoticon:c4563cd7d5574777a71c318021cbbcc8]&lt;/p&gt;&lt;img src="https://www.aras.com/community/aggbug?PostID=955&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>Re:Tech Tip: Using the Aras RESTful API</title><link>https://www.aras.com/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><pubDate>Mon, 08 Jul 2019 14:44:03 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:209c4c4e-fe63-4dab-b9bc-2586c24f06a5</guid><dc:creator>venkatsai</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;Hi Eli, Thanks for this blog which is very helpful to someone like me. I have a question regarding Get relationships/releated_id. i tried the same rule which you used for part/part CAD, to get the data for mpp_processplan and its opeartions(mpp_operation is a relationship item). but it&amp;#39;s showing error with a message called not found.&amp;nbsp;message&amp;quot;: &amp;quot;Property &amp;#39;mpp_Operation&amp;#39; of &amp;#39;mpp_processplan&amp;#39; itemtype not found&amp;quot;. how can i get data of a process plan with all its relationships like opeartions, machines used in the operation etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks [emoticon:c4563cd7d5574777a71c318021cbbcc8]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://www.aras.com/community/aggbug?PostID=955&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>Re:Tech Tip: Using the Aras RESTful API</title><link>https://www.aras.com/community/b/english/posts/tech-tip-using-the-aras-restful-api</link><pubDate>Sat, 01 Jun 2019 06:00:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:209c4c4e-fe63-4dab-b9bc-2586c24f06a5</guid><dc:creator>srikumarradha</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi! I am not able to get the &amp;quot;substringof&amp;quot; filter to work with Aras, although this filter exists in the OData documentation. I use Aras11sp12, so if not possible, is there any other way out to execute this kind of filter?&lt;/p&gt;&lt;img src="https://www.aras.com/community/aggbug?PostID=955&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>