Ok. Thanks ! I assumed naming was similar to cypher endpoint. And as always, assuming is not a good thing to do ;)
Met vriendelijke groet / With kind regards Ir. T. Zeppenfeldt van der Waalsstraat 30 6706 JR Wageningen The Netherlands Mobile: +31 6 23 28 78 06 Phone: +31 3 17 84 22 17 E-mail: t.zeppenfe...@ophileon.com <t.zeppenfe...@ophileon.com>Web: www.ophileon.com Twitter: tomzeppenfeldt Skype: tomzeppenfeldt 2014-06-26 15:23 GMT+02:00 Michael Hunger <michael.hun...@neotechnology.com> : > parameters > Not > params > > Sent from mobile device > > Am 26.06.2014 um 10:46 schrieb Tom Zeppenfeldt <tomzeppenfe...@gmail.com>: > > POSTing this : > > { > "statements" : [ { > "statement" : "match(uc:usercase {name:{name}}) return uc", > "params": { > "name" : "myname" > }, > "resultDataContents" : [ "graph" ] > } ] > } > > to the transactional endpoint returns: > > { > "commit": "http://mydomain.com:7474/db/data/transaction/106/commit", > "results": [ > { > "columns": [ > "uc" > ], > "data": [] > } > ], > "transaction": { > "expires": "Thu, 26 Jun 2014 08:39:16 +0000" > }, > "errors": [ > { > "code": "Neo.ClientError.Statement.ParameterMissing", > "message": "Expected a parameter named name" > } > ] > } > > > Is it me using a wrong syntax? If I would have several statements in a > transaction, I would expect a structure that allowed a query and params as > children of the statement. Or is it not possible to provide parameters > using the transactional endpoint. > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to neo4j+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to neo4j+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.