@gandalan/weblibs 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/IDAS.js +4 -0
- package/package.json +1 -1
package/api/IDAS.js
CHANGED
|
@@ -26,6 +26,7 @@ export let IDASFactory = {
|
|
|
26
26
|
}
|
|
27
27
|
if (urlParams.has("a")) {
|
|
28
28
|
localStorage.setItem("IDAS_ApiBaseUrl", urlParams.get("a"));
|
|
29
|
+
apiBaseUrl = urlParams.get("a");
|
|
29
30
|
}
|
|
30
31
|
if (urlParams.has('j')) { // it is JWT
|
|
31
32
|
let idas = new IDAS();
|
|
@@ -188,6 +189,9 @@ class IDAS {
|
|
|
188
189
|
async getByVorgangsnummer(vorgangsNummer, jahr) {
|
|
189
190
|
return await this._self.restClient.get(`/Vorgang/${vorgangsNummer}/${jahr}`);
|
|
190
191
|
},
|
|
192
|
+
async getByGuid(guid) {
|
|
193
|
+
return await this._self.restClient.get(`/Vorgang/${guid}`);
|
|
194
|
+
},
|
|
191
195
|
};
|
|
192
196
|
|
|
193
197
|
positionen = {
|