Commit bb67ed65 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

update appAPI [getRegisterInfo]

parent 42ded021
...@@ -470,6 +470,15 @@ this.appAPI = { ...@@ -470,6 +470,15 @@ this.appAPI = {
}); });
}, },
getRegisterInfo: async function(registerID) {
return new Promise(resolve => {
rest.synergyGet(`api/docflow/register/info?locale=${AS.OPTIONS.locale}&registerID=${registerID}`, resolve, err => {
console.log(`ERROR [ getRegisterInfo ]: ${JSON.stringify(err)}`);
resolve(null);
});
});
},
getDocumentRCC: async function(documentID) { getDocumentRCC: async function(documentID) {
return new Promise(async resolve => { return new Promise(async resolve => {
rest.synergyGet(`api/docflow/doc/rcc?documentID=${documentID}&locale=${AS.OPTIONS.locale}`, resolve, err => { rest.synergyGet(`api/docflow/doc/rcc?documentID=${documentID}&locale=${AS.OPTIONS.locale}`, resolve, err => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment