1. Добавить в `appsettings.json`
1. ```json
"BPMSoft.Configuration.ElmaService.ElmaService": [
"/ServiceModel/ElmaService.svc"
],
```
2. Добавить в `BPMSoft.WebHost.dll.config`
1. `
```
```js
callElmaService: function () {
const request = {
Id_crm: this.get("Id"),
chain_of_approval: "test1, test2"
};
const config = {
serviceName: "ElmaService",
methodName: "CreateOrderApproval",
data: {
request: request
}
};
this.callService(config, function(response) {
debugger;
}, this)
},
```