I am using services module to post nodes using rest/json. The nodes also contain images and location. So far I can upload the image and save the node, but the location is not saved. I receive no errors in logs.
Any ideas? Is there something I have to add,maybe permissions, in order to be saved?
This is the json that creates the article but doens not save the location.
{
"title": "some title",
"type": "article",
"language": "el",
"body" : {
"und": [
{
"value": "some text"
} ]
},
"field_tags": { "und": "9" },
"field_image": {
"und":
[{
"fid": "1364"
}]
},
"locations":{
"und":[
{
"country":"gr",
"latitude":"55.7046601",
"longitude":"13.191007300000024",
"name":"TEST LOCATION",
}
]
}
}