I am new using salesforce and I already created my case, and now I need to create comments from customer and customerSupport(both), but when I try to specify that in soap API like this:
https://xxxx/services/data/v39.0/sobjects/CaseComment
{
"CommentBody": "test",
"IsPublished": true,
"ParentId": "{xxx}",
"CreatedById": "{xxxxx}"
}
The answer of the service is:
[
{
"message": "Unable to create/update fields: CreatedById. Please check the security settings of this field and verify that it is read/write for your profile or permission set.",
"errorCode": "INVALID_FIELD_FOR_INSERT_UPDATE",
"fields": [
"CreatedById"
]
}
]
Maybe "CreatedById" is not a field correct to know who created the comment before, Can you help with this? I want to know where and how I can to define a case comment owner in some way