# KianaApi.GeofencenotecontrollerApi

All URIs are relative to *https://192.168.135.3:8082*

Method | HTTP request | Description
------------- | ------------- | -------------
[**deleteGeoNoteUsingDELETE**](GeofencenotecontrollerApi.md#deleteGeoNoteUsingDELETE) | **DELETE** /v2/api/geofence-notes/{geofenceNoteId} | Delete geofence note.
[**getGeoNoteAttachmentUsingGET**](GeofencenotecontrollerApi.md#getGeoNoteAttachmentUsingGET) | **GET** /v2/api/geofence-notes/{geofenceNoteId}/attachments | Get geofence note attachments.
[**getGeoNoteUsingGET**](GeofencenotecontrollerApi.md#getGeoNoteUsingGET) | **GET** /v2/api/geofence-notes/{geofenceNoteId} | Find geofence note by id.
[**getGeoNotesUsingGET**](GeofencenotecontrollerApi.md#getGeoNotesUsingGET) | **GET** /v2/api/geofence-notes | Get geofence notes.
[**saveGeoNoteUsingPOST**](GeofencenotecontrollerApi.md#saveGeoNoteUsingPOST) | **POST** /v2/api/geofence-notes | Create geofence note.
[**updateGeoNoteUsingPUT**](GeofencenotecontrollerApi.md#updateGeoNoteUsingPUT) | **PUT** /v2/api/geofence-notes/{geofenceNoteId} | Update geofence note.


<a name="deleteGeoNoteUsingDELETE"></a>
# **deleteGeoNoteUsingDELETE**
> deleteGeoNoteUsingDELETE(nonce, requestTime, authorization, geofenceNoteId)

Delete geofence note.

### Example
```javascript
var KianaApi = require('kiana_api');

var apiInstance = new KianaApi.GeofencenotecontrollerApi();

var nonce = "nonce_example"; // String | Nonce

var requestTime = "requestTime_example"; // String | Request-Time

var authorization = "authorization_example"; // String | Api Key, Authenticated Token

var geofenceNoteId = 789; // Number | geofenceNoteId


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteGeoNoteUsingDELETE(nonce, requestTime, authorization, geofenceNoteId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **nonce** | **String**| Nonce | 
 **requestTime** | **String**| Request-Time | 
 **authorization** | **String**| Api Key, Authenticated Token | 
 **geofenceNoteId** | **Number**| geofenceNoteId | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="getGeoNoteAttachmentUsingGET"></a>
# **getGeoNoteAttachmentUsingGET**
> [MediaResponse] getGeoNoteAttachmentUsingGET(nonce, requestTime, authorization, geofenceNoteId)

Get geofence note attachments.

### Example
```javascript
var KianaApi = require('kiana_api');

var apiInstance = new KianaApi.GeofencenotecontrollerApi();

var nonce = "nonce_example"; // String | Nonce

var requestTime = "requestTime_example"; // String | Request-Time

var authorization = "authorization_example"; // String | Api Key, Authenticated Token

var geofenceNoteId = 789; // Number | geofenceNoteId


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getGeoNoteAttachmentUsingGET(nonce, requestTime, authorization, geofenceNoteId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **nonce** | **String**| Nonce | 
 **requestTime** | **String**| Request-Time | 
 **authorization** | **String**| Api Key, Authenticated Token | 
 **geofenceNoteId** | **Number**| geofenceNoteId | 

### Return type

[**[MediaResponse]**](MediaResponse.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="getGeoNoteUsingGET"></a>
# **getGeoNoteUsingGET**
> GeofenceNoteResponse getGeoNoteUsingGET(nonce, requestTime, authorization, geofenceNoteId)

Find geofence note by id.

### Example
```javascript
var KianaApi = require('kiana_api');

var apiInstance = new KianaApi.GeofencenotecontrollerApi();

var nonce = "nonce_example"; // String | Nonce

var requestTime = "requestTime_example"; // String | Request-Time

var authorization = "authorization_example"; // String | Api Key, Authenticated Token

var geofenceNoteId = 789; // Number | geofenceNoteId


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getGeoNoteUsingGET(nonce, requestTime, authorization, geofenceNoteId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **nonce** | **String**| Nonce | 
 **requestTime** | **String**| Request-Time | 
 **authorization** | **String**| Api Key, Authenticated Token | 
 **geofenceNoteId** | **Number**| geofenceNoteId | 

### Return type

[**GeofenceNoteResponse**](GeofenceNoteResponse.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="getGeoNotesUsingGET"></a>
# **getGeoNotesUsingGET**
> [GeofenceNoteResponse] getGeoNotesUsingGET(nonce, requestTime, authorization)

Get geofence notes.

### Example
```javascript
var KianaApi = require('kiana_api');

var apiInstance = new KianaApi.GeofencenotecontrollerApi();

var nonce = "nonce_example"; // String | Nonce

var requestTime = "requestTime_example"; // String | Request-Time

var authorization = "authorization_example"; // String | Api Key, Authenticated Token


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getGeoNotesUsingGET(nonce, requestTime, authorization, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **nonce** | **String**| Nonce | 
 **requestTime** | **String**| Request-Time | 
 **authorization** | **String**| Api Key, Authenticated Token | 

### Return type

[**[GeofenceNoteResponse]**](GeofenceNoteResponse.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="saveGeoNoteUsingPOST"></a>
# **saveGeoNoteUsingPOST**
> GeofenceNoteResponse saveGeoNoteUsingPOST(nonce, requestTime, authorization, geofenceNoteParam)

Create geofence note.

### Example
```javascript
var KianaApi = require('kiana_api');

var apiInstance = new KianaApi.GeofencenotecontrollerApi();

var nonce = "nonce_example"; // String | Nonce

var requestTime = "requestTime_example"; // String | Request-Time

var authorization = "authorization_example"; // String | Api Key, Authenticated Token

var geofenceNoteParam = new KianaApi.GeofenceNoteParam(); // GeofenceNoteParam | geofenceNoteParam


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.saveGeoNoteUsingPOST(nonce, requestTime, authorization, geofenceNoteParam, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **nonce** | **String**| Nonce | 
 **requestTime** | **String**| Request-Time | 
 **authorization** | **String**| Api Key, Authenticated Token | 
 **geofenceNoteParam** | [**GeofenceNoteParam**](GeofenceNoteParam.md)| geofenceNoteParam | 

### Return type

[**GeofenceNoteResponse**](GeofenceNoteResponse.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="updateGeoNoteUsingPUT"></a>
# **updateGeoNoteUsingPUT**
> GeofenceNoteResponse updateGeoNoteUsingPUT(nonce, requestTime, authorization, geofenceNoteId, geofenceNoteParam)

Update geofence note.

### Example
```javascript
var KianaApi = require('kiana_api');

var apiInstance = new KianaApi.GeofencenotecontrollerApi();

var nonce = "nonce_example"; // String | Nonce

var requestTime = "requestTime_example"; // String | Request-Time

var authorization = "authorization_example"; // String | Api Key, Authenticated Token

var geofenceNoteId = 789; // Number | geofenceNoteId

var geofenceNoteParam = new KianaApi.GeofenceNoteParam(); // GeofenceNoteParam | geofenceNoteParam


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.updateGeoNoteUsingPUT(nonce, requestTime, authorization, geofenceNoteId, geofenceNoteParam, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **nonce** | **String**| Nonce | 
 **requestTime** | **String**| Request-Time | 
 **authorization** | **String**| Api Key, Authenticated Token | 
 **geofenceNoteId** | **Number**| geofenceNoteId | 
 **geofenceNoteParam** | [**GeofenceNoteParam**](GeofenceNoteParam.md)| geofenceNoteParam | 

### Return type

[**GeofenceNoteResponse**](GeofenceNoteResponse.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

