I'm trying it implement an external integration with the points service so that users can be awarded points by performing a custom action managed on an external system. The CTA (call to action)/source of the action might be from a custom page or from a customization embedded within a piece of content, but the logic that will award the points will be hosted elsewhere.
IPointTransactions.Create(string description, int userId, int value, Guid contentId, Guid contentTypeId, PointTransactionCreateOptions options = null) has required parameters of contentId and contentTypeId. Is there a way to get these values by URL? That is, is there some service I can call to retrieve an IContent (or an entity that implements that interface) by URL?
I'm trying to write an in-process REST endpoint that won't be too difficult for a remotely hosted web service to use or require too much extra logic to figure out what those arguments should be.