+
+ getConfiguration(): Observable<RicConfig> {
+ const url = this.buildPath("configuration");
+ return this.httpClient.get<RicConfig>(url);
+ }
+
+ updateConfiguration(ricConfig: RicConfig): Observable<RicConfig> {
+ const httpOptions = {
+ headers: new HttpHeaders({'Content-Type': 'application/json'}),
+ observe: 'response' as 'body'
+ }
+ const url = this.buildPath("configuration");
+ return this.httpClient.put<RicConfig>(url, ricConfig, httpOptions);
+ }