Re: Referring existing entities in Atlas using Rest API

2018-10-14 Thread Sharmadha Sainath
Hi Anshu , Yes, array should be used. Example: "Locations":[ { guid:"", typeName:“" }, { guid:"", typeName:“" }, { guid:"", typeName:“" } …... ] Thanks, Sharmadha S. On 10/13/18, 11:03

Re: Referring existing entities in Atlas using Rest API

2018-10-12 Thread anshu shukla
Hi, Thanks for replying this thing works perfectly for the single referential entity but *what format to be used for an array of already existing entities. * *Can we use an array of JSON for that attribute?* On Thu, Oct 11, 2018 at 2:58 PM Nixon Rodrigues < nixon.rodrig...@freestoneinfotech.com>

Re: Referring existing entities in Atlas using Rest API

2018-10-11 Thread Nixon Rodrigues
Hi Anshu, You can connect to existing entity be referring the guid of already created entity. Below is the format of JSON. { "entity": { ... ... "Location" : { "guid": "<%Existing entity guid)%>", "typeName": "" ... ... } } On Thu, Oct 11, 2018 at 2:21 PM Anshu Shukla wrote: > Hi, > >

Referring existing entities in Atlas using Rest API

2018-10-11 Thread Anshu Shukla
Hi, I have used Atlas-scripts in dev-support folder to create entities using the given json example file. But there is no example to guide and show how to connect to an already existing entity in case new entity have attribute of that type. Example- Location is an attribute inside the