umbraco / Umbraco.AuthorizedServices

Umbraco Authorized Services is an open-source package designed to reduce the effort needed to integrate third party services that require authentication and authorization via an OAuth flow.
MIT License
14 stars 7 forks source link

Hubspot Contacts CRUD operations #6

Closed acoumb closed 1 year ago

acoumb commented 1 year ago

Current PR adds CRUD operations against HubSpot Constants using the Umbraco.AuthorizedServices package in the test site.

Endpoint: /umbraco/authorizedservice/hubspot/v1/contacts with the matching actions for performing GET POST PATCH DELETE operations.

The only issue I have experienced was with the IJsonSerializer which was not serializing the data payload sent to HubSpot by HubSpot's API's standards, causing the resource to not be created successfully. The PR contains the change I made to make it work, but we should discuss on this more.

Attached below a sample Postman collection. Umbraco Authorized Services - HubSpot Contacts API.postman_collection.zip

acoumb commented 1 year ago

Latest updates look good, merging them in.