Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: Updating Dynamics "Health 365" CRM via HTTP Put Requests

$
0
0
I am reaching out with a question pertaining to Making HTTP Requests to the Dynamics CRM Web API. Specifically, making a PUT (or POST) request to update a field within an individual Contact on the CRM. My issue is this: I am unable to update a field for a specific contact with a Put request, nor am I able to update it with a Post request. This is after I have already authenticated via Azure Active Directory. GET requests work just fine.... but when I sent a PUT or a POST I am met with a 405 – Method Not Allowed error when I attempt to update this field with a Put. (See image below) I can understand why a POST attempt would not be correct – because the field already exists, so it would not be on the right track to try to create this new field… However, as you can see, the seemingly-more-appropriate attempt to make a PUT request is blocked as well. I would think that the Put request would be the correct request to use if I wanted to update an existing field . Note: At first, I thought this was an issue with my account’s permissions. However, I am able to create, update and delete records within the CRM Portal. So, I do not believe it is an issue with my account permissions. This operation does work with a Patch request – however, in the current environment I am working in , a Patch request is not an option . I am only able to use Get, Post, Put & Delete requests within the context of my personal situation. (See Images Below for Patch Request) Please let me know your thoughts on this situation, I seem to be between a rock & a hard place on this!

Viewing all articles
Browse latest Browse all 123975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>