I am trying to insert multiple documents into the MarkLogic
database using Rest-API
. I wanted to customize the uri
while inserting by specifying particular attribute as uri. Here is the json file:
{
"id" : "101",
"firstName" : "I",
"middle name" : "Love",
"last name : "Myself",
"emailId" : "aaa@gmail.com"
}
If I wanted to specify emailId attribute of json
mentioned above as uri
while inserting the record.
Can anybody let me now, How to achieve it?