Tag Archives: D365 FO REST API

D365 FO: Consume & Call Restful API using X++, pass request header & Post JSON message in body

Requirement

CONSUME & CALL RESTFUL API USING X++, PASS REQUEST HEADER & POST JSON MESSAGE IN BODY – Client shared some REST APIs and REST web-services. The web-service or REST API needs to be consumed in Microsoft Dynamics 365 finance & operations using X++. The HttpWebRequest contains request headers i.e WebHeaderCollection which needs to be filled in API header. The content type is application/json. The request body input should be a valid JSON format and POST method of REST API will be called .HttpWebResponse will be received & deserialized in Microsoft Dynamics 365 fin & ops

Continue reading D365 FO: Consume & Call Restful API using X++, pass request header & Post JSON message in body