Hello!
We are facing strange behaviour:
Note is successfully created however it's missing "parent_type" and "parent_id" in database.
When we create a Note manually (comment to Case) these fields are properly set.
Can you kindly advice how do we add Note to Case properly using API?
CallAPI(
"POST",
$__espoAPIURL."Note",
json_encode(
array(
"post" => $messageText,
"data" => "{}",
"type" => "Post",
"parent_type" => "Case",
"parent_id" => $caseId,
"created_by_id" => 1,
)
)
);
We are facing strange behaviour:
Note is successfully created however it's missing "parent_type" and "parent_id" in database.
When we create a Note manually (comment to Case) these fields are properly set.
Can you kindly advice how do we add Note to Case properly using API?
CallAPI(
"POST",
$__espoAPIURL."Note",
json_encode(
array(
"post" => $messageText,
"data" => "{}",
"type" => "Post",
"parent_type" => "Case",
"parent_id" => $caseId,
"created_by_id" => 1,
)
)
);
Comment