• mageshwari s 7
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
We need to convert lead via Api. I couldn't find the api so if anyone knows let me know please.
1.I have tried manually to convert lead process like first create account for lead companyname,then use that created account-id create new contact.
2.finally updating those fields via[https://ap16.salesforce.com/services/data/v46.0/sobjects/Lead/{ID}?_HttpMethod=PATCH](ConvertedContactId, ConvertedAccountId, ConvertedDate, IsConverted, ConvertedOpportunityId).
3.For the above request i got below Error message show like this("message": "Unable to create/update fields: ConvertedContactId, ConvertedAccountId, ConvertedDate, IsConverted, ConvertedOpportunityId. 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")
We need to convert lead via Api. I couldn't find the api so if anyone knows let me know please.
1.I have tried manually to convert lead process like first create account for lead companyname,then use that created account-id create new contact.
2.finally updating those fields via[https://ap16.salesforce.com/services/data/v46.0/sobjects/Lead/{ID}?_HttpMethod=PATCH](ConvertedContactId, ConvertedAccountId, ConvertedDate, IsConverted, ConvertedOpportunityId).
3.For the above request i got below Error message show like this("message": "Unable to create/update fields: ConvertedContactId, ConvertedAccountId, ConvertedDate, IsConverted, ConvertedOpportunityId. 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")