Skip to content

api_client.api.BaseSamsaraConfigApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
getSamsaraConfig GET /getSamsaraConfig
saveSamsaraConfig POST /saveSamsaraConfig

getSamsaraConfig

SamsaraConfigServiceModel getSamsaraConfig(id)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseSamsaraConfigApi();
var id = id_example; // String | 

try { 
    var result = api_instance.getSamsaraConfig(id);
    print(result);
} catch (e) {
    print("Exception when calling BaseSamsaraConfigApi->getSamsaraConfig: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

SamsaraConfigServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

saveSamsaraConfig

SamsaraConfigServiceModel saveSamsaraConfig(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseSamsaraConfigApi();
var model = new SamsaraConfigServiceModel(); // SamsaraConfigServiceModel | 

try { 
    var result = api_instance.saveSamsaraConfig(model);
    print(result);
} catch (e) {
    print("Exception when calling BaseSamsaraConfigApi->saveSamsaraConfig: $e\n");
}

Parameters

Name Type Description Notes
model SamsaraConfigServiceModel [optional]

Return type

SamsaraConfigServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]


Last update: July 4, 2020