EventsAPI v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Our EventsAPI provides users with access to in-depth event information, including scale, event type and audience profile for over 3.5 million past events, and 70,000+ new events each week. Our EventsAPI is used by thousands of companies worldwide and the data is multi-functional with wide-ranging use cases, including demand forecasting, business analysis, education, and venue management.
The API follows the REST architectural style, employing resource-oriented URLs for easy navigation and interaction. Requests are made using well-defined request bodies, primarily in JSON format. The API responds with JSON-encoded data, adhering to standard HTTP response codes, authentication mechanisms, and verbs.
The EventsAPI offers a range of endpoints, organized into different modules to facilitate various functionalities. The modules include:
User: This module focuses on gaining access to the API, providing authentication and authorization mechanisms to ensure secure usage.
References: Users can retrieve data related to various dependencies such as event categories, subcategories, locations, and other reference information.
Shops: The Event Shop module allows users to define templates for requesting specific data collections, including events impact, event information, hotel demand, and other relevant details. This enables users to customize their data collection requirements.
Schedules: Users can manage data delivery schedules, enabling them to specify when and how often they want to receive event data updates.
Hooks: This module enables users to define web hooks, which are direct data delivery mechanisms. Users can set up endpoints to receive event data in real-time, ensuring timely updates.
Demand: Users can search for available sources for data collection, enabling them to identify and retrieve event data based on specific criteria and requirements.
Account: This module provides functionality related to user account management, including account information retrieval and other account-related operations.
Entity Information: Users can search for sources of event data based on various entities such as hotels, venues, or other relevant entities.
By leveraging our EventsAPI, users can support demand forecasting, accurately predict local demand spikes, and take advantage of revenue generation opportunities. The API empowers users to optimize operational efficiencies by providing comprehensive event data and insights.
Web: Aggregate Intelligence Inc.
Authentication
- HTTP Authentication, scheme: bearer .
Every request sent to the EventsAPI must be authenticated with an access token (JWT). You can obtain an access token when you log-in using the credentials provided to you. An access token is valid ONLY for 24 hours from the time it is generated.
The obtained Access Token must be passed during all subsequent requests made to the API as standard Bearer tokens in the request header.
Usage Workflow
HTTP Authentication scheme "Bearer" for the EventsAPI
User
User Login
Code samples
# You can also use wget
curl -X POST /authtoken/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /authtoken/ HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"handle": "myuser",
"password": "supersecret"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/authtoken/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/authtoken/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/authtoken/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/authtoken/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/authtoken/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/authtoken/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /authtoken/
User Login
The POST /authtoken/ endpoint is used to authenticate the validity of a user's handle/password combination. When making this call, the provided handle and password are verified, and if the authentication is successful, a valid access token is issued. This access token serves as a credential to access protected resources and perform authorized actions within the system.
Body parameter
{
"handle": "myuser",
"password": "supersecret"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | userReq | true | none |
Example responses
200 Response
{
"error": false,
"token": "AXSGpLVjnef7w5XgfWdoBwbfs",
"handle": "myuser"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | userResp |
400 | Bad Request | Request data failed validation(s) | None |
401 | Unauthorized | Authentication Failed! | None |
500 | Internal Server Error | Internal Server Error | None |
References
Get Attribute Definition
Code samples
# You can also use wget
curl -X GET /AttributeDefinition/ \
-H 'Authorization: Bearer {access-token}'
GET /AttributeDefinition/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/AttributeDefinition/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/AttributeDefinition/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/AttributeDefinition/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/AttributeDefinition/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/AttributeDefinition/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/AttributeDefinition/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /AttributeDefinition/
This is to view the Attribute Definition
By using this endpoint, users can retrieve the attribute definitions by making a GET request. This allows users to view the existing attribute definitions in their application or system.
The response will typically contain the attribute names, types, and any other relevant details associated with each attribute.
Overall, the GET /AttributeDefinition/ endpoint provides a straightforward way to access and review attribute definitions, helping users understand and utilize the attributes in their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Category
Code samples
# You can also use wget
curl -X GET /Category/ \
-H 'Authorization: Bearer {access-token}'
GET /Category/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/Category/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/Category/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/Category/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/Category/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/Category/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/Category/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /Category/
This is to view the Category
By using this endpoint, users can retrieve the category information by making a GET request. This allows users to view the existing categories in their application or system.
The response will typically contain the category names, IDs, and any other relevant details associated with each category.
Overall, the GET /Category/ endpoint provides a straightforward way to access and review category information, helping users understand and organize data in their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Category Group
Code samples
# You can also use wget
curl -X GET /CategorySubCategoryGroup/ \
-H 'Authorization: Bearer {access-token}'
GET /CategorySubCategoryGroup/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/CategorySubCategoryGroup/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/CategorySubCategoryGroup/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/CategorySubCategoryGroup/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/CategorySubCategoryGroup/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/CategorySubCategoryGroup/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/CategorySubCategoryGroup/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /CategorySubCategoryGroup/
This is to view the Category-SubCategory Group
By using this endpoint, users can retrieve the category-subcategory group information by making a GET request. This allows users to view the existing groups that associate categories with their corresponding subcategories.
The response will typically contain the group names, IDs, and any other relevant details associated with each category-subcategory group.
Overall, the GET /CategorySubCategoryGroup/ endpoint provides a straightforward way to access and review the relationship between categories and subcategories, helping users understand and organize data in their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Class Definition
Code samples
# You can also use wget
curl -X GET /ClassDefinition/ \
-H 'Authorization: Bearer {access-token}'
GET /ClassDefinition/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/ClassDefinition/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/ClassDefinition/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/ClassDefinition/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/ClassDefinition/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/ClassDefinition/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/ClassDefinition/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /ClassDefinition/
This is to view the Class Definition
By using this endpoint, users can retrieve the class definition by making a GET request. This allows users to view the details and attributes associated with a specific class.
The response will typically contain information about the class, such as its name, properties, methods, and any other relevant details.
Overall, the GET /ClassDefinition/ endpoint provides a convenient way to access and review the definition of a class, allowing users to understand its structure and functionality within their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Country
Code samples
# You can also use wget
curl -X GET /Country/ \
-H 'Authorization: Bearer {access-token}'
GET /Country/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/Country/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/Country/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/Country/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/Country/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/Country/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/Country/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /Country/
This is to view the Country
By using this endpoint, users can retrieve the country details by making a GET request. This allows users to view information about different countries, such as their name, code, and any other relevant attributes.
The response will typically be in a structured format, such as JSON, providing a comprehensive list of countries and their associated details.
Overall, the GET /Country/ endpoint serves as a convenient resource for obtaining information about various countries, enabling users to work with country data in a streamlined and efficient manner.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Eventstatus
Code samples
# You can also use wget
curl -X GET /EventStatus/ \
-H 'Authorization: Bearer {access-token}'
GET /EventStatus/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/EventStatus/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/EventStatus/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/EventStatus/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/EventStatus/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/EventStatus/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/EventStatus/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /EventStatus/
This is to view the Event Status
By using this endpoint, users can retrieve the event status details by making a GET request. This allows users to view the status of different events, providing information about their current state or progress.
The response will typically be in a structured format, such as JSON, providing a comprehensive list of event statuses and their associated details.
Overall, the GET /EventStatus/ endpoint serves as a convenient resource for obtaining information about the status of events, enabling users to monitor and track the progress of events in their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Region
Code samples
# You can also use wget
curl -X GET /Region/ \
-H 'Authorization: Bearer {access-token}'
GET /Region/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/Region/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/Region/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/Region/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/Region/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/Region/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/Region/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /Region/
This is to view the Region
By using this endpoint, users can retrieve the region details by making a GET request. This allows users to view the available regions and their associated information.
The response will typically be in a structured format, such as JSON, providing a comprehensive list of regions and their attributes.
Overall, the GET /Region/ endpoint serves as a convenient resource for obtaining information about regions, enabling users to access and utilize region data in their applications or systems.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Subcategory
Code samples
# You can also use wget
curl -X GET /SubCategory/ \
-H 'Authorization: Bearer {access-token}'
GET /SubCategory/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/SubCategory/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/SubCategory/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/SubCategory/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/SubCategory/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/SubCategory/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/SubCategory/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /SubCategory/
This is to view the Sub-Category
By making a GET request to this endpoint, users can access the sub-category details. This allows users to view the available sub-categories and their associated information.
The response will typically be in a structured format, such as JSON, providing a comprehensive list of sub-categories and their attributes.
Overall, the GET /SubCategory/ endpoint serves as a convenient resource for obtaining information about sub-categories, enabling users to access and utilize sub-category data in their applications or systems.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Shops
Create Eventimpactshop
Code samples
# You can also use wget
curl -X POST /CreateEventImpactShop/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /CreateEventImpactShop/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"city": "string",
"country": "string",
"estimatedattendee": "string",
"eventids": [],
"fetchtype": 0,
"horizon": 0,
"impactshopname": "string",
"startdate": "2019-08-24",
"status": 1
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/CreateEventImpactShop/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/CreateEventImpactShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/CreateEventImpactShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/CreateEventImpactShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/CreateEventImpactShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/CreateEventImpactShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /CreateEventImpactShop/
Users can create the EventImpactShop
By using this endpoint, users can create an event impact shop. Making a POST request to this endpoint allows users to provide the necessary parameters and details in the request body to create an event impact shop. This includes information such as the event details, impact information, and any other relevant data.
Overall, the POST /CreateEventImpactShop/ endpoint provides a convenient method for users to create event impact shops, enabling them to effectively manage and organize event-related data within their application or system.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» city | body | string | false | none |
» country | body | string | false | none |
» estimatedattendee | body | string | false | none |
» eventids | body | [object] | false | none |
» fetchtype | body | integer | false | none |
» horizon | body | integer | false | none |
» impactshopname | body | string | false | none |
» startdate | body | string(date) | false | none |
» status | body | integer | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Create Eventinfoshop
Code samples
# You can also use wget
curl -X POST /CreateEventinfoshop/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /CreateEventinfoshop/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"city": "string",
"country": "string",
"estimatedattendee": "string",
"eventids": [],
"eventshopname": "string",
"fetchtype": 0,
"horizon": 0,
"startdate": "2019-08-24",
"status": 1
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/CreateEventinfoshop/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/CreateEventinfoshop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/CreateEventinfoshop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/CreateEventinfoshop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/CreateEventinfoshop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/CreateEventinfoshop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /CreateEventinfoshop/
Users can create the Eventinfoshop
With this endpoint, users can create an event info shop. By sending a POST request to this endpoint, users can provide the required information and parameters in the request body to create an event info shop. This includes details such as the event information, shop name, and any other relevant data.
The POST /CreateEventinfoshop/ endpoint offers a straightforward way for users to create event info shops, ensuring accurate and up-to-date event information in their application or system. It enables users to easily manage and organize event-related data according to their specific requirements or preferences.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» city | body | string | false | none |
» country | body | string | false | none |
» estimatedattendee | body | string | false | none |
» eventids | body | [object] | false | none |
» eventshopname | body | string | false | none |
» fetchtype | body | integer | false | none |
» horizon | body | integer | false | none |
» startdate | body | string(date) | false | none |
» status | body | integer | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Create Hoteldemandshop
Code samples
# You can also use wget
curl -X POST /CreateHotelDemandShop/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /CreateHotelDemandShop/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"city": "string",
"country": "string",
"demandshopname": "string",
"fetchtype": 0,
"horizon": 0,
"hotelcodes": [],
"proximity": 0,
"startdate": "2019-08-24",
"status": 1
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/CreateHotelDemandShop/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/CreateHotelDemandShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/CreateHotelDemandShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/CreateHotelDemandShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/CreateHotelDemandShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/CreateHotelDemandShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /CreateHotelDemandShop/
Users can create the HotelDemandShop
By using this endpoint, users can create a hotel demand shop. Making a POST request to this endpoint allows users to provide the necessary parameters and details in the request body to create a hotel demand shop. This includes information such as the hotel details, demand information, and any other relevant data.
Overall, the POST /CreateHotelDemandShop/ endpoint provides a convenient method for users to create hotel demand shops, enabling them to effectively manage and organize hotel-related data within their application or system.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» city | body | string | false | none |
» country | body | string | false | none |
» demandshopname | body | string | false | none |
» fetchtype | body | integer | false | none |
» horizon | body | integer | false | none |
» hotelcodes | body | [object] | false | none |
» proximity | body | integer | false | none |
» startdate | body | string(date) | false | none |
» status | body | integer | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Delete Eventinfoshop
Code samples
# You can also use wget
curl -X DELETE /DeleteEventInfoShop/ \
-H 'Authorization: Bearer {access-token}'
DELETE /DeleteEventInfoShop/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/DeleteEventInfoShop/',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.delete '/DeleteEventInfoShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.delete('/DeleteEventInfoShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/DeleteEventInfoShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/DeleteEventInfoShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/DeleteEventInfoShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /DeleteEventInfoShop/
- User can delete EventInfoShop*
This API call allows users to delete an event info shop linked to an event shop ID from their account. By sending a DELETE request to this endpoint, users can remove the specified event info shop and its associated data from their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Delete Hoteldemandshop
Code samples
# You can also use wget
curl -X DELETE /DeleteImpactInfoShop/ \
-H 'Authorization: Bearer {access-token}'
DELETE /DeleteImpactInfoShop/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/DeleteImpactInfoShop/',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.delete '/DeleteImpactInfoShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.delete('/DeleteImpactInfoShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/DeleteImpactInfoShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/DeleteImpactInfoShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/DeleteImpactInfoShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /DeleteImpactInfoShop/
User can delete EventImpactShop
With this API call, users can delete an event impact shop. By sending a DELETE request to this endpoint, users can remove the specified event impact shop and its associated data from their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Update Eventimpactshop
Code samples
# You can also use wget
curl -X PUT /EditEventImpactShop/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
PUT /EditEventImpactShop/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"city": "string",
"country": "string",
"estimatedattendee": "string",
"eventids": [],
"fetchtype": 0,
"horizon": 0,
"impactshopid": 0,
"impactshopname": "string",
"startdate": "2019-08-24",
"status": 1
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/EditEventImpactShop/',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put '/EditEventImpactShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.put('/EditEventImpactShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/EditEventImpactShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/EditEventImpactShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/EditEventImpactShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /EditEventImpactShop/
User can edit the EventImpactShop
By utilizing this API endpoint, users can edit an event impact shop. Making a PUT request to this endpoint allows users to update the details and parameters of the specified event impact shop, such as modifying impact information, event details, or any other relevant attributes.
Overall, the PUT /EditEventImpactShop/ endpoint provides users with the flexibility to modify and adjust event impact shop data within their application or system, ensuring accurate and up-to-date information for effective event management.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» city | body | string | false | none |
» country | body | string | false | none |
» estimatedattendee | body | string | false | none |
» eventids | body | [object] | false | none |
» fetchtype | body | integer | false | none |
» horizon | body | integer | false | none |
» impactshopid | body | integer | false | none |
» impactshopname | body | string | false | none |
» startdate | body | string(date) | false | none |
» status | body | integer | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Update Eventinfoshop
Code samples
# You can also use wget
curl -X PUT /EditEventInfoShop/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
PUT /EditEventInfoShop/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"city": "string",
"country": "string",
"estimatedattendee": "string",
"eventids": [],
"eventshopid": 0,
"eventshopname": "string",
"fetchtype": 0,
"horizon": 0,
"startdate": "2019-08-24",
"status": 1
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/EditEventInfoShop/',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put '/EditEventInfoShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.put('/EditEventInfoShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/EditEventInfoShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/EditEventInfoShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/EditEventInfoShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /EditEventInfoShop/
User can edit the EventInfoShop
By using this endpoint, users can edit the EventInfoShop. Making a PUT request to this endpoint allows users to update the details and parameters of the specified EventInfoShop, such as modifying event information, shop name, or any other relevant attributes.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» city | body | string | false | none |
» country | body | string | false | none |
» estimatedattendee | body | string | false | none |
» eventids | body | [object] | false | none |
» eventshopid | body | integer | false | none |
» eventshopname | body | string | false | none |
» fetchtype | body | integer | false | none |
» horizon | body | integer | false | none |
» startdate | body | string(date) | false | none |
» status | body | integer | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Update Hoteldemandshop
Code samples
# You can also use wget
curl -X PUT /EditHotelDemandShop/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
PUT /EditHotelDemandShop/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"city": "string",
"country": "string",
"demandshopid": 0,
"demandshopname": "string",
"fetchtype": 0,
"horizon": 0,
"hotelcodes": [],
"proximity": 0,
"startdate": "2019-08-24",
"status": 1
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/EditHotelDemandShop/',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put '/EditHotelDemandShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.put('/EditHotelDemandShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/EditHotelDemandShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/EditHotelDemandShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/EditHotelDemandShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /EditHotelDemandShop/
User can edit the HotelDemandShop
By utilizing this API endpoint, users can edit the HotelDemandShop. Making a PUT request to this endpoint allows users to update the details and parameters of the specified HotelDemandShop, such as modifying hotel details, demand information, or any other relevant attributes.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» city | body | string | false | none |
» country | body | string | false | none |
» demandshopid | body | integer | false | none |
» demandshopname | body | string | false | none |
» fetchtype | body | integer | false | none |
» horizon | body | integer | false | none |
» hotelcodes | body | [object] | false | none |
» proximity | body | integer | false | none |
» startdate | body | string(date) | false | none |
» status | body | integer | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Eventimpactshop
Code samples
# You can also use wget
curl -X GET /GetEventImpactShop/ \
-H 'Authorization: Bearer {access-token}'
GET /GetEventImpactShop/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/GetEventImpactShop/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/GetEventImpactShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/GetEventImpactShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/GetEventImpactShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/GetEventImpactShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/GetEventImpactShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /GetEventImpactShop/
User can view the EventImpactShop
With this API call, users can view the EventImpactShop. By sending a GET request to this endpoint, users can retrieve the details and information of the specified EventImpactShop, such as impact details, event information, and any other relevant data.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
ImpactShopId | query | any | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get EventInfoShop
Code samples
# You can also use wget
curl -X GET /GetEventInfoShop/ \
-H 'Authorization: Bearer {access-token}'
GET /GetEventInfoShop/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/GetEventInfoShop/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/GetEventInfoShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/GetEventInfoShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/GetEventInfoShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/GetEventInfoShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/GetEventInfoShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /GetEventInfoShop/
User can view the EventInfoShop
By utilizing this API endpoint, users can view the EventInfoShop. Making a GET request to this endpoint allows users to retrieve the details and information of the specified EventInfoShop, such as event details, shop name, or any other relevant attributes.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
EventShopId | query | any | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Hoteldemandshop
Code samples
# You can also use wget
curl -X GET /GetHotelDemandShop/ \
-H 'Authorization: Bearer {access-token}'
GET /GetHotelDemandShop/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/GetHotelDemandShop/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/GetHotelDemandShop/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/GetHotelDemandShop/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/GetHotelDemandShop/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/GetHotelDemandShop/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/GetHotelDemandShop/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /GetHotelDemandShop/
User can view the HotelDemandShop
With this API call, users can view the HotelDemandShop. By sending a GET request to this endpoint, users can retrieve the details and information of the specified HotelDemandShop, such as hotel details, demand information, and any other relevant data.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
DemandShopId | query | any | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Schedule
Get ViewSchedule
Code samples
# You can also use wget
curl -X GET /ViewSchedule/ \
-H 'Authorization: Bearer {access-token}'
GET /ViewSchedule/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/ViewSchedule/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/ViewSchedule/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/ViewSchedule/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/ViewSchedule/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/ViewSchedule/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/ViewSchedule/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /ViewSchedule/
This is to view the schedule
This API call allows users to view the schedule. By sending a GET request to this endpoint, users can retrieve the details and information of the schedule, such as schedule name, date, time, and any other relevant attributes.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
ScheduleId | query | any | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Delete Schedule
Code samples
# You can also use wget
curl -X DELETE /DeleteSchedule/ \
-H 'Authorization: Bearer {access-token}'
DELETE /DeleteSchedule/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/DeleteSchedule/',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.delete '/DeleteSchedule/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.delete('/DeleteSchedule/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/DeleteSchedule/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/DeleteSchedule/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/DeleteSchedule/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /DeleteSchedule/
This is to delete the schedule
This API call allows users to delete the schedule. By sending a DELETE request to this endpoint, users can remove the specified schedule and its associated data from their application or system.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Update Schedule
Code samples
# You can also use wget
curl -X PUT /EditSchedule/ \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {access-token}'
PUT /EditSchedule/ HTTP/1.1
Content-Type: application/json
const inputBody = '{
"day": "*",
"dow": "*",
"enddate": "2019-08-24",
"fetchtype": 0,
"hour": "*",
"minute": "*",
"month": "*",
"scheduleid": 0,
"schedulename": "string",
"scheduleshopid": 0,
"second": "*",
"shoptype": 0,
"startdate": "2019-08-24",
"status": 1,
"year": "*"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/EditSchedule/',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put '/EditSchedule/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer {access-token}'
}
r = requests.put('/EditSchedule/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/EditSchedule/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/EditSchedule/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/EditSchedule/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /EditSchedule/
This is to edit the schedule
By using this endpoint, users can edit the schedule. Making a PUT request to this endpoint allows users to update the details and parameters of the specified schedule, such as modifying the schedule name, date, time, or any other relevant attributes.
Body parameter
{
"day": "*",
"dow": "*",
"enddate": "2019-08-24",
"fetchtype": 0,
"hour": "*",
"minute": "*",
"month": "*",
"scheduleid": 0,
"schedulename": "string",
"scheduleshopid": 0,
"second": "*",
"shoptype": 0,
"startdate": "2019-08-24",
"status": 1,
"year": "*"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» day | body | string | false | none |
» dow | body | string | false | none |
» enddate | body | string(date) | false | none |
» fetchtype | body | integer | false | none |
» hour | body | string | false | none |
» minute | body | string | false | none |
» month | body | string | false | none |
» scheduleid | body | integer | false | none |
» schedulename | body | string | false | none |
» scheduleshopid | body | integer | false | none |
» second | body | string | false | none |
» shoptype | body | integer | false | none |
» startdate | body | string(date) | false | none |
» status | body | integer | false | none |
» year | body | string | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Hooks
Create Hook
Code samples
# You can also use wget
curl -X POST /Endpoint/ \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {access-token}'
POST /Endpoint/ HTTP/1.1
Content-Type: application/json
const inputBody = '{
"authtype": "string",
"endpoint": "string",
"password": "string",
"token": "string",
"username": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/Endpoint/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/Endpoint/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/Endpoint/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/Endpoint/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/Endpoint/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/Endpoint/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /Endpoint/
This is to create an endpoint
This API call allows users to create an endpoint. By making a POST request to this endpoint, users can create a new endpoint by providing the necessary parameters and details in the request body.
Body parameter
{
"authtype": "string",
"endpoint": "string",
"password": "string",
"token": "string",
"username": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» authtype | body | string | false | none |
» endpoint | body | string | false | none |
» password | body | string | false | none |
» token | body | string | false | none |
» username | body | string | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Account
Get Credits
Code samples
# You can also use wget
curl -X GET /credits/ \
-H 'Authorization: Bearer {access-token}'
GET /credits/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/credits/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/credits/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/credits/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/credits/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/credits/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/credits/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /credits/
Viewing basic information about your call settings
With this API call, users can view basic information about their call settings. By sending a GET request to this endpoint, users can retrieve details about their credit balance, usage limits, or any other relevant information related to their call settings.
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Demand
Create Eventimpact
Code samples
# You can also use wget
curl -X POST /eventimpact/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /eventimpact/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"address": "string",
"category": "string",
"city": "string",
"country": "string",
"estimatedattendee": "string",
"eventid": 0,
"eventname": "string",
"eventstatusCode": 1,
"horizon": 30,
"impact_eventtype": "string",
"lat": "string",
"lng": "string",
"proximity": 0,
"region": "string",
"state": "string",
"venue": "string",
"zip": "string"
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/eventimpact/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/eventimpact/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/eventimpact/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/eventimpact/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/eventimpact/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/eventimpact/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /eventimpact/
This method is to fetch the event information with an impact score
This method is used to fetch the event information with an impact score. By making a POST request to this endpoint, users can retrieve event information along with its impact score by providing the required parameters in the request body.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» address | body | string | false | none |
» category | body | string | false | none |
» city | body | string | false | none |
» country | body | string | false | none |
» estimatedattendee | body | string | false | none |
» eventid | body | integer | false | none |
» eventname | body | string | false | none |
» eventstatusCode | body | integer | false | none |
» horizon | body | integer | false | none |
» impact_eventtype | body | string | false | none |
» lat | body | string | false | none |
» lng | body | string | false | none |
» proximity | body | integer | false | none |
» region | body | string | false | none |
» state | body | string | false | none |
» venue | body | string | false | none |
» zip | body | string | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Get Hoteldemandinfo
Code samples
# You can also use wget
curl -X GET /GetHotelDemandInfo/ \
-H 'Authorization: Bearer {access-token}'
GET /GetHotelDemandInfo/ HTTP/1.1
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/GetHotelDemandInfo/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get '/GetHotelDemandInfo/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.get('/GetHotelDemandInfo/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/GetHotelDemandInfo/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/GetHotelDemandInfo/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/GetHotelDemandInfo/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /GetHotelDemandInfo/
User can view the EventInfoShop
By utilizing this API endpoint, users can view the EventInfoShop. Making a GET request to this endpoint allows users to retrieve the details and information of the specified EventInfoShop, such as event details, shop name, or any other relevant attributes.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
DemandId | query | any | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Create Hoteldemand
Code samples
# You can also use wget
curl -X POST /hoteldemand/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /hoteldemand/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"city": "string",
"country": "string",
"horizon": 0,
"hotelcode": 0
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/hoteldemand/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/hoteldemand/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/hoteldemand/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/hoteldemand/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/hoteldemand/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/hoteldemand/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /hoteldemand/
This method fetches the hotel demand information.
This method fetches hotel demand information. By making a POST request to this endpoint, users can retrieve hotel demand information by providing the required parameters in the request body.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» city | body | string | false | none |
» country | body | string | false | none |
» horizon | body | integer | false | none |
» hotelcode | body | integer | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Entity Informations
Create Events
Code samples
# You can also use wget
curl -X POST /events/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /events/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"category": "string",
"city": "string",
"country": "string",
"eventid": 0,
"eventname": "string",
"state": "string",
"zip": "string"
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/events/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/events/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/events/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/events/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/events/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/events/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /events/
This method is used to fetch the eventid or an event’s base details
This method is used to fetch the event ID or an event's base details. By making a POST request to this endpoint, users can retrieve event information, such as event ID or basic details, by providing the required parameters in the request body.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» category | body | string | false | none |
» city | body | string | false | none |
» country | body | string | false | none |
» eventid | body | integer | false | none |
» eventname | body | string | false | none |
» state | body | string | false | none |
» zip | body | string | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Create Eventsinfo
Code samples
# You can also use wget
curl -X POST /eventsinfo/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /eventsinfo/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"address": "string",
"category": "string",
"city": "string",
"country": "string",
"estimatedattendee": "string",
"eventid": 0,
"eventname": "string",
"eventstatusCode": 1,
"lat": "string",
"lng": "string",
"proximity": 0,
"region": "string",
"state": "string",
"venue": "string",
"zip": "string"
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/eventsinfo/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/eventsinfo/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/eventsinfo/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/eventsinfo/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/eventsinfo/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/eventsinfo/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /eventsinfo/
This method is to fetch an event’s complete information
This method is used to fetch an event's complete information. By making a POST request to this endpoint, users can retrieve detailed information about an event by providing the required parameters in the request body.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» address | body | string | false | none |
» category | body | string | false | none |
» city | body | string | false | none |
» country | body | string | false | none |
» estimatedattendee | body | string | false | none |
» eventid | body | integer | false | none |
» eventname | body | string | false | none |
» eventstatusCode | body | integer | false | none |
» lat | body | string | false | none |
» lng | body | string | false | none |
» proximity | body | integer | false | none |
» region | body | string | false | none |
» state | body | string | false | none |
» venue | body | string | false | none |
» zip | body | string | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Create Hotelinfo
Code samples
# You can also use wget
curl -X POST /hotelinfo/ \
-H 'Content-Type: */*' \
-H 'Authorization: Bearer {access-token}'
POST /hotelinfo/ HTTP/1.1
Content-Type: */*
const inputBody = '{
"address": "string",
"city": "string",
"country": "string",
"hotelcode": 0,
"hotelcodes": [],
"hotelname": "string",
"lat": "string",
"lng": "string",
"proximity": 0,
"rating": "string",
"state": "string",
"zip": "string"
}';
const headers = {
'Content-Type':'*/*',
'Authorization':'Bearer {access-token}'
};
fetch('/hotelinfo/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post '/hotelinfo/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('/hotelinfo/', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => '*/*',
'Authorization' => 'Bearer {access-token}',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/hotelinfo/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/hotelinfo/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/hotelinfo/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /hotelinfo/
Search and retrieve information on the hotels you wish to track
This method allows users to search and retrieve information on the hotels they wish to track. By making a POST request to this endpoint, users can search for specific hotels and retrieve relevant information by providing the required parameters in the request body.
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | true | none |
» address | body | string | false | none |
» city | body | string | false | none |
» country | body | string | false | none |
» hotelcode | body | integer | false | none |
» hotelcodes | body | [object] | false | none |
» hotelname | body | string | false | none |
» lat | body | string | false | none |
» lng | body | string | false | none |
» proximity | body | integer | false | none |
» rating | body | string | false | none |
» state | body | string | false | none |
» zip | body | string | false | none |
Example responses
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | ok | None |
400 | Bad Request | bad request | None |
401 | Unauthorized | unauthorized | None |
500 | Internal Server Error | internal error | None |
Response Schema
Schemas
userReq
{
"handle": "myuser",
"password": "supersecret"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
handle | string | true | none | Request an user by. |
password | string | true | none | Secret |
userResp
{
"error": false,
"token": "AXSGpLVjnef7w5XgfWdoBwbfs",
"handle": "myuser"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
error | boolean | false | none | none |
token | string | false | none | Represents an access token. |
handle | string | false | none | Represents a handle. |
Enumerated Values
Property | Value |
---|---|
error | false |