Public Toilet API

Developers

listAllProvinces

List All Provinces

description goes here


/provinces

Usage and SDK Samples

curl -X GET "http://pt.cambodiacleanup.com/api//provinces?title=&order_by="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevelopersApi;

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

public class DevelopersApiExample {

    public static void main(String[] args) {
        
        DevelopersApi apiInstance = new DevelopersApi();
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String title = title_example; // String | pass the name or title of the toilet
        String orderBy = orderBy_example; // String | pass asc or desc for sorting
        try {
            apiInstance.listAllProvinces(xAPIKEY, title, orderBy);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#listAllProvinces");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DevelopersApi;

public class DevelopersApiExample {

    public static void main(String[] args) {
        DevelopersApi apiInstance = new DevelopersApi();
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String title = title_example; // String | pass the name or title of the toilet
        String orderBy = orderBy_example; // String | pass asc or desc for sorting
        try {
            apiInstance.listAllProvinces(xAPIKEY, title, orderBy);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#listAllProvinces");
            e.printStackTrace();
        }
    }
}
String *xAPIKEY = xAPIKEY_example; // place your apiKey here
String *title = title_example; // pass the name or title of the toilet (optional)
String *orderBy = orderBy_example; // pass asc or desc for sorting (optional)

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

// List All Provinces
[apiInstance listAllProvincesWith:xAPIKEY
    title:title
    orderBy:orderBy
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PublicToiletApi = require('public_toilet_api');

var api = new PublicToiletApi.DevelopersApi()

var xAPIKEY = xAPIKEY_example; // {String} place your apiKey here

var opts = { 
  'title': title_example, // {String} pass the name or title of the toilet
  'orderBy': orderBy_example // {String} pass asc or desc for sorting
};

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

namespace Example
{
    public class listAllProvincesExample
    {
        public void main()
        {
            
            var apiInstance = new DevelopersApi();
            var xAPIKEY = xAPIKEY_example;  // String | place your apiKey here
            var title = title_example;  // String | pass the name or title of the toilet (optional) 
            var orderBy = orderBy_example;  // String | pass asc or desc for sorting (optional) 

            try
            {
                // List All Provinces
                apiInstance.listAllProvinces(xAPIKEY, title, orderBy);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DevelopersApi.listAllProvinces: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevelopersApi();
$xAPIKEY = xAPIKEY_example; // String | place your apiKey here
$title = title_example; // String | pass the name or title of the toilet
$orderBy = orderBy_example; // String | pass asc or desc for sorting

try {
    $api_instance->listAllProvinces($xAPIKEY, $title, $orderBy);
} catch (Exception $e) {
    echo 'Exception when calling DevelopersApi->listAllProvinces: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevelopersApi;

my $api_instance = WWW::SwaggerClient::DevelopersApi->new();
my $xAPIKEY = xAPIKEY_example; # String | place your apiKey here
my $title = title_example; # String | pass the name or title of the toilet
my $orderBy = orderBy_example; # String | pass asc or desc for sorting

eval { 
    $api_instance->listAllProvinces(xAPIKEY => $xAPIKEY, title => $title, orderBy => $orderBy);
};
if ($@) {
    warn "Exception when calling DevelopersApi->listAllProvinces: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevelopersApi()
xAPIKEY = xAPIKEY_example # String | place your apiKey here
title = title_example # String | pass the name or title of the toilet (optional)
orderBy = orderBy_example # String | pass asc or desc for sorting (optional)

try: 
    # List All Provinces
    api_instance.list_all_provinces(xAPIKEY, title=title, orderBy=orderBy)
except ApiException as e:
    print("Exception when calling DevelopersApi->listAllProvinces: %s\n" % e)

Parameters

Header parameters
Name Description
X_API_KEY*
String
place your apiKey here
Required
Query parameters
Name Description
title
String
pass the name or title of the toilet
order_by
String
pass asc or desc for sorting

Responses

Status: 200 - search results matching criteria

Status: 400 - bad input parameter


listAllToiletCategories

List All Toilet's categories

description goes here


/toilet_categories

Usage and SDK Samples

curl -X GET "http://pt.cambodiacleanup.com/api//toilet_categories?title=&order_by="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevelopersApi;

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

public class DevelopersApiExample {

    public static void main(String[] args) {
        
        DevelopersApi apiInstance = new DevelopersApi();
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String title = title_example; // String | pass the name or title of the toilet
        String orderBy = orderBy_example; // String | pass asc or desc for sorting
        try {
            apiInstance.listAllToiletCategories(xAPIKEY, title, orderBy);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#listAllToiletCategories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DevelopersApi;

public class DevelopersApiExample {

    public static void main(String[] args) {
        DevelopersApi apiInstance = new DevelopersApi();
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String title = title_example; // String | pass the name or title of the toilet
        String orderBy = orderBy_example; // String | pass asc or desc for sorting
        try {
            apiInstance.listAllToiletCategories(xAPIKEY, title, orderBy);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#listAllToiletCategories");
            e.printStackTrace();
        }
    }
}
String *xAPIKEY = xAPIKEY_example; // place your apiKey here
String *title = title_example; // pass the name or title of the toilet (optional)
String *orderBy = orderBy_example; // pass asc or desc for sorting (optional)

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

// List All Toilet's categories
[apiInstance listAllToiletCategoriesWith:xAPIKEY
    title:title
    orderBy:orderBy
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PublicToiletApi = require('public_toilet_api');

var api = new PublicToiletApi.DevelopersApi()

var xAPIKEY = xAPIKEY_example; // {String} place your apiKey here

var opts = { 
  'title': title_example, // {String} pass the name or title of the toilet
  'orderBy': orderBy_example // {String} pass asc or desc for sorting
};

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

namespace Example
{
    public class listAllToiletCategoriesExample
    {
        public void main()
        {
            
            var apiInstance = new DevelopersApi();
            var xAPIKEY = xAPIKEY_example;  // String | place your apiKey here
            var title = title_example;  // String | pass the name or title of the toilet (optional) 
            var orderBy = orderBy_example;  // String | pass asc or desc for sorting (optional) 

            try
            {
                // List All Toilet's categories
                apiInstance.listAllToiletCategories(xAPIKEY, title, orderBy);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DevelopersApi.listAllToiletCategories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevelopersApi();
$xAPIKEY = xAPIKEY_example; // String | place your apiKey here
$title = title_example; // String | pass the name or title of the toilet
$orderBy = orderBy_example; // String | pass asc or desc for sorting

try {
    $api_instance->listAllToiletCategories($xAPIKEY, $title, $orderBy);
} catch (Exception $e) {
    echo 'Exception when calling DevelopersApi->listAllToiletCategories: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevelopersApi;

my $api_instance = WWW::SwaggerClient::DevelopersApi->new();
my $xAPIKEY = xAPIKEY_example; # String | place your apiKey here
my $title = title_example; # String | pass the name or title of the toilet
my $orderBy = orderBy_example; # String | pass asc or desc for sorting

eval { 
    $api_instance->listAllToiletCategories(xAPIKEY => $xAPIKEY, title => $title, orderBy => $orderBy);
};
if ($@) {
    warn "Exception when calling DevelopersApi->listAllToiletCategories: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevelopersApi()
xAPIKEY = xAPIKEY_example # String | place your apiKey here
title = title_example # String | pass the name or title of the toilet (optional)
orderBy = orderBy_example # String | pass asc or desc for sorting (optional)

try: 
    # List All Toilet's categories
    api_instance.list_all_toilet_categories(xAPIKEY, title=title, orderBy=orderBy)
except ApiException as e:
    print("Exception when calling DevelopersApi->listAllToiletCategories: %s\n" % e)

Parameters

Header parameters
Name Description
X_API_KEY*
String
place your apiKey here
Required
Query parameters
Name Description
title
String
pass the name or title of the toilet
order_by
String
pass asc or desc for sorting

Responses

Status: 200 - search results matching criteria

Status: 400 - bad input parameter


searchToilet

get all toilets

By passing in the appropriate options, you can search for available toilets


/toilets

Usage and SDK Samples

curl -X GET "http://pt.cambodiacleanup.com/api//toilets?title=&province_id=&order_by=&display=&toilet_category=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevelopersApi;

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

public class DevelopersApiExample {

    public static void main(String[] args) {
        
        DevelopersApi apiInstance = new DevelopersApi();
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String title = title_example; // String | pass the name or title of the toilet
        Integer provinceId = 56; // Integer | pass the id of the province for searching
        String orderBy = orderBy_example; // String | pass asc or desc for sorting
        Integer display = 56; // Integer | show number of records in each page
        Integer toiletCategory = 56; // Integer | pass the id of the category for searching
        Integer page = 56; // Integer | pass the page number here
        try {
            apiInstance.searchToilet(xAPIKEY, title, provinceId, orderBy, display, toiletCategory, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#searchToilet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DevelopersApi;

public class DevelopersApiExample {

    public static void main(String[] args) {
        DevelopersApi apiInstance = new DevelopersApi();
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String title = title_example; // String | pass the name or title of the toilet
        Integer provinceId = 56; // Integer | pass the id of the province for searching
        String orderBy = orderBy_example; // String | pass asc or desc for sorting
        Integer display = 56; // Integer | show number of records in each page
        Integer toiletCategory = 56; // Integer | pass the id of the category for searching
        Integer page = 56; // Integer | pass the page number here
        try {
            apiInstance.searchToilet(xAPIKEY, title, provinceId, orderBy, display, toiletCategory, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#searchToilet");
            e.printStackTrace();
        }
    }
}
String *xAPIKEY = xAPIKEY_example; // place your apiKey here
String *title = title_example; // pass the name or title of the toilet (optional)
Integer *provinceId = 56; // pass the id of the province for searching (optional)
String *orderBy = orderBy_example; // pass asc or desc for sorting (optional)
Integer *display = 56; // show number of records in each page (optional)
Integer *toiletCategory = 56; // pass the id of the category for searching (optional)
Integer *page = 56; // pass the page number here (optional)

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

// get all toilets
[apiInstance searchToiletWith:xAPIKEY
    title:title
    provinceId:provinceId
    orderBy:orderBy
    display:display
    toiletCategory:toiletCategory
    page:page
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PublicToiletApi = require('public_toilet_api');

var api = new PublicToiletApi.DevelopersApi()

var xAPIKEY = xAPIKEY_example; // {String} place your apiKey here

var opts = { 
  'title': title_example, // {String} pass the name or title of the toilet
  'provinceId': 56, // {Integer} pass the id of the province for searching
  'orderBy': orderBy_example, // {String} pass asc or desc for sorting
  'display': 56, // {Integer} show number of records in each page
  'toiletCategory': 56, // {Integer} pass the id of the category for searching
  'page': 56 // {Integer} pass the page number here
};

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

namespace Example
{
    public class searchToiletExample
    {
        public void main()
        {
            
            var apiInstance = new DevelopersApi();
            var xAPIKEY = xAPIKEY_example;  // String | place your apiKey here
            var title = title_example;  // String | pass the name or title of the toilet (optional) 
            var provinceId = 56;  // Integer | pass the id of the province for searching (optional) 
            var orderBy = orderBy_example;  // String | pass asc or desc for sorting (optional) 
            var display = 56;  // Integer | show number of records in each page (optional) 
            var toiletCategory = 56;  // Integer | pass the id of the category for searching (optional) 
            var page = 56;  // Integer | pass the page number here (optional) 

            try
            {
                // get all toilets
                apiInstance.searchToilet(xAPIKEY, title, provinceId, orderBy, display, toiletCategory, page);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DevelopersApi.searchToilet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevelopersApi();
$xAPIKEY = xAPIKEY_example; // String | place your apiKey here
$title = title_example; // String | pass the name or title of the toilet
$provinceId = 56; // Integer | pass the id of the province for searching
$orderBy = orderBy_example; // String | pass asc or desc for sorting
$display = 56; // Integer | show number of records in each page
$toiletCategory = 56; // Integer | pass the id of the category for searching
$page = 56; // Integer | pass the page number here

try {
    $api_instance->searchToilet($xAPIKEY, $title, $provinceId, $orderBy, $display, $toiletCategory, $page);
} catch (Exception $e) {
    echo 'Exception when calling DevelopersApi->searchToilet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevelopersApi;

my $api_instance = WWW::SwaggerClient::DevelopersApi->new();
my $xAPIKEY = xAPIKEY_example; # String | place your apiKey here
my $title = title_example; # String | pass the name or title of the toilet
my $provinceId = 56; # Integer | pass the id of the province for searching
my $orderBy = orderBy_example; # String | pass asc or desc for sorting
my $display = 56; # Integer | show number of records in each page
my $toiletCategory = 56; # Integer | pass the id of the category for searching
my $page = 56; # Integer | pass the page number here

eval { 
    $api_instance->searchToilet(xAPIKEY => $xAPIKEY, title => $title, provinceId => $provinceId, orderBy => $orderBy, display => $display, toiletCategory => $toiletCategory, page => $page);
};
if ($@) {
    warn "Exception when calling DevelopersApi->searchToilet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevelopersApi()
xAPIKEY = xAPIKEY_example # String | place your apiKey here
title = title_example # String | pass the name or title of the toilet (optional)
provinceId = 56 # Integer | pass the id of the province for searching (optional)
orderBy = orderBy_example # String | pass asc or desc for sorting (optional)
display = 56 # Integer | show number of records in each page (optional)
toiletCategory = 56 # Integer | pass the id of the category for searching (optional)
page = 56 # Integer | pass the page number here (optional)

try: 
    # get all toilets
    api_instance.search_toilet(xAPIKEY, title=title, provinceId=provinceId, orderBy=orderBy, display=display, toiletCategory=toiletCategory, page=page)
except ApiException as e:
    print("Exception when calling DevelopersApi->searchToilet: %s\n" % e)

Parameters

Header parameters
Name Description
X_API_KEY*
String
place your apiKey here
Required
Query parameters
Name Description
title
String
pass the name or title of the toilet
province_id
Integer (int32)
pass the id of the province for searching
order_by
String
pass asc or desc for sorting
display
Integer (int32)
show number of records in each page
toilet_category
Integer (int32)
pass the id of the category for searching
page
Integer (int32)
pass the page number here

Responses

Status: 200 - search results matching criteria

Status: 400 - bad input parameter


voteAction

Action for voting with smileyface


/vote_action

Usage and SDK Samples

curl -X POST "http://pt.cambodiacleanup.com/api//vote_action?smileyface=&toilet_id=&description="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevelopersApi;

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

public class DevelopersApiExample {

    public static void main(String[] args) {
        
        DevelopersApi apiInstance = new DevelopersApi();
        Integer smileyface = 56; // Integer | smiley face is the score of the symbol
        Integer toiletId = 56; // Integer | The ID of the toilet
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String description = description_example; // String | You can give an idea on this toilet
        Body body = ; // Body | 
        try {
            apiInstance.voteAction(smileyface, toiletId, xAPIKEY, description, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#voteAction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DevelopersApi;

public class DevelopersApiExample {

    public static void main(String[] args) {
        DevelopersApi apiInstance = new DevelopersApi();
        Integer smileyface = 56; // Integer | smiley face is the score of the symbol
        Integer toiletId = 56; // Integer | The ID of the toilet
        String xAPIKEY = xAPIKEY_example; // String | place your apiKey here
        String description = description_example; // String | You can give an idea on this toilet
        Body body = ; // Body | 
        try {
            apiInstance.voteAction(smileyface, toiletId, xAPIKEY, description, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevelopersApi#voteAction");
            e.printStackTrace();
        }
    }
}
Integer *smileyface = 56; // smiley face is the score of the symbol
Integer *toiletId = 56; // The ID of the toilet
String *xAPIKEY = xAPIKEY_example; // place your apiKey here
String *description = description_example; // You can give an idea on this toilet (optional)
Body *body = ; //  (optional)

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

// Action for voting with smileyface
[apiInstance voteActionWith:smileyface
    toiletId:toiletId
    xAPIKEY:xAPIKEY
    description:description
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PublicToiletApi = require('public_toilet_api');

var api = new PublicToiletApi.DevelopersApi()

var smileyface = 56; // {Integer} smiley face is the score of the symbol

var toiletId = 56; // {Integer} The ID of the toilet

var xAPIKEY = xAPIKEY_example; // {String} place your apiKey here

var opts = { 
  'description': description_example, // {String} You can give an idea on this toilet
  'body':  // {Body} 
};

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

namespace Example
{
    public class voteActionExample
    {
        public void main()
        {
            
            var apiInstance = new DevelopersApi();
            var smileyface = 56;  // Integer | smiley face is the score of the symbol
            var toiletId = 56;  // Integer | The ID of the toilet
            var xAPIKEY = xAPIKEY_example;  // String | place your apiKey here
            var description = description_example;  // String | You can give an idea on this toilet (optional) 
            var body = new Body(); // Body |  (optional) 

            try
            {
                // Action for voting with smileyface
                apiInstance.voteAction(smileyface, toiletId, xAPIKEY, description, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DevelopersApi.voteAction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevelopersApi();
$smileyface = 56; // Integer | smiley face is the score of the symbol
$toiletId = 56; // Integer | The ID of the toilet
$xAPIKEY = xAPIKEY_example; // String | place your apiKey here
$description = description_example; // String | You can give an idea on this toilet
$body = ; // Body | 

try {
    $api_instance->voteAction($smileyface, $toiletId, $xAPIKEY, $description, $body);
} catch (Exception $e) {
    echo 'Exception when calling DevelopersApi->voteAction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevelopersApi;

my $api_instance = WWW::SwaggerClient::DevelopersApi->new();
my $smileyface = 56; # Integer | smiley face is the score of the symbol
my $toiletId = 56; # Integer | The ID of the toilet
my $xAPIKEY = xAPIKEY_example; # String | place your apiKey here
my $description = description_example; # String | You can give an idea on this toilet
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

eval { 
    $api_instance->voteAction(smileyface => $smileyface, toiletId => $toiletId, xAPIKEY => $xAPIKEY, description => $description, body => $body);
};
if ($@) {
    warn "Exception when calling DevelopersApi->voteAction: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevelopersApi()
smileyface = 56 # Integer | smiley face is the score of the symbol
toiletId = 56 # Integer | The ID of the toilet
xAPIKEY = xAPIKEY_example # String | place your apiKey here
description = description_example # String | You can give an idea on this toilet (optional)
body =  # Body |  (optional)

try: 
    # Action for voting with smileyface
    api_instance.vote_action(smileyface, toiletId, xAPIKEY, description=description, body=body)
except ApiException as e:
    print("Exception when calling DevelopersApi->voteAction: %s\n" % e)

Parameters

Header parameters
Name Description
X_API_KEY*
String
place your apiKey here
Required
Body parameters
Name Description
body
Query parameters
Name Description
smileyface*
Integer (int32)
smiley face is the score of the symbol
Required
toilet_id*
Integer (int32)
The ID of the toilet
Required
description
String
You can give an idea on this toilet

Responses

Status: 200 - search results matching criteria

Status: 400 - bad input parameter