Skip to content

api_client.api.BaseTenderApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteTender POST /deleteTender
getTender GET /getTender
getTenders POST /getTenders
saveTender POST /saveTender

deleteTender

deleteTender(id)

Example

import 'package:api_client/api.dart';

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

try { 
    api_instance.deleteTender(id);
} catch (e) {
    print("Exception when calling BaseTenderApi->deleteTender: $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]

getTender

TenderServiceModel getTender(id)

Example

import 'package:api_client/api.dart';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

TenderServiceModel

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]

getTenders

QueryResultTenderServiceModel getTenders(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseTenderApi();
var request = new TenderQueryRequest(); // TenderQueryRequest | 

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

Parameters

Name Type Description Notes
request TenderQueryRequest [optional]

Return type

QueryResultTenderServiceModel

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]

saveTender

TenderServiceModel saveTender(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseTenderApi();
var model = new TenderServiceModel(); // TenderServiceModel | 

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

Parameters

Name Type Description Notes
model TenderServiceModel [optional]

Return type

TenderServiceModel

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