Hi,
I am new to Neo4J. I have loaded data in Neo4J Database with following nodes and properties.
Label: Customer {Id: '1', SomeProperty:'values'}
Label: Calls {CustomerId: '1', CallId:'values', Duration}
Label: Agent {AgentId: '1', CallId:'values', Duration}
There relation are as follows:
Customer - [customer_called] -> Calls
Calls-[call_attended_by]->Agent
Now, i want to query the details of customer calls and the agent who picked it.
MATCH P = (cust:Customer {Id:'1'})-[relation*1..2]-(related_to)
RETURN P
It works like charm and I get a good graphical and tabular view but when I check the Json Response from Text/Code View, the json-node of relationship is empty.
Expected response:
"row": [ "customer_called", {Id: '1', SomeProperty:'values'}, {CustomerId: '1', CallId:'values', Duration} ] "row": [ "call_attended_by", {CustomerId: '1', CallId:'values', Duration}, {AgentId: '1', CallId:'values', Duration} ]
Response received:
"row": [ {}, {Id: '1', SomeProperty:'values'}, {CustomerId: '1', CallId:'values', Duration} ] "row": [ {}, {CustomerId: '1', CallId:'values', Duration}, {AgentId: '1', CallId:'values', Duration} ]
Can anyone help in this case