1 post / 0 new
jwrascoe@edataq...
How do you fetch the "Comment" posted to an Opportunity

With this API call we can add a comment to an opportunity....

https://api.fortellis.io/sales/v2/elead/opportunities/comment

When this API is called it creates and completed activity called "Note" and can be fetched by

https://api.fortellis.io/sales/v1/elead/activities/history/byOpportunityId/

However in the activity entry does not show the "comment"... but in elead we do see the value we specify for the comment.

{ "id": "ff99c9ca-d001-ed11-b0d9-005056905a5a", "activityType": "Note", "category": "Completed", "name": "Note", "completedDate": "2022-07-12T10:53:04.69Z", "dueDate": "2022-07-12T11:53:04.69Z", "outcome": "Completed", "createdBy": "Fortellis-DLP, FortellisAPI", "assignedTo": "Fortellis-DLP, FortellisAPI", "completedBy": "Fortellis-DLP, FortellisAPI", "opportunityId": "d562491e-e3ec-ec11-b0d9-005056905a5a", "upType": "Internet", "source": "Harley-Davidson", "subSource": "Dealer Spike - Get Quote", "createdByUserId": "8aa21eb5-4aee-ec11-b0d9-005056905a5a", "assignedToUserId": "8aa21eb5-4aee-ec11-b0d9-005056905a5a", "completedByUserId": "8aa21eb5-4aee-ec11-b0d9-005056905a5a" }

How do we retrieve that via the API?