Skip to content

api_client.api.BaseInvitationApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteInvitation POST /deleteInvitation
getInvitation GET /getInvitation
getInvitations POST /getInvitations
saveInvitation POST /saveInvitation

deleteInvitation

InvitationServiceModel deleteInvitation(id)

Example

import 'package:api_client/api.dart';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

InvitationServiceModel

Authorization

oauth2

HTTP request headers

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

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

getInvitation

InvitationServiceModel getInvitation(id)

Example

import 'package:api_client/api.dart';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

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

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

Parameters

Name Type Description Notes
id String [optional]

Return type

InvitationServiceModel

Authorization

oauth2

HTTP request headers

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

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

getInvitations

QueryResultInvitationServiceModel getInvitations(query)

Example

import 'package:api_client/api.dart';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

var api_instance = new BaseInvitationApi();
var query = new Query(); // Query | 

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

Parameters

Name Type Description Notes
query Query [optional]

Return type

QueryResultInvitationServiceModel

Authorization

oauth2

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]

saveInvitation

InvitationServiceModel saveInvitation(model)

Example

import 'package:api_client/api.dart';
// TODO Configure OAuth2 access token for authorization: oauth2
//api_client.api.Configuration.accessToken = 'YOUR_ACCESS_TOKEN';

var api_instance = new BaseInvitationApi();
var model = new InvitationServiceModel(); // InvitationServiceModel | 

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

Parameters

Name Type Description Notes
model InvitationServiceModel [optional]

Return type

InvitationServiceModel

Authorization

oauth2

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