Editting field collections with service api I am trying to build an phonegap app which uses data of a drupal site. I need to update some informations with using app. For example I have nodes and users need to update field_collections of a node. My nodes have field collection as:

"field_bundle_news":{
    "und":[
    {
        0:{ target_id: "308" }
    }]
}


I want to add some additional items or remove some of them with using service api. For example if I use put method with using "/node" endpoint I can edit some data of that node but I can not edit field collections.

Could anybody give me information about this problem with examples because actually I dont know drupal well I am learning it with implementing a mobile app.
You must send acceptable field structure in order to create or edit the node

try to understand the field structure through Implementing hook_node_insert in custom module and  watchdog the inserted node via watchdog and you will have the structure drupal uses to insert then build it when you create/edit node through services   

function hook_node_insert($node){
  watchdog('node', json_encode($node));
}


after adding a node of the same type open dblog in your project and see that log, you could use pro.jsonlint  to understand it well

Hope that helps