Browse By Tags

  • REST API does not return properties with Item datatype

    Hi, I am using Release 15 and trying to GET all Properties of an Item using REST API with this request: http://server/innovatorserver/server/odata/par('D193004BBD7D4EF390925A859A4E371D') It does return all properties except the ones which are datatype…
  • REST API, `Value cannot be null.\r\nParameter name: criteria` trying to get a Workflow

    Hello everyone. I'm using Aras 12SP09 and I'm working with the REST API. I have an AML call that I would like to transform to a REST call, it is: <Item type='Workflow' action='get' select='related_id(*)'> <source_id>UUID</source_id> <related_id condition…
  • How to return JSON from a odata method

    Hi, I created a a serveur method named COCO_MONITORING returning a JSON like this var innovator = this.getInnovator(); var output= new Newtonsoft.Json.Linq.JObject(); .... return innovator.newResult(output.ToString(Newtonsoft.Json.Formatting.None…
  • Aras Rest api wrong filter behavior

    I have a request: .../server/odata/Part?$filter=(id eq '...' or id eq '...') and generation gt 0&$expand=created_by_id. I'm trying to get more then one Part. One of them is an old version of another Part (thats why i'm using ' generation gt 0 ' filter…
  • rest api AML

    Is it possible to send body with AML to rest api and get aml response? I could create a method that accepts string and parse the aml and reply but not sure how that would apply on the rights (trying to get only the items the logged in user can see…
  • What is equivalent to "SetAttribute" function in REST API?

    We have several server methods which expects custom attribute values using "getAttribute". While we can pass the property value in the API call, I am not sure how do we pass custom attribute values to the server method call??
  • Rest Api Pagination

    In the Rest Api Document it says " Use the AML attributes pagesize=”1” and page=”1” to limit the number of items returned in the response" but when I put it in my request it gives me 501: Not Implemented error .My query looks like this localhost/.../Part…
  • How can I get the entire list of Item Types by using the RESTful API?

    Hello guys! I'm working in an implementation in which I need to get the list of item types that are available in the Aras application and if possible with their relations, but for my case I need to get this list through the REST API. I also need to…