Skip to content

api_client.api.BaseStopApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteStop POST /deleteStop
getStop GET /getStop
getStops POST /getStops
saveStop POST /saveStop
stopStatusUpdate POST /stopStatusUpdate

deleteStop

deleteStop(id)

Example

import 'package:api_client/api.dart';

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

try { 
    api_instance.deleteStop(id);
} catch (e) {
    print("Exception when calling BaseStopApi->deleteStop: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

void (empty response body)

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]

getStop

StopServiceModel getStop(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

StopServiceModel

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]

getStops

QueryResultStopServiceModel getStops(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseStopApi();
var request = new StopQueryRequest(); // StopQueryRequest | 

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

Parameters

Name Type Description Notes
request StopQueryRequest [optional]

Return type

QueryResultStopServiceModel

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]

saveStop

StopServiceModel saveStop(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseStopApi();
var model = new StopServiceModel(); // StopServiceModel | 

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

Parameters

Name Type Description Notes
model StopServiceModel [optional]

Return type

StopServiceModel

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]

stopStatusUpdate

StopServiceModel stopStatusUpdate(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseStopApi();
var request = new StopStatusUpdateRequest(); // StopStatusUpdateRequest | 

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

Parameters

Name Type Description Notes
request StopStatusUpdateRequest [optional]

Return type

StopServiceModel

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