ParkBud API

Buds

getAllBuds

Get all eligible buds

Returns all buds with a complimentary schedule and matching parking preference


/buds/{userId}

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/buds/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BudsApi;

import java.io.File;
import java.util.*;

public class BudsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BudsApi apiInstance = new BudsApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getAllBuds(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BudsApi#getAllBuds");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BudsApi;

public class BudsApiExample {

    public static void main(String[] args) {
        BudsApi apiInstance = new BudsApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getAllBuds(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BudsApi#getAllBuds");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

BudsApi *apiInstance = [[BudsApi alloc] init];

// Get all eligible buds 
[apiInstance getAllBudsWith:userId
              completionHandler: ^(array[User] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.BudsApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllBuds(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllBudsExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new BudsApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Get all eligible buds 
                array[User] result = apiInstance.getAllBuds(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BudsApi.getAllBuds: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\BudsApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->getAllBuds($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BudsApi->getAllBuds: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BudsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BudsApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->getAllBuds(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BudsApi->getAllBuds: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BudsApi()
userId =  # UUID | id of the user

try: 
    # Get all eligible buds 
    api_response = api_instance.get_all_buds(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BudsApi->getAllBuds: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


getFilteredBuds

Get all eligible buds with specified preferences

Returns all buds with specified parking preference


/buds/{userId}/filter

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/buds/{userId}/filter"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BudsApi;

import java.io.File;
import java.util.*;

public class BudsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BudsApi apiInstance = new BudsApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getFilteredBuds(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BudsApi#getFilteredBuds");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BudsApi;

public class BudsApiExample {

    public static void main(String[] args) {
        BudsApi apiInstance = new BudsApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getFilteredBuds(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BudsApi#getFilteredBuds");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

BudsApi *apiInstance = [[BudsApi alloc] init];

// Get all eligible buds with specified preferences
[apiInstance getFilteredBudsWith:userId
              completionHandler: ^(array[User] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.BudsApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFilteredBuds(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getFilteredBudsExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new BudsApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Get all eligible buds with specified preferences
                array[User] result = apiInstance.getFilteredBuds(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BudsApi.getFilteredBuds: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\BudsApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->getFilteredBuds($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BudsApi->getFilteredBuds: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BudsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BudsApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->getFilteredBuds(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BudsApi->getFilteredBuds: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BudsApi()
userId =  # UUID | id of the user

try: 
    # Get all eligible buds with specified preferences
    api_response = api_instance.get_filtered_buds(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BudsApi->getFilteredBuds: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


Match

addMatch

Add a match

Adds a match to the user with the given id


/match/{userId}

Usage and SDK Samples

curl -X POST -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/match/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MatchApi;

import java.io.File;
import java.util.*;

public class MatchApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            Match result = apiInstance.addMatch(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#addMatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MatchApi;

public class MatchApiExample {

    public static void main(String[] args) {
        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            Match result = apiInstance.addMatch(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#addMatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

MatchApi *apiInstance = [[MatchApi alloc] init];

// Add a match
[apiInstance addMatchWith:userId
              completionHandler: ^(Match output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.MatchApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addMatch(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addMatchExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new MatchApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Add a match
                Match result = apiInstance.addMatch(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MatchApi.addMatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\MatchApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->addMatch($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MatchApi->addMatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MatchApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MatchApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->addMatch(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MatchApi->addMatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MatchApi()
userId =  # UUID | id of the user

try: 
    # Add a match
    api_response = api_instance.add_match(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MatchApi->addMatch: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


deleteMatch

Delete a match

Destroys the match for both user with the given id and the match


/match/{userId}

Usage and SDK Samples

curl -X DELETE -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/match/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MatchApi;

import java.io.File;
import java.util.*;

public class MatchApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            apiInstance.deleteMatch(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#deleteMatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MatchApi;

public class MatchApiExample {

    public static void main(String[] args) {
        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            apiInstance.deleteMatch(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#deleteMatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

MatchApi *apiInstance = [[MatchApi alloc] init];

// Delete a match
[apiInstance deleteMatchWith:userId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.MatchApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteMatch(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteMatchExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new MatchApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Delete a match
                apiInstance.deleteMatch(userId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MatchApi.deleteMatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\MatchApi();
$userId = ; // UUID | id of the user

try {
    $api_instance->deleteMatch($userId);
} catch (Exception $e) {
    echo 'Exception when calling MatchApi->deleteMatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MatchApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MatchApi->new();
my $userId = ; # UUID | id of the user

eval { 
    $api_instance->deleteMatch(userId => $userId);
};
if ($@) {
    warn "Exception when calling MatchApi->deleteMatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MatchApi()
userId =  # UUID | id of the user

try: 
    # Delete a match
    api_instance.delete_match(userId)
except ApiException as e:
    print("Exception when calling MatchApi->deleteMatch: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 204 - successful operation


getAllMatches

Get all matches

Returns all matches associated with the given user


/match/{userId}

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/match/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MatchApi;

import java.io.File;
import java.util.*;

public class MatchApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getAllMatches(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#getAllMatches");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MatchApi;

public class MatchApiExample {

    public static void main(String[] args) {
        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getAllMatches(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#getAllMatches");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

MatchApi *apiInstance = [[MatchApi alloc] init];

// Get all matches
[apiInstance getAllMatchesWith:userId
              completionHandler: ^(array[User] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.MatchApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllMatches(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllMatchesExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new MatchApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Get all matches
                array[User] result = apiInstance.getAllMatches(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MatchApi.getAllMatches: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\MatchApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->getAllMatches($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MatchApi->getAllMatches: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MatchApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MatchApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->getAllMatches(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MatchApi->getAllMatches: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MatchApi()
userId =  # UUID | id of the user

try: 
    # Get all matches
    api_response = api_instance.get_all_matches(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MatchApi->getAllMatches: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


markContacted

Mark a match as contacted

Mark match as contacted for the user with the given id


/match/{userId}

Usage and SDK Samples

curl -X PUT -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/match/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MatchApi;

import java.io.File;
import java.util.*;

public class MatchApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            Match result = apiInstance.markContacted(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#markContacted");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MatchApi;

public class MatchApiExample {

    public static void main(String[] args) {
        MatchApi apiInstance = new MatchApi();
        UUID userId = ; // UUID | id of the user
        try {
            Match result = apiInstance.markContacted(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MatchApi#markContacted");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

MatchApi *apiInstance = [[MatchApi alloc] init];

// Mark a match as contacted
[apiInstance markContactedWith:userId
              completionHandler: ^(Match output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.MatchApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.markContacted(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class markContactedExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new MatchApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Mark a match as contacted
                Match result = apiInstance.markContacted(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MatchApi.markContacted: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\MatchApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->markContacted($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MatchApi->markContacted: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MatchApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MatchApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->markContacted(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MatchApi->markContacted: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MatchApi()
userId =  # UUID | id of the user

try: 
    # Mark a match as contacted
    api_response = api_instance.mark_contacted(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MatchApi->markContacted: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


Seen

addSeen

Add a seen

Adds a seen to the user with the given id


/seen/{userId}

Usage and SDK Samples

curl -X POST -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/seen/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeenApi;

import java.io.File;
import java.util.*;

public class SeenApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        SeenApi apiInstance = new SeenApi();
        UUID userId = ; // UUID | id of the user
        try {
            Seen result = apiInstance.addSeen(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeenApi#addSeen");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeenApi;

public class SeenApiExample {

    public static void main(String[] args) {
        SeenApi apiInstance = new SeenApi();
        UUID userId = ; // UUID | id of the user
        try {
            Seen result = apiInstance.addSeen(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeenApi#addSeen");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

SeenApi *apiInstance = [[SeenApi alloc] init];

// Add a seen
[apiInstance addSeenWith:userId
              completionHandler: ^(Seen output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.SeenApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addSeen(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addSeenExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new SeenApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Add a seen
                Seen result = apiInstance.addSeen(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeenApi.addSeen: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\SeenApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->addSeen($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeenApi->addSeen: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeenApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::SeenApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->addSeen(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeenApi->addSeen: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.SeenApi()
userId =  # UUID | id of the user

try: 
    # Add a seen
    api_response = api_instance.add_seen(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeenApi->addSeen: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


getAllSeens

Get all seens belonging to a user

Returns all buds that the user has seen


/seen/{userId}

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/seen/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeenApi;

import java.io.File;
import java.util.*;

public class SeenApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        SeenApi apiInstance = new SeenApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getAllSeens(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeenApi#getAllSeens");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeenApi;

public class SeenApiExample {

    public static void main(String[] args) {
        SeenApi apiInstance = new SeenApi();
        UUID userId = ; // UUID | id of the user
        try {
            array[User] result = apiInstance.getAllSeens(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeenApi#getAllSeens");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

SeenApi *apiInstance = [[SeenApi alloc] init];

// Get all seens belonging to a user 
[apiInstance getAllSeensWith:userId
              completionHandler: ^(array[User] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.SeenApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllSeens(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllSeensExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new SeenApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Get all seens belonging to a user 
                array[User] result = apiInstance.getAllSeens(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeenApi.getAllSeens: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\SeenApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->getAllSeens($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeenApi->getAllSeens: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeenApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::SeenApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->getAllSeens(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeenApi->getAllSeens: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.SeenApi()
userId =  # UUID | id of the user

try: 
    # Get all seens belonging to a user 
    api_response = api_instance.get_all_seens(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeenApi->getAllSeens: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


User

addScheduleEntry

Add an entry to a user's schedule

Creates a schedule entry for the user with the given id


/user/schedule/day/{userId}

Usage and SDK Samples

curl -X PUT -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/schedule/day/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user
        try {
            Day result = apiInstance.addScheduleEntry(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#addScheduleEntry");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user
        try {
            Day result = apiInstance.addScheduleEntry(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#addScheduleEntry");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

UserApi *apiInstance = [[UserApi alloc] init];

// Add an entry to a user's schedule
[apiInstance addScheduleEntryWith:userId
              completionHandler: ^(Day output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addScheduleEntry(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addScheduleEntryExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Add an entry to a user's schedule
                Day result = apiInstance.addScheduleEntry(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.addScheduleEntry: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->addScheduleEntry($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->addScheduleEntry: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->addScheduleEntry(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->addScheduleEntry: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the user

try: 
    # Add an entry to a user's schedule
    api_response = api_instance.add_schedule_entry(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->addScheduleEntry: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


addSpot

Add an occupied parking spot

Creates the parking spot of the user with the given id


/user/vehicle/spot/{userId}

Usage and SDK Samples

curl -X PUT -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/spot/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            ParkingSpot result = apiInstance.addSpot(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#addSpot");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            ParkingSpot result = apiInstance.addSpot(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#addSpot");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Add an occupied parking spot
[apiInstance addSpotWith:userId
              completionHandler: ^(ParkingSpot output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addSpot(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addSpotExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Add an occupied parking spot
                ParkingSpot result = apiInstance.addSpot(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.addSpot: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $result = $api_instance->addSpot($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->addSpot: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    my $result = $api_instance->addSpot(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->addSpot: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Add an occupied parking spot
    api_response = api_instance.add_spot(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->addSpot: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


addVehicle

Add a user's vehicle

Creates and returns the vehicle of the user with the given id


/user/vehicle/{userId}

Usage and SDK Samples

curl -X POST -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            Vehicle result = apiInstance.addVehicle(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#addVehicle");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            Vehicle result = apiInstance.addVehicle(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#addVehicle");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Add a user's vehicle
[apiInstance addVehicleWith:userId
              completionHandler: ^(Vehicle output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addVehicle(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addVehicleExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Add a user's vehicle
                Vehicle result = apiInstance.addVehicle(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.addVehicle: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $result = $api_instance->addVehicle($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->addVehicle: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    my $result = $api_instance->addVehicle(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->addVehicle: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Add a user's vehicle
    api_response = api_instance.add_vehicle(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->addVehicle: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


deleteSchedule

Delete a user's schedule

Destroys the schedule of the user with the given id


/user/schedule/{userId}

Usage and SDK Samples

curl -X DELETE -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/schedule/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteSchedule(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteSchedule");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteSchedule(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteSchedule");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Delete a user's schedule
[apiInstance deleteScheduleWith:userId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteSchedule(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteScheduleExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Delete a user's schedule
                apiInstance.deleteSchedule(userId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.deleteSchedule: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $api_instance->deleteSchedule($userId);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->deleteSchedule: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    $api_instance->deleteSchedule(userId => $userId);
};
if ($@) {
    warn "Exception when calling UserApi->deleteSchedule: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Delete a user's schedule
    api_instance.delete_schedule(userId)
except ApiException as e:
    print("Exception when calling UserApi->deleteSchedule: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 204 - successful operation


deleteScheduleEntry

Remove a schedule entry

Destroys the schedule entry of the user with the given id and specified day of week


/user/schedule/day/{userId}

Usage and SDK Samples

curl -X DELETE -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/schedule/day/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteScheduleEntry(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteScheduleEntry");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteScheduleEntry(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteScheduleEntry");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Remove a schedule entry
[apiInstance deleteScheduleEntryWith:userId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteScheduleEntry(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteScheduleEntryExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Remove a schedule entry
                apiInstance.deleteScheduleEntry(userId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.deleteScheduleEntry: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $api_instance->deleteScheduleEntry($userId);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->deleteScheduleEntry: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    $api_instance->deleteScheduleEntry(userId => $userId);
};
if ($@) {
    warn "Exception when calling UserApi->deleteScheduleEntry: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Remove a schedule entry
    api_instance.delete_schedule_entry(userId)
except ApiException as e:
    print("Exception when calling UserApi->deleteScheduleEntry: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 204 - successful operation


deleteSpot

Remove a parking spot

Destroys the parking spot of the user with the given id


/user/vehicle/spot/{userId}

Usage and SDK Samples

curl -X DELETE -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/spot/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteSpot(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteSpot");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteSpot(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteSpot");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Remove a parking spot
[apiInstance deleteSpotWith:userId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteSpot(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteSpotExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Remove a parking spot
                apiInstance.deleteSpot(userId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.deleteSpot: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $api_instance->deleteSpot($userId);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->deleteSpot: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    $api_instance->deleteSpot(userId => $userId);
};
if ($@) {
    warn "Exception when calling UserApi->deleteSpot: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Remove a parking spot
    api_instance.delete_spot(userId)
except ApiException as e:
    print("Exception when calling UserApi->deleteSpot: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 204 - successful operation


deleteUser

Delete user

Destroys the user with the given id


/user/{userId}

Usage and SDK Samples

curl -X DELETE -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user to return
        try {
            apiInstance.deleteUser(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user to return
        try {
            apiInstance.deleteUser(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user to return

UserApi *apiInstance = [[UserApi alloc] init];

// Delete user
[apiInstance deleteUserWith:userId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the user to return


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUser(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteUserExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the user to return

            try
            {
                // Delete user
                apiInstance.deleteUser(userId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.deleteUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the user to return

try {
    $api_instance->deleteUser($userId);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->deleteUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the user to return

eval { 
    $api_instance->deleteUser(userId => $userId);
};
if ($@) {
    warn "Exception when calling UserApi->deleteUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the user to return

try: 
    # Delete user
    api_instance.delete_user(userId)
except ApiException as e:
    print("Exception when calling UserApi->deleteUser: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user to return
Required

Responses

Status: 204 - successful operation


deleteVehicle

Delete a user's vehicle

Destroys the vehicle of the user with the given id


/user/vehicle/{userId}

Usage and SDK Samples

curl -X DELETE -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteVehicle(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteVehicle");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            apiInstance.deleteVehicle(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#deleteVehicle");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Delete a user's vehicle
[apiInstance deleteVehicleWith:userId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteVehicle(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteVehicleExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Delete a user's vehicle
                apiInstance.deleteVehicle(userId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.deleteVehicle: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $api_instance->deleteVehicle($userId);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->deleteVehicle: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    $api_instance->deleteVehicle(userId => $userId);
};
if ($@) {
    warn "Exception when calling UserApi->deleteVehicle: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Delete a user's vehicle
    api_instance.delete_vehicle(userId)
except ApiException as e:
    print("Exception when calling UserApi->deleteVehicle: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 204 - successful operation


getSchedule

Get a user's schedule

Returns the schedule of the user with the given id


/user/schedule/{userId}

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/schedule/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            array[Day] result = apiInstance.getSchedule(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getSchedule");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            array[Day] result = apiInstance.getSchedule(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getSchedule");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Get a user's schedule
[apiInstance getScheduleWith:userId
              completionHandler: ^(array[Day] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSchedule(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getScheduleExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Get a user's schedule
                array[Day] result = apiInstance.getSchedule(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.getSchedule: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $result = $api_instance->getSchedule($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->getSchedule: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    my $result = $api_instance->getSchedule(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->getSchedule: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Get a user's schedule
    api_response = api_instance.get_schedule(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->getSchedule: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


getSpot

Get a parked user's spot

Returns the parking spot of the user with the given id


/user/vehicle/spot/{userId}

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/spot/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            ParkingSpot result = apiInstance.getSpot(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getSpot");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            ParkingSpot result = apiInstance.getSpot(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getSpot");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Get a parked user's spot
[apiInstance getSpotWith:userId
              completionHandler: ^(ParkingSpot output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSpot(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSpotExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Get a parked user's spot
                ParkingSpot result = apiInstance.getSpot(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.getSpot: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $result = $api_instance->getSpot($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->getSpot: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    my $result = $api_instance->getSpot(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->getSpot: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Get a parked user's spot
    api_response = api_instance.get_spot(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->getSpot: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


getUser

Get user

Returns the user with the given id


/user/{userId}

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user to return
        try {
            User result = apiInstance.getUser(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user to return
        try {
            User result = apiInstance.getUser(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user to return

UserApi *apiInstance = [[UserApi alloc] init];

// Get user
[apiInstance getUserWith:userId
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the user to return


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUser(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUserExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the user to return

            try
            {
                // Get user
                User result = apiInstance.getUser(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.getUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the user to return

try {
    $result = $api_instance->getUser($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->getUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the user to return

eval { 
    my $result = $api_instance->getUser(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->getUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the user to return

try: 
    # Get user
    api_response = api_instance.get_user(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->getUser: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user to return
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


getVehicle

Get a user's vehicle

Returns the vehicle of the user with the given id


/user/vehicle/{userId}

Usage and SDK Samples

curl -X GET -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            Vehicle result = apiInstance.getVehicle(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getVehicle");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            Vehicle result = apiInstance.getVehicle(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#getVehicle");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Get a user's vehicle
[apiInstance getVehicleWith:userId
              completionHandler: ^(Vehicle output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getVehicle(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getVehicleExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Get a user's vehicle
                Vehicle result = apiInstance.getVehicle(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.getVehicle: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $result = $api_instance->getVehicle($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->getVehicle: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    my $result = $api_instance->getVehicle(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->getVehicle: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Get a user's vehicle
    api_response = api_instance.get_vehicle(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->getVehicle: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


updateScheduleEntry

Update a user's schedule entry

Returns the updated schedule entry of the user with the given id


/user/schedule/day/{userId}

Usage and SDK Samples

curl -X POST -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/schedule/day/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user
        try {
            Day result = apiInstance.updateScheduleEntry(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateScheduleEntry");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user
        try {
            Day result = apiInstance.updateScheduleEntry(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateScheduleEntry");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user

UserApi *apiInstance = [[UserApi alloc] init];

// Update a user's schedule entry
[apiInstance updateScheduleEntryWith:userId
              completionHandler: ^(Day output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateScheduleEntry(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateScheduleEntryExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the user

            try
            {
                // Update a user's schedule entry
                Day result = apiInstance.updateScheduleEntry(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.updateScheduleEntry: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the user

try {
    $result = $api_instance->updateScheduleEntry($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->updateScheduleEntry: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the user

eval { 
    my $result = $api_instance->updateScheduleEntry(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->updateScheduleEntry: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the user

try: 
    # Update a user's schedule entry
    api_response = api_instance.update_schedule_entry(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->updateScheduleEntry: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


updateSpot

Update info about a parked user's spot

Returns the updated parking spot of the user with the given id


/user/vehicle/spot/{userId}

Usage and SDK Samples

curl -X POST -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/spot/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            ParkingSpot result = apiInstance.updateSpot(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateSpot");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            ParkingSpot result = apiInstance.updateSpot(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateSpot");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Update info about a parked user's spot
[apiInstance updateSpotWith:userId
              completionHandler: ^(ParkingSpot output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSpot(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateSpotExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Update info about a parked user's spot
                ParkingSpot result = apiInstance.updateSpot(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.updateSpot: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $result = $api_instance->updateSpot($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->updateSpot: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    my $result = $api_instance->updateSpot(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->updateSpot: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Update info about a parked user's spot
    api_response = api_instance.update_spot(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->updateSpot: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


updateUser

Update user

Returns the updated user with the given id


/user/{userId}

Usage and SDK Samples

curl -X PUT -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user to return
        try {
            User result = apiInstance.updateUser(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the user to return
        try {
            User result = apiInstance.updateUser(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateUser");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the user to return

UserApi *apiInstance = [[UserApi alloc] init];

// Update user
[apiInstance updateUserWith:userId
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the user to return


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateUser(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateUserExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the user to return

            try
            {
                // Update user
                User result = apiInstance.updateUser(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.updateUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the user to return

try {
    $result = $api_instance->updateUser($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->updateUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the user to return

eval { 
    my $result = $api_instance->updateUser(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->updateUser: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the user to return

try: 
    # Update user
    api_response = api_instance.update_user(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->updateUser: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the user to return
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided


updateVehicle

Update a user's vehicle

Updates and returns the vehicle of the user with the given id


/user/vehicle/{userId}

Usage and SDK Samples

curl -X PUT -H "api_key: [[apiKey]]" "https://virtserver.swaggerhub.com/thejavabeanteam/ParkBud/1.0.0/user/vehicle/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            Vehicle result = apiInstance.updateVehicle(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateVehicle");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        UUID userId = ; // UUID | id of the owner
        try {
            Vehicle result = apiInstance.updateVehicle(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#updateVehicle");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"api_key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"api_key"];

UUID *userId = ; // id of the owner

UserApi *apiInstance = [[UserApi alloc] init];

// Update a user's vehicle
[apiInstance updateVehicleWith:userId
              completionHandler: ^(Vehicle output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParkBudApi = require('park_bud_api');
var defaultClient = ParkBudApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['api_key'] = "Token"

var api = new ParkBudApi.UserApi()

var userId = ; // {UUID} id of the owner


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateVehicle(userId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateVehicleExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("api_key", "Bearer");

            var apiInstance = new UserApi();
            var userId = new UUID(); // UUID | id of the owner

            try
            {
                // Update a user's vehicle
                Vehicle result = apiInstance.updateVehicle(userId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.updateVehicle: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');

$api_instance = new Swagger\Client\Api\UserApi();
$userId = ; // UUID | id of the owner

try {
    $result = $api_instance->updateVehicle($userId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->updateVehicle: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'api_key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'api_key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $userId = ; # UUID | id of the owner

eval { 
    my $result = $api_instance->updateVehicle(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->updateVehicle: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['api_key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.UserApi()
userId =  # UUID | id of the owner

try: 
    # Update a user's vehicle
    api_response = api_instance.update_vehicle(userId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->updateVehicle: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
UUID (uuid)
id of the owner
Required

Responses

Status: 200 - successful operation

Status: 401 - Invalid user id was provided