MazeMap Updates API (DRAFT)

Default

getDocumentation

Get API documentation


/docs

Usage and SDK Samples

curl -X GET \
-H "X-MAZEMAP-KEY-ID: [[apiKey]]" \
-H "X-MAZEMAP-API-KEY: [[apiKey]]" \
 -H "Accept: text/html" \
 "https://updates.mazemap.com/v1/docs"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: ApiKeyId
        ApiKeyAuth ApiKeyId = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyId");
        ApiKeyId.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyId.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKey
        ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
        ApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKey.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            'String' result = apiInstance.getDocumentation();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getDocumentation");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.getDocumentation();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getDocumentation: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            'String' result = apiInstance.getDocumentation();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getDocumentation");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get API documentation
[apiInstance getDocumentationWithCompletionHandler: 
              ^('String' output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var MazeMapUpdatesApiDraft = require('maze_map_updates_api__draft');
var defaultClient = MazeMapUpdatesApiDraft.ApiClient.instance;

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

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

// Create an instance of the API class
var api = new MazeMapUpdatesApiDraft.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDocumentation(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Get API documentation
                'String' result = apiInstance.getDocumentation();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.getDocumentation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

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

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

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

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

# Configure API key authorization: ApiKeyId
openapi_client.configuration.api_key['X-MAZEMAP-KEY-ID'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['X-MAZEMAP-KEY-ID'] = 'Bearer'

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Get API documentation
    api_response = api_instance.get_documentation()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getDocumentation: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.getDocumentation(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


health

Get health of service container

Returns 200 if container is up.


/health

Usage and SDK Samples

curl -X GET \
-H "X-MAZEMAP-KEY-ID: [[apiKey]]" \
-H "X-MAZEMAP-API-KEY: [[apiKey]]" \
 "https://updates.mazemap.com/v1/health"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: ApiKeyId
        ApiKeyAuth ApiKeyId = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyId");
        ApiKeyId.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyId.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKey
        ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
        ApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKey.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.health();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#health");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.health();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->health: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.health();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#health");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Get health of service container
[apiInstance healthWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var MazeMapUpdatesApiDraft = require('maze_map_updates_api__draft');
var defaultClient = MazeMapUpdatesApiDraft.ApiClient.instance;

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

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

// Create an instance of the API class
var api = new MazeMapUpdatesApiDraft.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.health(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Get health of service container
                apiInstance.health();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.health: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->health();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->health: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

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

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->health();
};
if ($@) {
    warn "Exception when calling DefaultApi->health: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: ApiKeyId
openapi_client.configuration.api_key['X-MAZEMAP-KEY-ID'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['X-MAZEMAP-KEY-ID'] = 'Bearer'

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

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Get health of service container
    api_instance.health()
except ApiException as e:
    print("Exception when calling DefaultApi->health: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.health(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


Drawings

uploadDWG

Upload a new DWG drawing


/drawings

Usage and SDK Samples

curl -X PUT \
-H "X-MAZEMAP-KEY-ID: [[apiKey]]" \
-H "X-MAZEMAP-API-KEY: [[apiKey]]" \
 -H "Content-Type: multipart/form-data" \
 "https://updates.mazemap.com/v1/drawings"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DrawingsApi;

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

public class DrawingsApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: ApiKeyId
        ApiKeyAuth ApiKeyId = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyId");
        ApiKeyId.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyId.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKey
        ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
        ApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKey.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DrawingsApi apiInstance = new DrawingsApi();
        String id = id_example; // String | Unique identifier for the drawing
        File dwg = BINARY_DATA_HERE; // File | 

        try {
            apiInstance.uploadDWG(id, dwg);
        } catch (ApiException e) {
            System.err.println("Exception when calling DrawingsApi#uploadDWG");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | Unique identifier for the drawing
final File dwg = new File(); // File | 

try {
    final result = await api_instance.uploadDWG(id, dwg);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->uploadDWG: $e\n');
}

import org.openapitools.client.api.DrawingsApi;

public class DrawingsApiExample {
    public static void main(String[] args) {
        DrawingsApi apiInstance = new DrawingsApi();
        String id = id_example; // String | Unique identifier for the drawing
        File dwg = BINARY_DATA_HERE; // File | 

        try {
            apiInstance.uploadDWG(id, dwg);
        } catch (ApiException e) {
            System.err.println("Exception when calling DrawingsApi#uploadDWG");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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


// Create an instance of the API class
DrawingsApi *apiInstance = [[DrawingsApi alloc] init];
String *id = id_example; // Unique identifier for the drawing (default to null)
File *dwg = BINARY_DATA_HERE; //  (default to null)

// Upload a new DWG drawing
[apiInstance uploadDWGWith:id
    dwg:dwg
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var MazeMapUpdatesApiDraft = require('maze_map_updates_api__draft');
var defaultClient = MazeMapUpdatesApiDraft.ApiClient.instance;

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

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

// Create an instance of the API class
var api = new MazeMapUpdatesApiDraft.DrawingsApi()
var id = id_example; // {String} Unique identifier for the drawing
var dwg = BINARY_DATA_HERE; // {File} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadDWG(id, dwg, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new DrawingsApi();
            var id = id_example;  // String | Unique identifier for the drawing (default to null)
            var dwg = BINARY_DATA_HERE;  // File |  (default to null)

            try {
                // Upload a new DWG drawing
                apiInstance.uploadDWG(id, dwg);
            } catch (Exception e) {
                Debug.Print("Exception when calling DrawingsApi.uploadDWG: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DrawingsApi();
$id = id_example; // String | Unique identifier for the drawing
$dwg = BINARY_DATA_HERE; // File | 

try {
    $api_instance->uploadDWG($id, $dwg);
} catch (Exception $e) {
    echo 'Exception when calling DrawingsApi->uploadDWG: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DrawingsApi;

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

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DrawingsApi->new();
my $id = id_example; # String | Unique identifier for the drawing
my $dwg = BINARY_DATA_HERE; # File | 

eval {
    $api_instance->uploadDWG(id => $id, dwg => $dwg);
};
if ($@) {
    warn "Exception when calling DrawingsApi->uploadDWG: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: ApiKeyId
openapi_client.configuration.api_key['X-MAZEMAP-KEY-ID'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['X-MAZEMAP-KEY-ID'] = 'Bearer'

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

# Create an instance of the API class
api_instance = openapi_client.DrawingsApi()
id = id_example # String | Unique identifier for the drawing (default to null)
dwg = BINARY_DATA_HERE # File |  (default to null)

try:
    # Upload a new DWG drawing
    api_instance.upload_dwg(id, dwg)
except ApiException as e:
    print("Exception when calling DrawingsApi->uploadDWG: %s\n" % e)
extern crate DrawingsApi;

pub fn main() {
    let id = id_example; // String
    let dwg = BINARY_DATA_HERE; // File

    let mut context = DrawingsApi::Context::default();
    let result = client.uploadDWG(id, dwg, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Form parameters
Name Description
id*
String
Unique identifier for the drawing
Required
dwg*
File (binary)
Required

Responses


uploadIFC

Upload a new building information model (BIM) in IFC format


/bims

Usage and SDK Samples

curl -X PUT \
-H "X-MAZEMAP-KEY-ID: [[apiKey]]" \
-H "X-MAZEMAP-API-KEY: [[apiKey]]" \
 -H "Content-Type: multipart/form-data" \
 "https://updates.mazemap.com/v1/bims"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DrawingsApi;

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

public class DrawingsApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: ApiKeyId
        ApiKeyAuth ApiKeyId = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyId");
        ApiKeyId.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyId.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKey
        ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
        ApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKey.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DrawingsApi apiInstance = new DrawingsApi();
        String id = id_example; // String | Unique identifier for the BIM
        File ifc = BINARY_DATA_HERE; // File | 

        try {
            apiInstance.uploadIFC(id, ifc);
        } catch (ApiException e) {
            System.err.println("Exception when calling DrawingsApi#uploadIFC");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | Unique identifier for the BIM
final File ifc = new File(); // File | 

try {
    final result = await api_instance.uploadIFC(id, ifc);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->uploadIFC: $e\n');
}

import org.openapitools.client.api.DrawingsApi;

public class DrawingsApiExample {
    public static void main(String[] args) {
        DrawingsApi apiInstance = new DrawingsApi();
        String id = id_example; // String | Unique identifier for the BIM
        File ifc = BINARY_DATA_HERE; // File | 

        try {
            apiInstance.uploadIFC(id, ifc);
        } catch (ApiException e) {
            System.err.println("Exception when calling DrawingsApi#uploadIFC");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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


// Create an instance of the API class
DrawingsApi *apiInstance = [[DrawingsApi alloc] init];
String *id = id_example; // Unique identifier for the BIM (default to null)
File *ifc = BINARY_DATA_HERE; //  (default to null)

// Upload a new building information model (BIM) in IFC format
[apiInstance uploadIFCWith:id
    ifc:ifc
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var MazeMapUpdatesApiDraft = require('maze_map_updates_api__draft');
var defaultClient = MazeMapUpdatesApiDraft.ApiClient.instance;

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

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

// Create an instance of the API class
var api = new MazeMapUpdatesApiDraft.DrawingsApi()
var id = id_example; // {String} Unique identifier for the BIM
var ifc = BINARY_DATA_HERE; // {File} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadIFC(id, ifc, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new DrawingsApi();
            var id = id_example;  // String | Unique identifier for the BIM (default to null)
            var ifc = BINARY_DATA_HERE;  // File |  (default to null)

            try {
                // Upload a new building information model (BIM) in IFC format
                apiInstance.uploadIFC(id, ifc);
            } catch (Exception e) {
                Debug.Print("Exception when calling DrawingsApi.uploadIFC: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DrawingsApi();
$id = id_example; // String | Unique identifier for the BIM
$ifc = BINARY_DATA_HERE; // File | 

try {
    $api_instance->uploadIFC($id, $ifc);
} catch (Exception $e) {
    echo 'Exception when calling DrawingsApi->uploadIFC: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DrawingsApi;

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

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DrawingsApi->new();
my $id = id_example; # String | Unique identifier for the BIM
my $ifc = BINARY_DATA_HERE; # File | 

eval {
    $api_instance->uploadIFC(id => $id, ifc => $ifc);
};
if ($@) {
    warn "Exception when calling DrawingsApi->uploadIFC: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: ApiKeyId
openapi_client.configuration.api_key['X-MAZEMAP-KEY-ID'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['X-MAZEMAP-KEY-ID'] = 'Bearer'

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

# Create an instance of the API class
api_instance = openapi_client.DrawingsApi()
id = id_example # String | Unique identifier for the BIM (default to null)
ifc = BINARY_DATA_HERE # File |  (default to null)

try:
    # Upload a new building information model (BIM) in IFC format
    api_instance.upload_ifc(id, ifc)
except ApiException as e:
    print("Exception when calling DrawingsApi->uploadIFC: %s\n" % e)
extern crate DrawingsApi;

pub fn main() {
    let id = id_example; // String
    let ifc = BINARY_DATA_HERE; // File

    let mut context = DrawingsApi::Context::default();
    let result = client.uploadIFC(id, ifc, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Form parameters
Name Description
id*
String
Unique identifier for the BIM
Required
ifc*
File (binary)
Required

Responses


Manifests

uploadManifest

Upload the manifest

Upload a new manifest for the customer. Any previous manifest will be overwritten.


/manifest

Usage and SDK Samples

curl -X POST \
-H "X-MAZEMAP-KEY-ID: [[apiKey]]" \
-H "X-MAZEMAP-API-KEY: [[apiKey]]" \
 -H "Content-Type: application/json" \
 "https://updates.mazemap.com/v1/manifest" \
 -d '{
  "campuses" : [ {
    "buildings" : [ {
      "floors" : [ {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      }, {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      } ],
      "latitude" : -75.58509,
      "name" : "name",
      "id" : "id",
      "longitude" : 36.988422
    }, {
      "floors" : [ {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      }, {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      } ],
      "latitude" : -75.58509,
      "name" : "name",
      "id" : "id",
      "longitude" : 36.988422
    } ],
    "name" : "name",
    "id" : "id"
  }, {
    "buildings" : [ {
      "floors" : [ {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      }, {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      } ],
      "latitude" : -75.58509,
      "name" : "name",
      "id" : "id",
      "longitude" : 36.988422
    }, {
      "floors" : [ {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      }, {
        "drawings" : [ "drawings", "drawings" ],
        "name" : "name",
        "id" : "id"
      } ],
      "latitude" : -75.58509,
      "name" : "name",
      "id" : "id",
      "longitude" : 36.988422
    } ],
    "name" : "name",
    "id" : "id"
  } ]
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ManifestsApi;

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

public class ManifestsApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: ApiKeyId
        ApiKeyAuth ApiKeyId = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyId");
        ApiKeyId.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyId.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKey
        ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
        ApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKey.setApiKeyPrefix("Token");

        // Create an instance of the API class
        ManifestsApi apiInstance = new ManifestsApi();
        Manifest manifest = ; // Manifest | 

        try {
            apiInstance.uploadManifest(manifest);
        } catch (ApiException e) {
            System.err.println("Exception when calling ManifestsApi#uploadManifest");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Manifest manifest = new Manifest(); // Manifest | 

try {
    final result = await api_instance.uploadManifest(manifest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->uploadManifest: $e\n');
}

import org.openapitools.client.api.ManifestsApi;

public class ManifestsApiExample {
    public static void main(String[] args) {
        ManifestsApi apiInstance = new ManifestsApi();
        Manifest manifest = ; // Manifest | 

        try {
            apiInstance.uploadManifest(manifest);
        } catch (ApiException e) {
            System.err.println("Exception when calling ManifestsApi#uploadManifest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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


// Create an instance of the API class
ManifestsApi *apiInstance = [[ManifestsApi alloc] init];
Manifest *manifest = ; // 

// Upload the manifest
[apiInstance uploadManifestWith:manifest
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var MazeMapUpdatesApiDraft = require('maze_map_updates_api__draft');
var defaultClient = MazeMapUpdatesApiDraft.ApiClient.instance;

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

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

// Create an instance of the API class
var api = new MazeMapUpdatesApiDraft.ManifestsApi()
var manifest = ; // {Manifest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadManifest(manifest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new ManifestsApi();
            var manifest = new Manifest(); // Manifest | 

            try {
                // Upload the manifest
                apiInstance.uploadManifest(manifest);
            } catch (Exception e) {
                Debug.Print("Exception when calling ManifestsApi.uploadManifest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ManifestsApi();
$manifest = ; // Manifest | 

try {
    $api_instance->uploadManifest($manifest);
} catch (Exception $e) {
    echo 'Exception when calling ManifestsApi->uploadManifest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ManifestsApi;

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

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ManifestsApi->new();
my $manifest = WWW::OPenAPIClient::Object::Manifest->new(); # Manifest | 

eval {
    $api_instance->uploadManifest(manifest => $manifest);
};
if ($@) {
    warn "Exception when calling ManifestsApi->uploadManifest: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: ApiKeyId
openapi_client.configuration.api_key['X-MAZEMAP-KEY-ID'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['X-MAZEMAP-KEY-ID'] = 'Bearer'

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

# Create an instance of the API class
api_instance = openapi_client.ManifestsApi()
manifest =  # Manifest | 

try:
    # Upload the manifest
    api_instance.upload_manifest(manifest)
except ApiException as e:
    print("Exception when calling ManifestsApi->uploadManifest: %s\n" % e)
extern crate ManifestsApi;

pub fn main() {
    let manifest = ; // Manifest

    let mut context = ManifestsApi::Context::default();
    let result = client.uploadManifest(manifest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
manifest *

The manifest that should be uploaded for the customer

Responses


Pois

uploadPointsOfInterest

Upload points of interest (POIs)

Upload points of interest. Note that this must be a complete list. Already existing points of interest that are not uploaded, will be deleted from the map.


/pois

Usage and SDK Samples

curl -X POST \
-H "X-MAZEMAP-KEY-ID: [[apiKey]]" \
-H "X-MAZEMAP-API-KEY: [[apiKey]]" \
 -H "Content-Type: application/json" \
 "https://updates.mazemap.com/v1/pois" \
 -d '{
  "externalReferences" : [ {
    "vendor" : "vendor",
    "type" : "type",
    "value" : "value"
  }, {
    "vendor" : "vendor",
    "type" : "type",
    "value" : "value"
  } ],
  "textDisplayOnMap" : "textDisplayOnMap",
  "extraSearchWord" : [ "extraSearchWord", "extraSearchWord" ],
  "campusId" : "campusId",
  "description" : "description",
  "title" : "title",
  "roomId" : "roomId",
  "buildingId" : "buildingId",
  "linkableIdentifier" : "linkableIdentifier",
  "floorId" : "floorId",
  "peopleCapacity" : 0,
  "imageLink" : "https://openapi-generator.tech",
  "infoUrl" : "https://openapi-generator.tech",
  "infoUrlText" : "infoUrlText",
  "roomType" : [ "roomType", "roomType" ]
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.PoisApi;

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

public class PoisApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: ApiKeyId
        ApiKeyAuth ApiKeyId = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyId");
        ApiKeyId.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKeyId.setApiKeyPrefix("Token");

        // Configure API key authorization: ApiKey
        ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
        ApiKey.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //ApiKey.setApiKeyPrefix("Token");

        // Create an instance of the API class
        PoisApi apiInstance = new PoisApi();
        array[PointOfInterest] pointOfInterest = ; // array[PointOfInterest] | 

        try {
            apiInstance.uploadPointsOfInterest(pointOfInterest);
        } catch (ApiException e) {
            System.err.println("Exception when calling PoisApi#uploadPointsOfInterest");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[PointOfInterest] pointOfInterest = new array[PointOfInterest](); // array[PointOfInterest] | 

try {
    final result = await api_instance.uploadPointsOfInterest(pointOfInterest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->uploadPointsOfInterest: $e\n');
}

import org.openapitools.client.api.PoisApi;

public class PoisApiExample {
    public static void main(String[] args) {
        PoisApi apiInstance = new PoisApi();
        array[PointOfInterest] pointOfInterest = ; // array[PointOfInterest] | 

        try {
            apiInstance.uploadPointsOfInterest(pointOfInterest);
        } catch (ApiException e) {
            System.err.println("Exception when calling PoisApi#uploadPointsOfInterest");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

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


// Create an instance of the API class
PoisApi *apiInstance = [[PoisApi alloc] init];
array[PointOfInterest] *pointOfInterest = ; // 

// Upload points of interest (POIs)
[apiInstance uploadPointsOfInterestWith:pointOfInterest
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var MazeMapUpdatesApiDraft = require('maze_map_updates_api__draft');
var defaultClient = MazeMapUpdatesApiDraft.ApiClient.instance;

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

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

// Create an instance of the API class
var api = new MazeMapUpdatesApiDraft.PoisApi()
var pointOfInterest = ; // {array[PointOfInterest]} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadPointsOfInterest(pointOfInterest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

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

            // Create an instance of the API class
            var apiInstance = new PoisApi();
            var pointOfInterest = new array[PointOfInterest](); // array[PointOfInterest] | 

            try {
                // Upload points of interest (POIs)
                apiInstance.uploadPointsOfInterest(pointOfInterest);
            } catch (Exception e) {
                Debug.Print("Exception when calling PoisApi.uploadPointsOfInterest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\PoisApi();
$pointOfInterest = ; // array[PointOfInterest] | 

try {
    $api_instance->uploadPointsOfInterest($pointOfInterest);
} catch (Exception $e) {
    echo 'Exception when calling PoisApi->uploadPointsOfInterest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::PoisApi;

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

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::PoisApi->new();
my $pointOfInterest = [WWW::OPenAPIClient::Object::array[PointOfInterest]->new()]; # array[PointOfInterest] | 

eval {
    $api_instance->uploadPointsOfInterest(pointOfInterest => $pointOfInterest);
};
if ($@) {
    warn "Exception when calling PoisApi->uploadPointsOfInterest: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: ApiKeyId
openapi_client.configuration.api_key['X-MAZEMAP-KEY-ID'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['X-MAZEMAP-KEY-ID'] = 'Bearer'

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

# Create an instance of the API class
api_instance = openapi_client.PoisApi()
pointOfInterest =  # array[PointOfInterest] | 

try:
    # Upload points of interest (POIs)
    api_instance.upload_points_of_interest(pointOfInterest)
except ApiException as e:
    print("Exception when calling PoisApi->uploadPointsOfInterest: %s\n" % e)
extern crate PoisApi;

pub fn main() {
    let pointOfInterest = ; // array[PointOfInterest]

    let mut context = PoisApi::Context::default();
    let result = client.uploadPointsOfInterest(pointOfInterest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
pointOfInterest *

A list of POIs

Responses