Hello,
I want to create, edit, delete meetings and documents in SuiteCRM using suitecrm json api v8 .
Can anyone provide me all modules API example with required and optional parameters.
Regards
Yogesh
Hello,
I want to create, edit, delete meetings and documents in SuiteCRM using suitecrm json api v8 .
Can anyone provide me all modules API example with required and optional parameters.
Regards
Yogesh
Hi,
there is already a postman example provided in …\Api\docs\postman
More examples and descriptions are available in …\Api\docs\swagger\swagger.json.
You can make it more readable with tools like https://editor.swagger.io/.
And, of course, you can have a look at the documentation:
https://docs.suitecrm.com/developer/api/version-8/json-api/
This is the available documentation
https://docs.suitecrm.com/developer/api/
I don’t know of any other resources, the v8 API is quite recent.
I am not getting how to use it in above links.
I want example something like below.
$url = 'http://domain.com/SuiteCRM/Api/index.php/V8/module';
$header = array(
'Content-type: application/vnd.api+json',
'Accept: application/vnd.api+json',
'Authorization: '.$token_type . ' ' . $access_token,
);
$postStr = json_encode(array(
"data" => array(
"type" => "Meeting",
"attributes" => array(
"name" => "Meeting via API",
"duration_hours" => "1",
"duration_minutes" => "30",
"date_start" => gmdate("Y-m-d H:i:s"),
"assigned_user_id" => 1,
"contact_id" => 1,
"contacts_arr" => "1,2,3,4,5,6,7",
)
)
));
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_POSTFIELDS, $postStr);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
$output = curl_exec($ch);
In above example i need all required and non-required parameters with datatypes.
I don’t know how to add users in meeting .
Hello were you able to implement this one?