i'm building a web services and now i'm writing the documentation for the mobile developer.
When i want to create/modify an entity reference Services 3 ask a stucture like this
"field_organization": {
"und":[{
"target_id":"Organization name (69)"
}]
}
for a field like this
but, there is another way to give only the nid without the node title? It could be more handy.
I read something like
"field_organization":[{
"target_id":{
"target_id":"[nid:69]"
}
}]
or like
"field_organization": {
"und":[{
"target_id":{
"target_id":"[nid:69]"
}
}]
}
on the official documentation but it didn't work.
Can someone know a method to give only the nid of a Entity reference field?