AnsweredAssumed Answered

How to update the documents_account table from REST api

Question asked by aravinth on Dec 30, 2015
Latest reply on Jan 6, 2016 by aravinth

When upload document for certain account, the documents_accounts table stores both account id and document id. When upload the file from REST api, need to store the account_id and document_id in document_accounts table, but i can't store those values.(Want to relate the accounts and documents)

 

here is my sample code

$set_entry_parameters = array(

        "session" => $_SESSION['id'],

 

 

        "module_name" => "documents_accounts",

 

 

        "name_value_list" => array(

 

 

        array("name" => "document_id", "value" => $some_id),

        ),

        );

      

        //var_dump($set_entry_parameters);

        $set_entry_result = call("set_entry", $set_entry_parameters, $url);

Outcomes