Request
Task for making requests to Microsoft Dynamics 365.
Task version: 1.1.0
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.MicrosoftDynamics365/tree/main/Frends.MicrosoftDynamics365.Request
Task Parameters
ClientId : String
Azure AD app registration client ID.
Default: -
Example: 9136e6a2-83e5-46ba-b104-d988a169dc24
TenantId : String
Azure AD tenant ID.
Default: -
Example: 9136e6a2-83e5-46ba-b104-d988a169dc24
🗝ClientSecret : String
App registration client secret.
Default: -
Example: my_secret
Dynamics365Url : String
Dynamics 365 URL.
Default: https://[MY_ORG].crm4.dynamics.com
Example: https://my-org.crm4.dynamics.com
Method : Method
Dynamics 365 URL.
Possible values:
GET: Dynamics 365 URL.POST: Dynamics 365 URL.PATCH: Dynamics 365 URL.PUT: Dynamics 365 URL.DELETE: Dynamics 365 URL.
Default: 0
Example: GET
Path : String
Request path for the API call.
Default: -
Example: accounts accounts({{account_id}}) accounts?$select=name,revenue accounts?$filter=statecode eq 0
Payload : String
Request payload.
Default: -
Example: { "firstname": "John", "lastname": "Doe", "emailaddress1": "john.doe@example.com", "telephone1": "123-456-7890" }
ApiVersion : String
Dynamics API version to use.
Default: v9.1
Example: v9.1 / v9.0 / v8.2 / other
ThrowExceptionOnErrorResponse : Boolean
Throw exception on error response.
Default: False
Example: false
Task Result
Data : Object
Contains the input repeated the specified number of times.
Example: { "@odata.context": "https://[domain].dynamics.com/api/data/v9.1/$metadata#accounts", "value": [ { "@odata.etag": "W/"5089461"", "address1_composite": "6789 Edwards Ave.\r\nLynnwood, Tennessee 37010\r\nUnited States", "websiteurl": "http://www.example.com", "name": "Fabrikam, Inc." }, { "@odata.etag": "W/"5089463"", "address1_composite": "789 3rd St\r\nSan Francisco, California 94158\r\nUnited States", "websiteurl": "http://www.example.com", "name": "Trey Research" } ] }
Success : Boolean
Indicates whether the call to Dynamics 365 was successful. If the call failed and the task is configured to not throw an exception, this will be false.
Example: true
ErrorMessage : String
Error message if the call to Dynamics 365 failed and the task is configured to not throw an exception.
Example: Something went wrong.
Task Changelog
Changelog for Task Frends.MicrosoftDynamics365.Request.
[1.1.0] - 2024-07-08
Changed
Added support for PATCH requests and adjusted how the task handles responses from the Dynamics365 API if they have no content.
[1.0.0] - 2024-06-10
Changed
Initial implementation.
Last updated
Was this helpful?

