CRM 2016 Web API - Posting to Action Endpoint RRS feed

  • Question

  • Has anyone done integration with the Web API and posting to a built-in action endpoint? I cannot seem to get it to work. No matter what combination I try, I keep getting Response Code 400 "Bad Request". 

    The Action endpoint I am trying to interact with is: DeliverPromoteEmail

    The documentation says it is a bound action, so my URL looks like this: https://<ORGNAME>.api.crm3.dynamics.com/api/data/v8.1/emails/Microsoft.Dynamics.CRM.DeliverPromoteEmail

    I am successfully talking to this endpoint doing reads and inserts with standard entities, but, I cannot get the Action to work.

    Any input would be greatly appreciated.

    Monday, March 13, 2017 4:27 PM

All replies

  • Hi,

    You should be using the unique name of the action here. Like below:

    Currently you are using the process name i guess. unique name should include the prefix too.


    Sachith Chandrasiri

    Monday, March 13, 2017 6:58 PM
  • Actually, this is a built-in action. It is not a custom one.
    Monday, March 13, 2017 8:12 PM
  • I hate those error messages, it gives very little clue what is wrong.  it could the content type in the header or maybe the data that is being POSTed.  can you provide examples?
    Tuesday, March 21, 2017 1:40 PM