March 2020
Intermediate to advanced
528 pages
13h 18m
English
Custom services are programming models through which a developer can convert the X++ business logic into a service. Using this model, any existing X++ code can be exposed as a custom service simply by adding an attribute to it. There are standard attributes that can be set on the data contract class and methods to automatically serialize and deserialize data that is sent and received.
In Dynamics 365 for Finance and Operations, the custom service programming model supports SOAP and JSON endpoints. Custom services are always deployed on two endpoints; the following table shows the endpoint URIs:
|
Type |
Endpoint URI |
|
SOAP endpoint |
https://<host_uri>/soap/Services/<service_group_name> |
|
JSON endpoint |
https://<host_uri>/api/Services/<service_group_name>/<service_group_service_name>/<operation_name> ... |