Datetime field did not update using v10 API Sugar7.6.2.1?

I have to update custom field with custom module type="datetime" and argument with data is date('Y-m-d H:i:s')

I need to update using v10 REST API. but not working.

Please suggest.

Parents
  • Your question isn't clear enough for suggestions, can you show us the code that isn't working?  That should give us enough information you know exactly what it is you're trying to do.

    Kenneth Brill

    Developer Support Engineer

  • I have one custom module with Sugar7

    Create custom field(note_time_c) data type = datetime.

    I have to update note_time_c from application using v10 API.

    My Code is

    $arguments = array(

    "note_time_c" => '2016-04-04 06:18:20',

    );

    $url = $base_url . "/OEPL_demo/".$record_id;

    $update_response = call($url, $oauth2_token_response->access_token, 'PUT', $arguments);

    $update_response return null, No any error

    But its not updating data with note_time_c



Reply
  • I have one custom module with Sugar7

    Create custom field(note_time_c) data type = datetime.

    I have to update note_time_c from application using v10 API.

    My Code is

    $arguments = array(

    "note_time_c" => '2016-04-04 06:18:20',

    );

    $url = $base_url . "/OEPL_demo/".$record_id;

    $update_response = call($url, $oauth2_token_response->access_token, 'PUT', $arguments);

    $update_response return null, No any error

    But its not updating data with note_time_c



Children
No Data