Download OpenAPI specification:
Return dashboard access logs.
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | integer >= 1 Identifier of the last access log record on the current page, used to request the next page. |
date_min | string <datetime> The minimum date of access logs to show. |
date_max | string <datetime> The maximum date of access logs to show. |
user_id | integer >= 1 The user id to show. |
target_path | string [ 1 .. 2048 ] characters The path that was requested by the user. |
verb | string [ 1 .. 10 ] characters The request http method. |
user_agent | string [ 1 .. 2048 ] characters The user agent used for the request. |
ip | string [ 1 .. 128 ] characters The ip address used for the request. |
http_code_min | integer >= 0 The minimum value of the http response status to show. |
http_code_max | integer >= 0 The maximum value of the http response status to show. |
knot_code_min | integer The minimum value of the response code to show. |
knot_code_max | integer The maximum value of the response code to show. |
{- "code": 0,
- "data": [
- {
- "date": "string",
- "user_id": 1,
- "target_path": "string",
- "query": { },
- "body": { },
- "verb": "string",
- "user_agent": "string",
- "ip": "string",
- "http_code": 0,
- "knot_code": 0,
- "log_id": "14b5977f-7a80-40ca-bb79-eca6c2abdb34",
- "fullname": "string"
}
]
}
Return available additional charge types on specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "additional_charge_type_id": "string",
- "name": "string",
- "network_id": 1,
- "network_name": "string",
- "default_amount": 0.01,
- "creation_date": "2019-08-24T14:15:22Z",
- "currency": "EUR"
}
]
}
Create a new additional charge type on the specified network.
Info about the charge type.
name required | string The name of the additional charge type. |
default_amount required | number >= 0.01 The default amount of this charge type. |
network_id required | integer >= 1 The identifier of the network this charge type is associated with. |
{- "name": "string",
- "default_amount": 0.01,
- "network_id": 1
}
{- "code": 0
}
Delete an additional charge type. Existing charge won't be affected.
id required | string^act_[0-9a-zA-Z]{7}$ Identifier of the additional charge type. |
{- "code": 0
}
Create a new app label.
App label parameters.
name required | string/^[a-z]{1,20}$/ The unique label name. |
display_name required | string [ 1 .. 32 ] characters The label name that will be displayed. |
third_party_id required | integer >= 1 The identifier of the third party that will manage this app label. Invoices will use the third party info. |
{- "name": "string",
- "display_name": "string",
- "third_party_id": 1
}
{- "code": 0,
- "data": {
- "app_label_id": 1
}
}
Return detail of the application white label.
app_label_id required | integer >= 1 Identifier of the app label. |
{- "code": 0,
- "data": {
- "require_sms_validation": true,
- "require_terms_of_use": true,
- "auto_delete_users": true,
- "saved_payment_method_is_optional": true,
- "contact_email": "user@example.com",
- "contact_phone_number": "string",
- "google_auth_client_id": "string",
- "google_auth_ios_client_id": "string",
- "google_redirect_url": "string",
- "apple_server_id": "string",
- "apple_app_id": "string",
- "apple_key_id": "string",
- "apple_team_id": "string",
- "sms_providers": [
- {
- "provider": "string",
- "priority_country_codes": [
- 1
]
}
]
}
}
Update parameters of the app label.
app_label_id required | integer >= 1 Identifier of the app label. |
App label parameters.
require_sms_validation required | boolean Indicate if new user require a phone number with sms validation. |
require_terms_of_use required | boolean Indicate if new user should accept the term of use. |
auto_delete_users required | boolean Indicate if inactive users should be deleted. |
android_store_url required | string or null <uri> [ 1 .. 100 ] characters Url of the Android application on Google play store. |
ios_store_url required | string or null <uri> [ 1 .. 100 ] characters Url of the iOS application on Apple app store. |
saved_payment_method_is_optional required | boolean Indicate if users can rent without saved payment method. |
website required | string or null <uri> <= 100 characters Url of the website of the white label. |
contact_email required | string or null <email> <= 100 characters Contact email of the white label, for end user. |
contact_phone_number required | string or null <= 100 characters Contact phone number of the white label, for end user. |
{- "require_sms_validation": true,
- "require_terms_of_use": true,
- "auto_delete_users": true,
- "saved_payment_method_is_optional": true,
- "contact_email": "user@example.com",
- "contact_phone_number": "string"
}
{- "code": 0
}
Get the mail setting of the app label.
app_label_id required | integer >= 1 Identifier of the app label. |
{- "code": 0,
- "data": {
- "send_user_mails": true,
- "sender_address": "user@example.com",
- "sender_name": "string",
- "reply_to": "user@example.com",
- "notification_email": "user@example.com"
}
}
Set the mail setting of the app label.
app_label_id required | integer >= 1 Identifier of the app label. |
App label mail parameters.
send_user_mails required | boolean Indicate if mail are enabled. |
sender_address required | string <email> <= 255 characters Email used to send the mail. Needs to be validated on AWS SES, and DNS should be configured according to it. |
sender_name required | string <= 32 characters The name of sender. |
reply_to required | string or null <email> <= 255 characters Email in reply-to header. |
notification_email required | string <email> <= 255 characters Reference email for notifications. |
{- "send_user_mails": true,
- "sender_address": "user@example.com",
- "sender_name": "string",
- "reply_to": "user@example.com",
- "notification_email": "user@example.com"
}
{- "code": 0
}
Enable a sms provider on the app label. Calling this route on an already enabled sms provider will update it.
app_label_id required | integer >= 1 Identifier of the app label. |
provider required | string (SmsProvider) Enum: "ovh" "playmobileuz" "twilio" Name of the sms provider. |
App label payment provider credentials.
object The credentials of the sms provider. Should match the keys given in the get providers route. Not giving this parameter allow to update other properties, but it is required if the provider was not initially configured. | |
priority_country_codes required | Array of integers or null[ items [ 1 .. 999 ] ] The list of country code that should use this provider in priority. Giving null means that this will be used for all country codes of no other provider match. |
{- "credentials": {
- "property1": "string",
- "property2": "string"
}, - "priority_country_codes": [
- 1
]
}
{- "code": 0
}
Disable a sms provider on the app label.
app_label_id required | integer >= 1 Identifier of the app label. |
provider required | string (SmsProvider) Enum: "ovh" "playmobileuz" "twilio" Name of the sms provider. |
{- "code": 0
}
Return bookings made on specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
primary_key_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the booking identifier. |
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | string Identifier of the last booking on the current page, used to request the next page. |
sort_by | string Enum: "creation_date" "start_date" "planned_end_date" "end_date" Custom sort key. |
sort_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the custom sort key. |
state | Array of strings Items Enum: "planned-or-active" "cancelled" "expired" "fulfilled" Examples:
States of the booking to show. |
creation_date_min | string <datetime> The minimum creation date of bookings to show. |
creation_date_max | string <datetime> The maximum creation date of bookings to show. |
start_date_min | string <datetime> The minimum start date of bookings to show. |
start_date_max | string <datetime> The maximum start date of bookings to show. |
planned_end_date_min | string <datetime> The minimum end date of bookings to show. |
planned_end_date_max | string <datetime> The maximum end date of bookings to show. |
end_date_min | string <datetime> The minimum end date of bookings to show. |
end_date_max | string <datetime> The maximum end date of bookings to show. |
booking_id | string^bkg_[0-9a-zA-Z]{7}$ The booking id to show. |
serial_number | string [ 1 .. 10 ] characters Filter by serial number of the rented vehicle. |
string What the user email should contains. | |
user_id | integer >= 1 The identifier of the user to get trips of. |
trip_id | integer >= 1 The identifier of the trip that was created from this booking. |
{- "code": 0,
- "data": [
- {
- "booking_id": "string",
- "state": "planned-or-active",
- "creation_date": "2019-08-24T14:15:22Z",
- "start_date": "2019-08-24T14:15:22Z",
- "planned_end_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "vehicle_id": 1,
- "serial_number": "string",
- "model_name": "string",
- "model_type": "kick-scooter",
- "user_id": 1,
- "user_email": "user@example.com",
- "user_organization_name": "string",
- "user_organization_id": 1,
- "currency": "string",
- "expired_cost": 0,
- "network_name": "string",
- "created_by": 0,
- "created_by_email": "user@example.com",
- "canceled_by": 0,
- "canceled_by_email": "user@example.com",
- "trip_id": 1
}
], - "total": 0
}
Return clusters of the specified networks with availability, spot count info, dates, etc.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "cluster_id": 1,
- "cluster_name": "string",
- "total_spots": 0,
- "available_vehicles": 0,
- "total_parking_capacity": 0,
- "commissioning_date": "2019-08-24T14:15:22Z",
- "location": "string",
- "latitude": 48.5900027,
- "longitude": 7.7531998,
- "network_id": 1,
- "network_name": "string",
- "default_vat": 0.1,
- "currency": "string",
- "vehicles": 0,
- "svaas_ids": [
- 1
], - "type": "virtual",
- "online": true,
- "availability": 1,
- "maintenances": {
- "info": 0,
- "low": 0,
- "high": 0
}
}
]
}
Search for cluster with a given name in specified networks.
name required | string non-empty Search value. |
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
badge_reader | boolean Search only for station with a badge reader. |
{- "code": 0,
- "data": [
- {
- "cluster_id": 1,
- "cluster_name": "string",
- "network_id": 1,
- "network_name": "string",
- "default_vat": 0.1,
- "currency": "string",
- "vehicles": 0,
- "total_spots": 0,
- "total_parking_capacity": 0
}
]
}
Return the details of the specified cluster.
id required | integer >= 1 Identifier of the cluster. |
lang required | string = 2 characters The lang in which to get the cluster description localized. |
{- "code": 0,
- "data": {
- "total_spots": 0,
- "available_vehicles": 0,
- "total_parking_capacity": 0,
- "commissioning_date": "2019-08-24T14:15:22Z",
- "location": "string",
- "latitude": 48.5900027,
- "longitude": 7.7531998,
- "network_id": 1,
- "network_name": "string",
- "default_vat": 0.1,
- "currency": "string",
- "vehicles": 0,
- "cluster_name": "string",
- "free_spots": 0,
- "free_parking_capacity": 0,
- "exceptional_out_of_order": {
- "exceptional_out_of_order_id": 1,
- "type": "other",
- "reason": "string",
- "custom_reason": "We had to stop this station for extensive maintenance"
}, - "max_unlock_distance": 0,
- "description_key": "string",
- "description": "string",
- "comment": "string"
}
}
Return station's details of the specified cluster with all spots and contained vehicle if present.
id required | integer >= 1 Identifier of the cluster. |
{- "code": 0,
- "data": [
- {
- "station_id": 1,
- "creation_date": "string",
- "last_boot": "string",
- "last_request": "string",
- "last_response": "string",
- "service_id": 1,
- "has_badge_reader": true,
- "connected_since": "string",
- "temperature": -20,
- "speaker_volume": 100,
- "alarm_threshold": 100,
- "connectivity": {
- "type": "GSM",
- "rssi": -120,
- "rsrp": -140
}, - "model_name": "string",
- "energy_source": "grid",
- "total_active_energy": 0,
- "maintenance_level": "info",
- "spots": [
- {
- "spot_id": 1,
- "contained_vehicle": {
- "vehicle_id": 1,
- "serial_number": "string",
- "battery_level": 100,
- "maintenance_level": "info",
- "model_type": "kick-scooter",
- "charging": true,
- "iot_online": true
}, - "displayed_number": 1,
- "lock_status": 0,
- "maintenance_level": "info"
}
]
}
]
}
Return outages history of all physical station linked to the specified cluster.
id required | integer >= 1 Identifier of the cluster. |
{- "code": 0,
- "data": [
- {
- "station_id": 1,
- "start_date": "string",
- "end_date": "string",
- "weather": "light rain",
- "outage_type": "connectivity",
- "outage_detail": "MQTT_KEEP_ALIVE_TIMEOUT"
}
]
}
Return virtual parkings of the specified cluster with contained vehicle if present.
id required | integer >= 1 Identifier of the cluster. |
{- "code": 0,
- "data": [
- {
- "shape": [
- [
- -180,
- -180,
- -180
]
], - "capacity": 0,
- "virtual_parking_id": 1,
- "creation_date": "string",
- "vehicles": [
- {
- "vehicle_id": 1,
- "serial_number": "string",
- "battery_level": 100,
- "maintenance_level": "info",
- "model_type": "kick-scooter"
}
]
}
]
}
Create a virtual parking attached to this cluster.
id required | integer >= 1 Identifier of the cluster. |
Parking parameters
shape required | Array of numbers[ items >= 3 items [ items = 2 items [ -180 .. 180 ] ] ] Shape of virtual parking as a list of points making a polygon. |
capacity required | integer >= 0 How many vehicle can be parked. |
{- "shape": [
- [
- -180,
- -180,
- -180
]
], - "capacity": 0
}
{- "code": 0
}
Set cluster's commissioning date.
id required | integer >= 1 Identifier of the cluster. |
The commissioning date.
date required | string <date-time> The date at which the cluster should be commissioned. |
{- "date": "2019-08-24T14:15:22Z"
}
{- "code": 0
}
Return the history of all maintenances on spot for the specified cluster.
id required | integer >= 1 Identifier of the cluster. |
{- "code": 0,
- "data": [
- {
- "maintenance_id": 1,
- "maintenance_type": "string",
- "comment": "string",
- "start_date": "string",
- "started_by": "user@example.com",
- "started_by_uid": 1,
- "severity": "info",
- "stop_date": "string",
- "stopped_by": "user@example.com",
- "stopped_by_uid": 1,
- "displayed_number": 1,
- "report_id": 0
}
]
}
Upload a picture to the specified cluster.
id required | integer >= 1 Identifier of the cluster of which we want to add a picture. |
The picture to upload & some info on the cluster.
cluster_picture required | string <binary> The picture file data. |
{- "code": 0,
}
Delete a cluster picture.
id required | integer >= 1 Identifier of the cluster of which we want to delete a picture. |
picture required | string non-empty Example: picture=clusterpictures/96361409-5115-e583-9c6f-2ee87903ce76.jpg Key of the picture that we want to delete. |
{- "code": 0
}
Update the location (text) of the cluster. This address is for informational purposes only, it does not move the pin of the station.
id required | integer >= 1 Identifier of the cluster of which we want to change location. |
The new location.
location required | string [ 5 .. 100 ] characters The new location of the cluster. |
{- "location": "6 Rue des Boeufs, 67000 Strasbourg"
}
{- "code": 0
}
Update the max unlock distance, the internal comment and allow to force the cluster to be down.
id required | integer >= 1 Identifier of the cluster of which we want to change settings. |
New settings.
max_unlock_distance required | integer [ 25 .. 500 ] The maximum distance between user position and the cluster to allow vehicle unlocking. |
comment required | string [ 1 .. 500 ] characters Internal comment, only displayed on the dashboard. Can be used to set contact information, etc. |
{- "max_unlock_distance": 25,
- "comment": "string"
}
{- "code": 0
}
Update the description of the cluster. This description is visible by end users, it allow to specify information to end users.
id required | integer >= 1 Identifier of the cluster of which we want to change description. |
The new description.
lang required | string = 2 characters The language of the description. |
description required | string or null [ 1 .. 500 ] characters The text of the description. |
{- "lang": "st",
- "description": "string"
}
{- "code": 0
}
Return the details of the specified out of order.
id required | integer >= 1 Identifier of the cluster. |
lang required | string = 2 characters The lang in which to get the cluster description localized. |
{- "code": 0,
- "data": {
- "type": "other",
- "custom_reason": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}
}
Add an out of order for a specific cluster.
id required | integer >= 1 The cluster's identifier. |
Info on the out of order to create.
type required | string Enum: "other" "winter" Type of the out of order. |
reason | string [ 1 .. 100 ] characters Reason of the out of order. |
start_date required | string <date-time> Start date of the out of order. |
end_date | string or null <date-time> End date of the out of order. |
{- "type": "other",
- "reason": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}
{- "code": 0,
- "data": {
- "exceptional_out_of_order_id": 1
}
}
Return all networks with some indicators (network's owner, creation date, total stations, vehicles and trips).
{- "code": 0,
- "data": [
- {
- "network_id": 1,
- "network_name": "string",
- "default_vat": 0.1,
- "currency": "string",
- "vehicles": 0,
- "country": 1,
- "country_iso": "FR",
- "creation_date": "2019-08-24T14:15:22Z",
- "deletion_date": "2019-08-24T14:15:22Z",
- "clusters": 0,
- "trips": 0,
- "users": 0,
- "third_party_id": "string",
- "third_party_name": "string",
- "app_label_id": 1,
- "app_label_name": "string"
}
]
}
Create a new network.
Parameters for the new network to create.
name required | string [ 1 .. 200 ] characters The new network's name. |
default_vat required | number [ 0 .. 1 ] The default vat percentage of the network. |
country_id required | integer >= 1 The identifier of the country where the network is situated. |
currency required | string Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" The currency of the network. Used for default_vehicle_guarantee, offers, and network pricing. |
default_vehicle_guarantee required | number >= 0 The amount of the pre-authorization to rent a vehicle on the network. |
trip_to_skip_pre_auth_guarantee required | integer >= -1 Number of trips to be finished in order not to have the pre-authorization (-1: pre-authorization is mandatory, 0: pre-authorization never performed). |
timezone required | string Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone where the network is situated. |
third_party_id required | string^tpy_[a-zA-Z0-9]{7}$ The identifier of the third party that own the network. |
app_label_id required | integer >= 1 The identifier of default app label of the network. |
{- "name": "string",
- "default_vat": 1,
- "country_id": 1,
- "currency": "string",
- "default_vehicle_guarantee": 0,
- "trip_to_skip_pre_auth_guarantee": -1,
- "timezone": "Africa/Abidjan",
- "third_party_id": "string",
- "app_label_id": 1
}
{- "code": 0,
- "data": 1
}
Get the list of authorized networks in activity for the user. The main purpose is the dashboard network selector.
{- "code": 0,
- "data": [
- {
- "network_id": 1,
- "network_name": "string",
- "default_vat": 0.1,
- "currency": "string",
- "vehicles": 0
}
]
}
Return the list of vehicle models present on the networks and how many vehicle there are per model.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "model_id": 1,
- "model_name": "string",
- "manufacturer": "string",
- "model_type": "kick-scooter",
- "network_id": 1,
- "network_name": "string",
- "count": 1
}
]
}
Return details of the specified network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": {
- "network_id": 1,
- "network_name": "string",
- "default_vat": 0.1,
- "currency": "string",
- "vehicles": 0,
- "country": 1,
- "country_iso": "FR",
- "creation_date": "2019-08-24T14:15:22Z",
- "deletion_date": "2019-08-24T14:15:22Z",
- "clusters": 0,
- "trips": 0,
- "users": 0,
- "third_party_id": "string",
- "third_party_name": "string",
- "app_label_id": 1,
- "app_label_name": "string",
- "freefloat_to_station_discount_per_km": 99999999,
- "freefloat_to_station_free_credits": 99999999,
- "freefloat_to_receiver_station_free_credits": 99999999,
- "freefloat_to_station_min_battery": 100,
- "sponsoring_reward": 0,
- "sponsored_reward": 0,
- "timezone": "Africa/Abidjan",
- "exceptional_out_of_order": {
- "exceptional_out_of_order_id": 1,
- "type": "other",
- "reason": "string",
- "custom_reason": "Network is closed this night for extensive maintenance"
}
}
}
Get the list of vehicle models with a specific settings on the network.
network_id required | integer >= 1 The network's identifier. |
{- "code": 0,
- "data": [
- {
- "model_id": 1,
- "auto_light": true,
- "forced_speed_mode": 1,
- "model_name": "string",
- "manufacturer": "string"
}
]
}
Get the list of vehicle models with a specific guarantee on the network.
network_id required | integer >= 1 The network's identifier. |
{- "code": 0,
- "data": [
- {
- "model_id": 1,
- "guarantee": "string",
- "pre_auth": "string",
- "model_name": "string",
- "manufacturer": "string"
}
]
}
Update vehicle settings for a specific network and vehicle model.
network_id required | integer >= 1 The network's identifier. |
model_id required | integer >= 1 The vehicle model identifier. |
The new settings.
auto_light required | boolean True to automatically turn on the vehicle light when unlocking. |
speed_mode required | integer or null Enum: 1 2 3 If not null, block the vehicle speed mode in the specified mode and disable the speed button (1 = ECO, 2 = NORMAL, 3 = SPORT). |
{- "code": 0
}
Delete vehicle settings for a specific network and vehicle model.
network_id required | integer >= 1 The network's identifier. |
model_id required | integer >= 1 The vehicle model identifier. |
{- "code": 0
}
Update vehicle guarantees for a specific network and vehicle model.
network_id required | integer >= 1 The network's identifier. |
model_id required | integer >= 1 The vehicle model identifier. |
The new guarantee.
guarantee required | number <float> >= 0 The amount that will be billed to the user if it does not return the vehicle. |
pre_auth required | number <float> >= 0 The amount that will be asked for the vehicle model for a pre auth before starting a trip. |
{- "code": 0
}
Delete vehicle guarantees for a specific network and vehicle model.
network_id required | integer >= 1 The network's identifier. |
model_id required | integer >= 1 The vehicle model identifier. |
{- "code": 0
}
Get the speed settings for vehicles of the network.
network_id required | integer >= 1 The network's identifier. |
{- "code": 0,
- "data": {
- "default_low_speed": 0,
- "default_medium_speed": 0,
- "default_high_speed": 0,
- "min_battery_to_slow_down": 0,
- "battery_slow_down_speed": 0
}
}
Update the speed settings for vehicles of the network.
network_id required | integer >= 1 The network's identifier. |
The new settings.
default_low_speed required | integer The default low speed of vehicles. |
default_medium_speed required | integer The default medium speed of vehicles. |
default_high_speed required | integer The default high speed of vehicles. |
min_battery_to_slow_down required | integer or null The battery level at which the vehicle will slow down. |
battery_slow_down_speed required | integer or null The speed at which the vehicle will be maxed out when the battery reach the min battery level. |
{- "code": 0
}
Add an out of order for a specific network.
network_id required | integer >= 1 The network's identifier. |
Info on the out of order to create.
type required | string Enum: "other" "winter" Type of the out of order. |
reason | string [ 1 .. 100 ] characters Reason of the out of order. |
start_date required | string <date-time> Start date of the out of order. |
end_date | string or null <date-time> End date of the out of order. |
{- "type": "other",
- "reason": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}
{- "code": 0,
- "data": {
- "exceptional_out_of_order_id": 1
}
}
Return rent settings and timings of the specified network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": {
- "default_vehicle_guarantee": 0,
- "trip_to_skip_pre_auth_guarantee": -1,
- "smart_skip_pre_auth_guarantee": true,
- "first_purchase_required": true,
- "min_battery_to_rent": 10,
- "max_simultaneous_rented_vehicle": 1,
- "trip_on_hold": true,
- "credit_depletion_auto_lock": true,
- "min_battery_to_auto_lock": 1,
- "should_return_to_same_station": true,
- "allow_booking": true,
- "booking_expired_fee": 99999999,
- "trip_too_long_notifications": 3600,
- "trip_too_long_notifications_frequency": 900,
- "vehicle_stolen": 43200,
- "trip_auto_pause": 604800,
- "trip_max_pause": 604800,
- "trip_auto_lock": 604800,
- "booking_max_duration": 604800
}
}
Update rent settings of the specified network.
network_id required | integer >= 1 The network's identifier. |
Rent settings.
default_vehicle_guarantee required | number >= 0 The amount of the vehicle guarantee. |
trip_to_skip_pre_auth_guarantee required | integer >= -1 Number of trips to be finished in order to skip the pre-authorization (-1: mandatory pre-authorization, 0: never pre-authorization). |
smart_skip_pre_auth_guarantee required | boolean Indicates whether smart pre-authorization is enabled (skip pre-authorization if user has a pass or more credits than the deposit amount). |
first_purchase_required required | boolean Force user to do a purchase before renting for the first time. |
min_battery_to_rent required | integer [ 10 .. 95 ] The minimum battery level of a vehicle to be able to rent it. |
max_simultaneous_rented_vehicle required | integer [ 1 .. 10 ] Maximum number of vehicle that can be rented at the same time by one user. |
trip_on_hold required | boolean Indicate if user can put trip on hold (temporary lock). |
credit_depletion_auto_lock required | boolean Force to lock the vehicle if user doesn't has enough credit on it's account. |
min_battery_to_auto_lock required | integer or null [ 1 .. 50 ] Force to lock the vehicle if the battery is lower than the indicated level . |
should_return_to_same_station required | boolean Whether or not a vehicle need to return to its departure station. If it does not when this is true, the fee defined in the network pricing will be added to the trip price. |
allow_booking required | boolean Whether or not a users can make booking on the network. |
booking_expired_fee required | number [ 0 .. 99999999 ] The fee that will be billed when a booking expire. |
{- "default_vehicle_guarantee": 0,
- "trip_to_skip_pre_auth_guarantee": -1,
- "smart_skip_pre_auth_guarantee": true,
- "first_purchase_required": true,
- "min_battery_to_rent": 10,
- "max_simultaneous_rented_vehicle": 1,
- "trip_on_hold": true,
- "credit_depletion_auto_lock": true,
- "min_battery_to_auto_lock": 1,
- "should_return_to_same_station": true,
- "allow_booking": true,
- "booking_expired_fee": 99999999
}
{- "code": 0
}
Update rent timings of the specified network.
network_id required | integer >= 1 The network's identifier. |
Rent timings. All values are in seconds.
trip_too_long_notifications required | number [ 3600 .. 604800 ] Time after which the user will receive notifications that his trip is too long and he should return the vehicle. |
trip_too_long_notifications_frequency required | integer [ 900 .. 604800 ] Frequency in seconds of sending return vehicle notifications. |
vehicle_stolen required | integer [ 43200 .. 2592000 ] Time after which a vehicle is considered stolen if it is still not returned. |
trip_auto_pause required | integer or null [ 0 .. 604800 ] Time after which the trip will be on-hold (temporarily lock) if the vehicle doesn't move anymore. |
trip_max_pause required | integer or null [ 0 .. 604800 ] Maximum duration of a pause. If the user doesn't unlock the vehicle after this delay, the trip will be stopped and the vehicle will be available to everyone. |
trip_auto_lock required | integer or null [ 0 .. 604800 ] Maximum duration of a trip. The vehicle will be lock and the trip stopped if it exceed this value. |
booking_max_duration required | integer or null [ 0 .. 604800 ] Maximum duration of a booking. The booking will expire after this duration and the fee will be billed. |
{- "trip_too_long_notifications": 3600,
- "trip_too_long_notifications_frequency": 900,
- "vehicle_stolen": 43200,
- "trip_auto_pause": 604800,
- "trip_max_pause": 604800,
- "trip_auto_lock": 604800,
- "booking_max_duration": 604800
}
{- "code": 0
}
Update the network's logo.
network_id required | integer >= 1 The network's identifier. |
The picture to upload.
network_logo required | string <binary> The picture file data. |
{- "code": 0,
}
Update network the amount of sponsorship rewards.
network_id required | integer >= 1 The network's identifier. |
The new reward amount for sponsorship.
sponsoring_reward required | number >= 0 The amount given to the wallet of the user that sponsored another user. |
sponsored_reward required | number >= 0 The amount given to the wallet of the sponsored user, when he made his first trip. |
{- "sponsoring_reward": 0,
- "sponsored_reward": 0
}
{- "code": 0
}
Return freefloat to station reward of the specified network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": {
- "freefloat_to_station_discount_per_km": 99999999,
- "freefloat_to_station_free_credits": 99999999,
- "freefloat_to_receiver_station_free_credits": 99999999,
- "freefloat_to_station_min_battery": 100
}
}
Update freefloat to station reward of the specified network.
network_id required | integer >= 1 The network's identifier. |
Freefloat to station rewards.
freefloat_to_station_discount_per_km | number or null <float> [ 0 .. 99999999 ] The amount given to the user per km made on a trip from freefloat to a station. |
freefloat_to_station_free_credits | number or null <float> [ 0 .. 99999999 ] The amount given for a vehicle that returns to a station. |
freefloat_to_receiver_station_free_credits | number or null <float> [ 0 .. 99999999 ] The amount given for a vehicle that returns to a station that is a receiver. |
freefloat_to_station_min_battery | integer or null [ 0 .. 100 ] The minimum battery level of the vehicle. If the vehicle has a greater battery level the rewards won't be granted. |
{- "freefloat_to_station_discount_per_km": 99999999,
- "freefloat_to_station_free_credits": 99999999,
- "freefloat_to_receiver_station_free_credits": 99999999,
- "freefloat_to_station_min_battery": 100
}
{- "code": 0
}
Return access rules of a given network.
network_id required | integer >= 1 Identifier of the network of which to get access rules. |
{- "code": 0,
- "data": [
- {
- "access_rule_id": 1,
- "network_id": 1,
- "email_pattern": "%@gmail.com",
- "organization": 1,
- "organization_name": "Knot Corp",
- "app_label": 1,
- "app_label_name": "knot"
}
]
}
Create a new access rule for a given network.
network_id required | integer >= 1 Identifier of the network on which to create the access rule. |
Info on the new access rule to create, at least one property is required.
email_pattern | string/^[a-zA-Z0-9@._(){}[\]|*+?%#\\-]+$/ A pgsql pattern that specifies which email can access this network. |
organization | integer >= 1 The identifier of an organization that can access this network. |
app_label | integer >= 1 The identifier of the app white label that can access this network. |
{- "email_pattern": "string",
- "organization": 1,
- "app_label": 1
}
{- "code": 0,
- "data": 1
}
Update the given network access rule.
network_id required | integer >= 1 Identifier of the network on which the access rule is. |
rid required | integer >= 1 Identifier of the network access rule to edit. |
Info on the new access rule to update, at least one property is required.
email_pattern required | string or null/^[a-zA-Z0-9@._(){}[\]|*+?%#\\-]+$/ A pgsql pattern that specifies which email can access this network. |
organization required | integer or null >= 1 The identifier of an organization that can access this network. |
app_label required | integer or null >= 1 The identifier of the app white label that can access this network. |
{- "email_pattern": "string",
- "organization": 1,
- "app_label": 1
}
{- "code": 0
}
Delete the given network access rule.
network_id required | integer >= 1 Identifier of the network on which the access rule is. |
rid required | integer >= 1 Identifier of the network access rule to delete. |
{- "code": 0
}
Get the list of cluster benefiting from balancing.
network_id required | integer >= 1 The network's identifier. |
{- "code": 0,
- "data": [
- {
- "cluster_id": 1,
- "cluster_name": "string",
- "balancing_type": "donor",
- "target_count": 0,
- "total_spots": 0,
- "total_parking_capacity": 0
}
]
}
Add a cluster to the list of clusters that beneficiate from balancing.
network_id required | integer >= 1 The network's identifier. |
Info on the cluster balancing to create.
cluster_id required | integer >= 0 The identifier of the cluster. |
target_count required | integer The number of vehicle that we target (to be less than for donor clusters and greater than for receiver clusters). |
balancing_type required | string (BalancingType) Enum: "donor" "receiver" The type of the station for the balancing discounts. Renting a vehicle from a donor station to a receiver station will grant the user a discount on its trip. |
{- "cluster_id": 0,
- "target_count": 0,
- "balancing_type": "donor"
}
{- "code": 0
}
Update the target count of a cluster balancing.
network_id required | integer >= 1 The network's identifier. |
Info on the cluster balancing to update.
cluster_id required | integer >= 0 The identifier of the cluster. |
target_count required | integer The number of vehicle that we target (to be less than for donor clusters and greater than for receiver clusters). |
{- "cluster_id": 0,
- "target_count": 0
}
{- "code": 0
}
Remove a cluster from the list of clusters that beneficiate from balancing.
network_id required | integer >= 1 The network's identifier. |
cluster_id required | integer >= 1 The cluster's identifier. |
{- "code": 0
}
Get the discount amount of a clusters balancing discount.
network_id required | integer >= 1 The network's identifier. |
{- "code": 0,
- "data": [
- {
- "donor_cluster_id": 1,
- "donor_cluster_name": "string",
- "receiver_cluster_id": 1,
- "receiver_cluster_name": "string",
- "discount_amount": "string"
}
]
}
Update the discount of a cluster balancing route.
network_id required | integer >= 1 The network's identifier. |
Info on the balancing discount to update.
donor_cluster_id required | integer >= 1 The identifier of the cluster on which the trip need to start. |
receiver_cluster_id required | integer >= 1 The identifier of the cluster on which the trip need to finish. |
discount_amount required | number The amount of the discount applied to the trip. |
{- "donor_cluster_id": 1,
- "receiver_cluster_id": 1,
- "discount_amount": 0
}
{- "code": 0
}
Get the average duration of the x percent of the fastest trips between two clusters.
network_id required | integer >= 1 The network's identifier. |
donor_cluster_id required | integer >= 1 The cluster id on which the trip start. |
receiver_cluster_id required | integer >= 1 The cluster id on which the trip finish. |
fastest_trip_percentage required | integer [ 1 .. 50 ] The size of the sample of trips to use. |
{- "code": 0,
- "data": [
- {
- "avg_duration": 0
}
]
}
Get notifications settings of the specified network.
network_id required | integer >= 1 The network's identifier. |
{- "code": 0,
- "data": [
- {
- "notification_id": 1,
- "notification_type": "fleet-alert",
- "alert_types": [
- "unexpected-unlock"
], - "alert_severities": [
- "low"
], - "creation_date": "string",
- "check_interval": 0,
- "check_delay": 0,
- "last_check": "string",
- "targets": [
- {
- "email": "user@example.com",
- "user_id": 1
}
]
}
]
}
Add a notifications settings.
network_id required | integer >= 1 The network's identifier. |
Info on the notification settings to create.
notification_type required | string Enum: "fleet-alert" "vehicle-fault" "station-down" "support-report" "support-message" The type of notification |
alert_types required | Array of strings (AlertType) non-empty Items Enum: "unexpected-unlock" "spot-identify-fail" "spot-high-temperature" "spot-incorrect-lock" "spot-locker-stuck" "station-power-cut" "station-alarm-triggered" "vehicle-illegal-moving" "vehicle-dismantling" "vehicle-lifted" "vehicle-fallen" "vehicle-out-of-network-area" Type of alerts sent. |
alert_severities required | Array of strings (AlertSeverity) non-empty Items Enum: "low" "high" "critical" Severity level of alerts sent. |
check_interval | integer >= 0 The interval in seconds in which the system will check for new alerts to sent. |
check_delay | integer >= 0 The delay to wait before sending a notifications. Only notifications older than the specified delay will be sent. |
{- "notification_type": "fleet-alert",
- "alert_types": [
- "unexpected-unlock"
], - "alert_severities": [
- "low"
], - "check_interval": 0,
- "check_delay": 0
}
{- "code": 0,
- "data": {
- "notification_id": 1
}
}
Edit a notifications settings.
network_id required | integer >= 1 The network's identifier. |
notification_id required | integer >= 1 The notification setting's identifier. |
News values for the notification settings.
notification_type required | string Enum: "fleet-alert" "vehicle-fault" "station-down" "support-report" "support-message" The type of notification |
alert_types required | Array of strings (AlertType) non-empty Items Enum: "unexpected-unlock" "spot-identify-fail" "spot-high-temperature" "spot-incorrect-lock" "spot-locker-stuck" "station-power-cut" "station-alarm-triggered" "vehicle-illegal-moving" "vehicle-dismantling" "vehicle-lifted" "vehicle-fallen" "vehicle-out-of-network-area" Type of alerts sent. |
alert_severities required | Array of strings (AlertSeverity) non-empty Items Enum: "low" "high" "critical" Severity level of alerts sent. |
check_interval | integer >= 0 The interval in seconds in which the system will check for new alerts to sent. |
check_delay | integer >= 0 The delay to wait before sending a notifications. Only notifications older than the specified delay will be sent. |
{- "notification_type": "fleet-alert",
- "alert_types": [
- "unexpected-unlock"
], - "alert_severities": [
- "low"
], - "check_interval": 0,
- "check_delay": 0
}
{- "code": 0
}
Remove a notifications settings.
network_id required | integer >= 1 The network's identifier. |
notification_id required | integer >= 1 The notification setting's identifier. |
{- "code": 0
}
Add a notifications target.
network_id required | integer >= 1 The network's identifier. |
notification_id required | integer >= 1 The notification setting's identifier. |
Target email or user data.
user_id required | integer >= 1 Identifier of the user. |
{- "user_id": 1
}
{- "code": 0
}
Remove a notifications target.
network_id required | integer >= 1 The network's identifier. |
notification_id required | integer >= 1 The notification setting's identifier. |
user_id | integer >= 1 The identifier of the user to remove from targets. Required if email is absent. |
string <email> The external email to remove from targets. Required if user_id is absent. |
{- "code": 0
}
Get the users that logged in with the same device as the given one.
id required | string <= 50 characters The identifier of the device to look for. |
{- "code": 0,
- "data": [
- {
- "user_id": 1,
- "email": "user@example.com",
- "app_version": "string",
- "last_login": "string",
- "label_name": "string"
}
]
}
Return current and minimal version for all platform of the application white label.
{- "code": 0,
- "data": [
- {
- "android_current": 0,
- "android_minimal": 0,
- "ios_current": 0,
- "ios_minimal": 0,
- "legacy_current": 0,
- "legacy_minimal": 0
}
]
}
Update the current and minimal xamarin application version.
New app versions.
current required | integer >= 0 The current available application version. |
minimal required | integer >= 0 The minimal application version required to use the service. |
app_label_id required | integer >= 1 The identifier of the app label. |
platform required | string Enum: "android" "ios" "legacy" The platform of the new version. |
{- "current": 0,
- "minimal": 0,
- "app_label_id": 1,
- "platform": "android"
}
{- "code": 0
}
Return reports made by the app when it encountered an unknown error.
{- "code": 0,
- "data": [
- {
- "report_id": 1,
- "user_id": 1,
- "email": "user@example.com",
- "date": "2019-08-24T14:15:22Z",
- "app_page": "string",
- "app_version": "string",
- "app_version_off": "string",
- "device_os": "string",
- "error_code": 0,
- "device": "string",
- "app_label": "string"
}
]
}
Mark the specified app reports as resolved.
Reports to resolve.
reports required | Array of integers[ items >= 1 ] |
{- "reports": [
- 1
]
}
{- "code": 0
}
Get the list of available discounts with discounts codes.
{- "code": 0,
- "data": [
- {
- "discount_id": 1,
- "name": "string",
- "type": "add-credit",
- "start_date": "2019-08-24",
- "request_end_date": "2019-08-24",
- "stop_date": "2019-08-24",
- "data": 0,
- "currency": "string",
- "used": true,
- "codes": [
- {
- "code_id": 1,
- "code": "string",
- "remaining": -1,
- "email_access_pattern": "string",
- "used_count": 0
}
]
}
]
}
Create a new discount.
Parameters for the new discount to create.
network_id required | integer >= 1 The network's identifier. |
name required | string The new discount's name. |
type required | string Enum: "add-credit" "next-trip" "purchases-until-exp" "next-purchase" "trips-until-exp" The new discount's type. 'add-credit': Add credits to the user; 'next-trip': Discount on the price of the next trip; 'purchases-until-exp': Percentage discount on all future purchases until the stop date of the discount; 'next-purchase': Discount on the price of the next purchase; 'trips-until-exp': Percentage discount on all future trips until the stop date of the discount. |
data required | number >= 0 The value of the discount (in percentage or in credit according to the type). |
start_date required | string <date> The date from which the discount can be registered and used by the user. |
request_end_date required | string or null <date> The date from which the discount can no longer be registered by the user. |
stop_date required | string or null <date> The date from which the discount can no longer be used by the user. |
{- "network_id": 1,
- "name": "string",
- "type": "add-credit",
- "data": 0,
- "start_date": "2019-08-24",
- "request_end_date": "2019-08-24",
- "stop_date": "2019-08-24"
}
{- "code": 0,
- "data": 1
}
Update a discount.
id required | integer >= 1 Identifier of the discount. |
Parameters for the new discount to create.
name | string The new discount's name. |
data | number >= 0 The value of the discount (in percentage or in credit according to the type). |
start_date | string <date> The date from which the discount can be registered and used by the user. |
request_end_date | string or null <date> The date from which the discount can no longer be registered by the user. |
stop_date | string or null <date> The date from which the discount can no longer be used by the user. |
{- "name": "string",
- "data": 0,
- "start_date": "2019-08-24",
- "request_end_date": "2019-08-24",
- "stop_date": "2019-08-24"
}
{- "code": 0,
- "data": 1
}
Delete an unused discount or disable it if the discount has already been used.
id required | integer >= 1 Identifier of the discount. |
{- "code": 0,
- "data": 1
}
Create a new discount code.
id required | integer >= 1 Identifier of the discount to which the code should be linked. |
Parameters for the new discount code to create.
code required | string [ 1 .. 50 ] characters /^[A-Z0-9-@_#]{1,50}$/ The discount code. |
remaining required | integer >= -1 Number of uses of the remaining code. -1 for unlimited. |
email_access_pattern required | string non-empty /^[a-zA-Z0-9@._(){}[\]|*+?%#\\-]+$/ Pattern of the user's email that can use the code. Using '%' makes the code available to all users. |
{- "code": "string",
- "remaining": -1,
- "email_access_pattern": "string"
}
{- "code": 0,
- "data": 1
}
Update a discount code.
id required | integer >= 1 Identifier of the discount code. |
Parameters for update the discount code.
code | string [ 1 .. 50 ] characters /^[A-Z0-9-@_#]{1,50}$/ The discount code. |
remaining | integer >= -1 Number of uses of the remaining code. -1 for unlimited. |
email_access_pattern | string non-empty /^[a-zA-Z0-9@._(){}[\]|*+?%#\\-]+$/ Pattern of the user's email that can use the code. Using '%' makes the code available to all users. |
{- "code": "string",
- "remaining": -1,
- "email_access_pattern": "string"
}
{- "code": 0,
- "data": 1
}
Create a new FAQ category.
Category parameters.
key required | string^faq\.[0-9]+\.categories\.[a-z0-9-]+$ The unique key of this category. |
{- "key": "string"
}
{- "code": 0,
- "data": {
- "sort_order": 32767
}
}
Update a FAQ category.
Category parameters.
key required | string^faq\.[0-9]+\.categories\.[a-z0-9-]+$ The unique key of this category. |
sort_order required | integer [ 0 .. 32767 ] The order in which the elements should be displayed. |
{- "key": "string",
- "sort_order": 32767
}
{- "code": 0
}
Delete a FAQ category. It should not have any sub-categories.
key required | string^faq\.[0-9]+\.categories\.[a-z0-9-]+$ Key of the category to delete. |
{- "code": 0
}
Update a FAQ category name.
lang required | string^[a-zA-Z]{2}$ The lang in which to update the name. |
Category name parameters.
key required | string^faq\.[0-9]+\.categories\.[a-z0-9-]+$ The unique key of this category. |
name required | string [ 1 .. 100 ] characters The name of the category. |
{- "key": "string",
- "name": "string"
}
{- "code": 0
}
Create a new FAQ sub-category.
Sub-category parameters.
key required | string^faq\.[0-9]+\.sub_categories\.[a-z0-9-]+\.[a-... The unique key of this sub-category. |
replacements | Array of strings unique Items Enum: "app-label" "support-email" "support-phone" The variables to use in the text as replacements. |
category required | string^faq\.[0-9]+\.categories\.[a-z0-9-]+$ The key of the category in which to put this sub-category. |
is_spacer | boolean Set to true to set this as a spacer. |
{- "key": "string",
- "replacements": [
- "app-label"
], - "category": "string",
- "is_spacer": true
}
{- "code": 0,
- "data": {
- "sort_order": 32767
}
}
Update a FAQ sub-category.
Sub-category parameters.
key required | string^faq\.[0-9]+\.sub_categories\.[a-z0-9-]+\.[a-... The unique key of this sub-category. |
sort_order required | integer [ 0 .. 32767 ] The order in which the elements should be displayed. |
replacements | Array of strings unique Items Enum: "app-label" "support-email" "support-phone" The variables to use in the text as replacements. |
{- "key": "string",
- "sort_order": 32767,
- "replacements": [
- "app-label"
]
}
{- "code": 0
}
Delete a FAQ sub-category. It should not have any content.
key required | string^faq\.[0-9]+\.sub_categories\.[a-z0-9-]+\.[a-... Key of the sub-category to delete. |
{- "code": -39999999,
- "message": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
Update a FAQ sub-category name.
lang required | string^[a-zA-Z]{2}$ The lang in which to update the name. |
Sub-category name parameters.
key required | string^faq\.[0-9]+\.sub_categories\.[a-z0-9-]+\.[a-... The unique key of this sub-category. |
name required | string [ 1 .. 100 ] characters The name of the category. |
{- "key": "string",
- "name": "string"
}
{- "code": 0
}
Create a new FAQ content.
Content parameters.
key required | string^faq\.[0-9]+\.contents\.[a-z0-9-]+\.[a-z0-9-]... The unique key of this content. |
replacements | Array of strings unique Items Enum: "app-label" "support-email" "support-phone" The variables to use in the text as replacements. |
bold required | boolean Whether or not to display the text in bold. |
margin | string^\d{1-3},\d{1-3},\d{1-3},\d{1-3}$ The margin to apply around the content. |
text_color | string Enum: "primary" "secondary" "tertiary" "quaternary" "success" "warn" "danger" "white" The color of the text if different than the default one. |
bullet_color | string Enum: "primary" "secondary" "tertiary" "quaternary" "success" "warn" "danger" "white" The color of the bullet point. Required for content of type bullet-point, ignored otherwise. |
sub_category required | string^faq\.[0-9]+\.sub_categories\.[a-z0-9-]+\.[a-... The sub-category for this content. |
type required | string Enum: "text" "formatted-text" "bullet-point" The type of content. |
{- "key": "string",
- "replacements": [
- "app-label"
], - "bold": true,
- "margin": "string",
- "text_color": "primary",
- "bullet_color": "primary",
- "sub_category": "string",
- "type": "text"
}
{- "code": 0,
- "data": {
- "sort_order": 32767
}
}
Update a FAQ content.
Content parameters.
key required | string^faq\.[0-9]+\.contents\.[a-z0-9-]+\.[a-z0-9-]... The unique key of this content. |
sort_order required | integer [ 0 .. 32767 ] The order in which the elements should be displayed. |
replacements | Array of strings unique Items Enum: "app-label" "support-email" "support-phone" The variables to use in the text as replacements. |
bold required | boolean Whether or not to display the text in bold. |
margin | string^\d{1-3},\d{1-3},\d{1-3},\d{1-3}$ The margin to apply around the content. |
text_color | string Enum: "primary" "secondary" "tertiary" "quaternary" "success" "warn" "danger" "white" The color of the text if different than the default one. |
bullet_color | string Enum: "primary" "secondary" "tertiary" "quaternary" "success" "warn" "danger" "white" The color of the bullet point. Required for content of type bullet-point, ignored otherwise. |
{- "key": "string",
- "sort_order": 32767,
- "replacements": [
- "app-label"
], - "bold": true,
- "margin": "string",
- "text_color": "primary",
- "bullet_color": "primary"
}
{- "code": 0
}
Update a FAQ content text.
lang required | string^[a-zA-Z]{2}$ The lang in which to update the content. |
Content text parameters.
key required | string^faq\.[0-9]+\.contents\.[a-z0-9-]+\.[a-z0-9-]... The unique key of this content. |
content required | string >= 1 The new text of the content. |
{- "key": "string",
- "content": "string"
}
{- "code": 0
}
Get languages of the faq of the specified app label.
app_label_id required | integer >= 1 Identifier of the app label. |
{- "code": 0,
- "data": [
- {
- "lang": "string",
- "translations_count": 1
}
]
}
Returns current fleet alerts of the specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "alert_id": 1,
- "alert_type": "unexpected-unlock",
- "alert_severity": "low",
- "spot_id": 1,
- "station_id": 1,
- "vehicle_lease_id": 1,
- "creation_date": "string",
- "other_occurrences": [
- "string"
], - "resolved_at": "string",
- "network_id": 1,
- "network_name": "string",
- "cluster_id": 1,
- "cluster_name": "string",
- "displayed_number": 1,
- "vehicle_id": 1,
- "serial_number": "string"
}
]
}
Returns old fleet alerts of the specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
primary_key_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the transaction identifier. |
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | integer >= 1 Identifier of the last transaction on the current page, used to request the next page. |
sort_by | string Enum: "creation_date" "alert_severity" "resolved_at" Custom sort key. |
sort_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the custom sort key. |
alert_type | string (AlertType) Enum: "unexpected-unlock" "spot-identify-fail" "spot-high-temperature" "spot-incorrect-lock" "spot-locker-stuck" "station-power-cut" "station-alarm-triggered" "vehicle-illegal-moving" "vehicle-dismantling" "vehicle-lifted" "vehicle-fallen" "vehicle-out-of-network-area" Filter by alert type. |
alert_severity | string (AlertSeverity) Enum: "low" "high" "critical" Filter by alert severity. |
creation_date_min | string <date> Filter the minimum alert creation date. |
creation_date_max | string <date> Filter the maximum alert creation date. |
user_id | integer >= 1 Filter by the user's identifier who made the transaction. |
string non-empty Filter by the user's email who made the transaction (partial match search). | |
resolved_at_min | string <date> Filter by minimum resolution date. |
resolved_at_max | string <date> Filter by maximum resolution date. |
cluster_name | string [ 1 .. 50 ] characters What the name of the cluster concerned by the alert should contains. |
cluster_id | integer >= 1 Filter by the id of the cluster concerned by the alert. |
vehicle_id | integer >= 1 Filter by the id of the vehicle concerned by the alert. |
serial_number | string [ 6 .. 10 ] characters Filter by serial number of a vehicle concerned by the alert. |
{- "code": 0,
- "data": [
- {
- "alert_id": 1,
- "alert_type": "unexpected-unlock",
- "alert_severity": "low",
- "spot_id": 1,
- "station_id": 1,
- "vehicle_lease_id": 1,
- "creation_date": "string",
- "other_occurrences": [
- "string"
], - "resolved_at": "string",
- "network_id": 1,
- "network_name": "string",
- "cluster_id": 1,
- "cluster_name": "string",
- "displayed_number": 1,
- "vehicle_id": 1,
- "serial_number": "string",
- "resolved_by": 1,
- "resolved_by_email": "user@example.com"
}
]
}
Mark the specified alerts as resolved.
Ids of alerts to solve.
alert_ids required | Array of integers non-empty [ items >= 1 ] Array of identifier to resolve. |
{- "alert_ids": [
- 1
]
}
{- "code": 0
}
Get the border of the specified network and the setting of the border
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": {
- "trigger_alert": true,
- "notify_user": true,
- "reduce_vehicle_speed": true,
- "play_vehicle_sound": true,
- "lock_vehicle": true,
- "shape": [
- [
- -180,
- -180,
- -180
]
]
}
}
Define a new shape for the border of the specified network.
Border shape parameters.
network_id required | number >= 1 Identifier of the network |
shape required | Array of numbers >= 3 items [ items = 2 items [ items [ -180 .. 180 ] ] ] New shape of the network's border which is a list of GPS coordinates. |
{- "network_id": 1,
- "shape": [
- [
- 10,
- 45
], - [
- -2.8,
- 4
], - [
- 67,
- -45.8
]
]
}
{- "code": 0
}
Update border's settings (action when a vehicle leave the limit) of the specified network.
Border setting parameters.
trigger_alert required | boolean Indicate if an alert should be created when a vehicle leave the limit of the network. |
notify_user required | boolean Indicate if the user should receive a push notification when he leave the limit of the network while renting a vehicle. |
reduce_vehicle_speed required | boolean Indicate if the speed of the vehicle should be reduce to minimum when it leave the limit of the network. |
play_vehicle_sound required | boolean Indicate if the vehicle should play the geofencing sound when it leave the limit of the network. |
lock_vehicle required | boolean Indicate if the vehicle should be locked when it leave the limit of the network. |
network_id required | number >= 1 Identifier of the network |
{- "trigger_alert": true,
- "notify_user": true,
- "reduce_vehicle_speed": true,
- "play_vehicle_sound": true,
- "lock_vehicle": true,
- "network_id": 1
}
{- "code": 0
}
Get the list of available speed zone for the specified network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": [
- {
- "speed_zone_id": 1,
- "shape": [
- [
- -180,
- -180,
- -180
]
], - "max_speed": 0,
- "name": "string"
}
]
}
Create a new speed zone.
Speed zone create parameters.
network_id required | integer >= 1 Identifier of the network. |
shape required | Array of numbers[ items[ items [ -180 .. 180 ] ] ] Shape of this speed zone as a list of points making a polygon. |
max_speed required | integer [ 6 .. 25 ] Max speed authorized. |
name required | string <= 50 characters Name of this speed zone. |
{- "network_id": 1,
- "shape": [
- [
- -180
]
], - "max_speed": 6,
- "name": "string"
}
{- "code": 0
}
Update the speed zone.
Speed zone update parameters.
speed_zone_id required | integer >= 1 Identifier of the speed zone. |
shape required | Array of numbers[ items[ items [ -180 .. 180 ] ] ] Shape of this speed zone as a list of points making a polygon. |
max_speed required | integer [ 6 .. 25 ] Max speed authorized. |
name required | string <= 50 characters Name of this speed zone. |
{- "speed_zone_id": 1,
- "shape": [
- [
- -180
]
], - "max_speed": 6,
- "name": "string"
}
{- "code": 0
}
Get the list of available restricted zone for the specified network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": [
- {
- "restricted_zone_id": "string",
- "shape": [
- [
- -180,
- -180,
- -180
]
], - "allow_riding": true,
- "name": "string"
}
]
}
Create a new restricted zone.
Restricted zone create parameters.
network_id required | integer >= 1 Identifier of the network. |
shape required | Array of numbers[ items[ items [ -180 .. 180 ] ] ] Shape of this restricted zone as a list of points making a polygon. |
allow_riding required | boolean Whether riding is allowed or not. Parking is always disallowed. |
name required | string <= 50 characters Name of this restricted zone. |
{- "network_id": 1,
- "shape": [
- [
- -180
]
], - "allow_riding": true,
- "name": "string"
}
{- "code": 0
}
Update the restricted zone.
Restricted zone update parameters.
restricted_zone_id required | string^rzn_[0-9a-zA-Z]{7}$ Identifier of the restricted zone. |
shape required | Array of numbers[ items[ items [ -180 .. 180 ] ] ] Shape of this restricted zone as a list of points making a polygon. |
allow_riding required | boolean Whether riding is allowed or not. Parking is always disallowed. |
name required | string <= 50 characters Name of this restricted zone. |
{- "restricted_zone_id": "string",
- "shape": [
- [
- -180
]
], - "allow_riding": true,
- "name": "string"
}
{- "code": 0
}
Get the list of virtual parking for the specified network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": [
- {
- "virtual_parking_id": 1,
- "creation_date": "string",
- "shape": [
- [
- -180,
- -180,
- -180
]
], - "capacity": 0,
- "cluster_id": 1,
- "cluster_name": "string"
}
]
}
Create a new virtual parking (not attached to a cluster).
Parking create parameters.
shape required | Array of numbers[ items >= 3 items [ items = 2 items [ -180 .. 180 ] ] ] Shape of virtual parking as a list of points making a polygon. |
capacity required | integer >= 0 How many vehicle can be parked. |
network_id required | integer or null >= 1 Identifier of the network to whom the parking lot will belong. |
{- "shape": [
- [
- -180,
- -180,
- -180
]
], - "capacity": 0,
- "network_id": 1
}
{- "code": 0,
- "data": {
- "virtual_parking_id": 1,
- "creation_date": "string"
}
}
Update the virtual parking.
id required | integer >= 1 Identifier of the virtual parking. |
Parking update parameters.
shape required | Array of numbers[ items >= 3 items [ items = 2 items [ -180 .. 180 ] ] ] Shape of virtual parking as a list of points making a polygon. |
capacity required | integer >= 0 How many vehicle can be parked. |
{- "shape": [
- [
- -180,
- -180,
- -180
]
], - "capacity": 0
}
{- "code": 0
}
Get the global announcements of the specified app label or the global announcements across all app label if app_label_id is omitted.
app_label_id | integer >= 1 Identifier of the app label. Omit for across app labels announcements. |
{- "code": 0,
- "data": [
- {
- "app_label_id": 1,
- "lang": "string",
- "announcement": "string",
- "start_date": "string"
}
]
}
Create or update a global announcement for the specified app label or across all app label if app_label_id is null.
Border shape parameters.
app_label_id required | integer or null >= 1 The identifier of the app label this applies to. Null means all app labels. |
lang required | string/^[a-zA-Z]{2}$/ The language of the announcement. |
announcement required | string [ 1 .. 200 ] characters The message to show. |
{- "app_label_id": 1,
- "lang": "string",
- "announcement": "string"
}
{- "code": 0
}
Delete the global announcement of the specified app label and language or the global announcement across all app label if the app_label_id is omitted.
app_label_id | integer >= 1 Identifier of the app label. Omit for across app labels announcements. |
lang required | string/^[a-zA-Z]{2}$/ The language to delete. |
{- "code": 0
}
Return the list of points to make a heatmap.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
lat required | number [ -90 .. 90 ] The latitude of the center of the area in which to get points. |
lng required | number [ -180 .. 180 ] The longitude of the center of the area in which to get points. |
latDeg required | number [ -90 .. 90 ] The number of latitude degree of the area in which to get points. Can be compared to the height of the area. |
lngDeg required | number [ -180 .. 180 ] The number of longitude degree of the area in which to get points. Can be compared to the width of the area. |
date_min required | string <datetime> The minimum start date of points to show. Rounded by month, every points made in a month are given the first day of the month as a date. |
date_max required | string <datetime> The maximum start date of points to show. Rounded by month, every points made in a month are given the first day of the month as a date. |
zoom required | integer Enum: 0 1 2 The zoom level, change the points precision. 0 -> x.xxx, 1 -> x.xxx(0|5), 2 -> x.xxxx |
{- "code": 0,
- "data": [
- {
- "latitude": -90,
- "longitude": -180,
- "quantity": 1
}
]
}
Get the list of localizations for the specified language.
lang required | string/^[a-zA-Z]{2}$/ Example: lang=fr The lang in which to get localizations. |
{- "code": 0,
- "data": [
- {
- "key": "string",
- "value": "string"
}
]
}
Create a new localization for the specified type and lang, update if already exist.
Info on the localization to create or update.
key required | string [ 1 .. 100 ] characters The key of the localization. |
value required | string The value of the localization. |
lang required | string/^[a-zA-Z]{2}$/ The language of the localization. |
{- "key": "string",
- "value": "string",
- "lang": "fr"
}
{- "code": 0
}
Create a new language for the specified ISO639-1 lang code and name.
Info on the language to create.
iso_639_1 required | string/^[a-zA-Z]{2}$/ ISO639-1 key of the language. |
name required | string <= 50 characters The name of the language. |
{- "iso_639_1": "fr",
- "name": "Français"
}
{- "code": 0
}
Get the list of login attempts
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "ip": "string",
- "date": "2019-08-24T14:15:22Z",
- "user_id": 1,
- "email": "user@example.com"
}
]
}
Get the list of login attempts of a user
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": [
- {
- "ip": "string",
- "date": "2019-08-24T14:15:22Z",
- "user_id": 0,
- "email": "user@example.com"
}
]
}
Delete login attempts of a user and precise ip.
id required | integer >= 1 Identifier of the user. |
ip required | string The IP address of the login attempt. |
{- "code": 0
}
Get mail template base for the given app label.
app_label_id required | integer >= 1 Identifier of the app label. |
{- "code": 0,
- "data": [
- {
- "design": "string",
- "html": "string",
- "last_update": "string",
- "draft": true,
- "button_color": "string",
- "button_text_size": 0,
- "button_text_color": "string",
- "text_size": 0,
- "text_color": "string",
- "title_size": 0,
- "title_color": "string"
}
]
}
Update the template base draft.
app_label_id required | integer >= 1 Identifier of the app label. |
Template base parameters.
design required | string The json produced by the unlayer editor. |
html required | string The html produced by the unlayer editor. |
{- "design": "string",
- "html": "string"
}
{- "code": 0
}
Get the mail template content.
app_label_id required | integer >= 1 Identifier of the app label. |
template_name required | string [ 1 .. 32 ] characters Name of the mail template. |
{- "code": 0,
- "data": {
- "blocks": [
- {
- "html": "string",
- "translation_keys": {
- "property1": "string",
- "property2": "string"
}, - "constant": "string",
- "translations": [
- {
- "app_label_id": 0,
- "key": "string",
- "value": "string",
- "lang": "string",
- "draft": true,
- "last_update": "string"
}
], - "shared": true
}
], - "langs": [
- "st"
], - "variables": [
- "string"
], - "variants": [
- "string"
], - "custom_variables": {
- "property1": {
- "app_label_id": 0,
- "key": "string",
- "value": "string",
- "lang": "string",
- "draft": true,
- "last_update": "string"
}, - "property2": {
- "app_label_id": 0,
- "key": "string",
- "value": "string",
- "lang": "string",
- "draft": true,
- "last_update": "string"
}
}
}
}
Update the template content draft.
app_label_id required | integer >= 1 Identifier of the app label. |
template_name required | string [ 1 .. 32 ] characters Name of the mail template. |
Template content parameters.
lang required | string^[a-zA-Z]{2}$ The language of the content. |
required | Array of objects The updated contents. |
{- "lang": "string",
- "contents": [
- {
- "key": "string",
- "value": "string"
}
]
}
{- "code": 0
}
Get the mail template content languages and their translation completion status.
app_label_id required | integer >= 1 Identifier of the app label. |
template_name required | string [ 1 .. 32 ] characters Name of the mail template. |
{- "code": 0,
- "data": [
- {
- "lang": "st",
- "keys": 0,
- "translated": 0,
- "translated_draft": 0
}
]
}
Delete the mail template content language by deleting all of its translations.
app_label_id required | integer >= 1 Identifier of the app label. |
template_name required | string [ 1 .. 32 ] characters Name of the mail template. |
lang required | string^[a-z]{2}$ Lang to delete. |
{- "code": 0
}
Send a test mail of the given mail template to the requesting user.
app_label_id required | integer >= 1 Identifier of the app label. |
template_name required | string [ 1 .. 32 ] characters Name of the mail template. |
Test mail parameters.
lang required | string:^[a-zA-Z]{2}$ The language of the content. |
draft required | boolean Whether or not to send the draft or production version of the template. |
required | object And object containing all replacements variables and their values. |
variant | string The variant of the mail template to test, undefined if there is no variant. |
{- "lang": "string",
- "draft": true,
- "variables": {
- "property1": "string",
- "property2": "string"
}, - "variant": "string"
}
{- "code": 0
}
Get the list of images usable for mail template for the given app label.
app_label_id required | integer >= 1 Identifier of the app label. |
{- "code": 0,
- "data": [
- {
- "image_id": 1,
- "url": "string"
}
]
}
Upload a new image to be used in mail templates.
app_label_id required | integer >= 1 Identifier of the app label. |
The image to upload.
image required | string <binary> The image file data. |
{- "code": 0,
- "data": {
- "image_id": 1,
- "url": "string"
}
}
Promote the current mail template base draft to production.
app_label_id required | integer >= 1 Identifier of the app label. |
The promote parameters.
force | boolean Whether or not to force the promotion. |
{- "code": 0
}
Promote the current mail template content draft to production.
app_label_id required | integer >= 1 Identifier of the app label. |
template_name required | string [ 1 .. 32 ] characters Name of the mail template. |
The promote parameters.
force | boolean Whether or not to force the promotion. |
{- "code": 0
}
Delete the current mail template content draft.
app_label_id required | integer >= 1 Identifier of the app label. |
template_name required | string [ 1 .. 32 ] characters Name of the mail template. |
{- "code": 0
}
Get mailing lists for the given app label.
app_label_id required | integer >= 1 Identifier of the app label. |
{- "code": 0,
- "data": [
- {
- "list_id": 1,
- "name": "string",
- "source": "string",
- "email_count": 0
}
]
}
Route to get all current maintenances of the active fleet (vehicle on station or virtual parked, spots, stations).
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
lang required | string/^[a-zA-Z]{2}$/ Example: lang=fr The lang in which to get the maintenance types localized. |
{- "code": 0,
- "data": [
- {
- "maintenance_id": 1,
- "maintenance_type": "string",
- "target_type": "vehicle",
- "comment": "string",
- "start_date": "string",
- "severity": "info",
- "automatic_code_description": "string",
- "vehicle_id": 1,
- "serial_number": "string",
- "cluster_id": 1,
- "cluster_name": "string",
- "displayed_number": 1
}
]
}
Create a new maintenance type.
Info on the maintenance type to create.
key required | string [ 1 .. 50 ] characters Unique key of maintenance type. |
target_type required | string (MaintenanceTargetType) Enum: "station" "spot" "vehicle" The type of object on which this type applies. |
severity required | string (MaintenanceSeverity) Enum: "info" "low" "high" The severity of the problem.
|
{- "key": "string",
- "target_type": "station",
- "severity": "info"
}
{- "code": 0
}
Remove the maintenance type, avoiding it from being used to create new maintenances.
key required | string [ 1 .. 50 ] characters The key of the maintenance type to delete. |
{- "code": 0
}
Return all enabled payment accounts on the network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": [
- {
- "payment_account_id": "string",
- "provider_name": "stripe",
- "third_party_id": "string",
- "third_party_name": "string"
}
]
}
Link a payment account to the network. Making its payment methods available for the network.
network_id required | integer >= 1 Identifier of the network. |
Payment account linking params.
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Unique identifier of the payment account to be linked. |
{- "code": 0
}
Return all payment accounts that can be enabled on the network.
network_id required | integer >= 1 Identifier of the network. |
{- "code": 0,
- "data": [
- {
- "payment_account_id": "string",
- "provider_name": "stripe",
- "third_party_id": "string",
- "third_party_name": "string"
}
]
}
Unlink the payment account from the network. All payment methods needs to be disabled. All subscriptions will be cancelled.
network_id required | integer >= 1 Identifier of the network. |
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
{- "code": 0
}
Return all enabled payment methods of a payment account on the network.
network_id required | integer >= 1 Identifier of the network. |
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
{- "code": 0,
- "data": [
- {
- "method_id": 1,
- "type": "card",
- "currency": "EUR",
- "min_amount": 0,
- "instance_count": 0
}
]
}
Link a payment method or the payment account to the network. Making it usable on the network.
network_id required | integer >= 1 Identifier of the network. |
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
Payment method linking params.
method_id required | integer >= 1 Unique identifier of the payment method to be linked. |
{- "code": 0
}
Return all payment methods of the payment account that can be enabled on the network.
network_id required | integer >= 1 Identifier of the network. |
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
{- "code": 0,
- "data": [
- {
- "method_id": 1,
- "type": "card",
- "currency": "EUR",
- "min_amount": 0
}
]
}
Unlink the payment method of the payment account from the network.
network_id required | integer >= 1 Identifier of the network. |
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
method_id required | integer >= 1 Identifier of the payment method. |
{- "code": 0
}
{- "code": 0,
- "data": [
- {
- "newsletter_id": 1,
- "name": "string",
- "sent_at": "2019-08-24T14:15:22Z",
- "planned_send_date": "2019-08-24T14:15:22Z",
- "newsletter_type": "legal",
- "transport": "mails",
- "targets": [
- {
- "target_type": "app-label",
- "target_id": 1
}
]
}
]
}
Create a new newsletter for the given app label.
Newsletter parameters.
name required | string [ 1 .. 255 ] characters The name of the newsletter. |
type required | string Enum: "legal" "network-status" "marketing" "custom-list" The type of the newsletter. |
transport required | string Enum: "mails" "push" The way the newsletter will be sent. |
target_type required | string Enum: "app-label" "network" "organization" "mailing-list" The type of the target of the newsletter (a newsletter should have a least one target). |
target_id required | integer >= 1 The identifier of the target (app label id, network id, organization id or mailing list id). |
{- "name": "string",
- "type": "legal",
- "transport": "mails",
- "target_type": "app-label",
- "target_id": 1
}
{- "code": 0,
- "data": {
- "newsletter_id": 1
}
}
Get the details of a newsletter.
newsletter_id required | integer >= 1 Identifier of the newsletter to get details of. |
{- "code": 0,
- "data": {
- "sent_at": "2019-08-24T14:15:22Z",
- "planned_send_date": "2019-08-24T14:15:22Z",
- "newsletter_type": "legal",
- "transport": "mails",
- "targets": [
- {
- "newsletter_target_id": 1,
- "target_type": "app-label",
- "target_id": 0,
- "target_name": "string",
- "target_user_count": 0
}
], - "user_count": 0,
- "user_languages": [
- {
- "lang": "st",
- "count": 1
}
], - "content_langs": [
- "st"
]
}
}
Send the given newsletter to all the matching users.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
Send parameters.
planned_send_date | string <datetime> The date at which you want the newsletter to be sent. Should be rounded to a whole hour in the future. |
{- "planned_send_date": "string"
}
{- "code": 0
}
Send the given newsletter to the requesting user for testing purposes.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
Send parameters.
lang | string^[a-zA-Z]{2}$ The language of the user that the newsletter will be sent to. |
{- "lang": "string"
}
{- "code": 0
}
Add a target to the given newsletter.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
Target object.
target_type required | string Enum: "app-label" "network" "organization" "mailing-list" The type of the new target. |
target_id required | integer >= 1 The identifier of the target (app label id, network id, organization id or mailing list id). |
{- "target_type": "app-label",
- "target_id": 1
}
{- "code": 0,
- "data": {
- "newsletter_target_id": 1
}
}
Delete a target of the given newsletter.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
target_id required | integer >= 1 Identifier of the newsletter target. |
{- "code": 0
}
Add a filter to the given newsletter target.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
target_id required | integer >= 1 Identifier of the newsletter target. |
Target object.
filter_type required | string Enum: "trip_count" "visited_station" "register_duration" "last_activity" "traveled_distance" "usage_frequency" The type of the new target filter. |
filter_value required | integer The used in the comparison. Can be a whole number, seconds or a cluster_id according the to filter type. |
operator required | string Enum: "<" "=" ">" How to compare the value. |
{- "filter_type": "trip_count",
- "filter_value": 0,
- "operator": "<"
}
{- "code": 0,
- "data": {
- "newsletter_target_filter_id": 1
}
}
Delete a filter of the given newsletter target.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
target_id required | integer >= 1 Identifier of the newsletter target. |
filter_id required | integer >= 1 Identifier of the newsletter target filter. |
{- "code": 0
}
Get the template of a newsletter (mails).
newsletter_id required | integer >= 1 Identifier of the newsletter. |
lang required | string^[a-zA-Z]{2}$ The language of the template to get. |
{- "code": 0,
- "data": {
- "subject": "string",
- "design": "string",
- "html": "string"
}
}
Create or update a newsletter template (mails).
newsletter_id required | integer >= 1 Identifier of the newsletter. |
lang required | string^[a-zA-Z]{2}$ The language of the template. |
Target object.
subject required | string [ 1 .. 255 ] characters The subject of the mail. |
design required | string The unlayer design for the template. |
html required | string The html rendered for the mail. |
{- "subject": "string",
- "design": "string",
- "html": "string"
}
{- "code": 0
}
Delete a template of a newsletter (mails).
newsletter_id required | integer >= 1 Identifier of the newsletter. |
lang required | string^[a-zA-Z]{2}$ The language of the template to delete. |
{- "code": 0
}
Get the text of a newsletter (push notification).
newsletter_id required | integer >= 1 Identifier of the newsletter. |
lang required | string^[a-zA-Z]{2}$ The language of the text to get. |
{- "code": 0,
- "data": {
- "title": "string",
- "message": "string"
}
}
Create or update a newsletter text (push notification).
newsletter_id required | integer >= 1 Identifier of the newsletter. |
lang required | string^[a-zA-Z]{2}$ The language of the text. |
Text object.
title required | string [ 1 .. 65 ] characters The title of the push notification. |
message required | string [ 1 .. 240 ] characters The message of the push notification. |
{- "title": "string",
- "message": "string"
}
{- "code": 0
}
Delete a text of a newsletter (push notification).
newsletter_id required | integer >= 1 Identifier of the newsletter. |
lang required | string^[a-zA-Z]{2}$ The language of the text to delete. |
{- "code": 0
}
Get the list of images usable for newsletter templates.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
{- "code": 0,
- "data": [
- {
- "image_id": 1,
- "url": "string"
}
]
}
Upload a new image to be used in newsletters template.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
The image to upload.
image required | string <binary> The image file data. |
{- "code": 0,
- "data": {
- "image_id": 1,
- "url": "string"
}
}
Get the statistics of a published newsletter.
newsletter_id required | integer >= 1 Identifier of the newsletter. |
{- "code": 0,
- "data": {
- "total": 0,
- "sent": 0,
- "delivered": 0,
- "bounce": 0,
- "error": 0,
- "opened": 0
}
}
Returns offers of the specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "offer_id": 1,
- "title": "Strasbourg2 5€",
- "available": true,
- "network_name": "string",
- "network_id": 1,
- "vat_percentage": 0.1,
- "currency": "string",
- "price": 0.001,
- "given_amount": 0.001,
- "already_used": true
}
]
}
Create a new offer.
Info of the offer to create.
title required | string [ 1 .. 50 ] characters Title of the offer. |
available required | boolean True when the offer is available. |
network_id required | integer >= 1 The identifier of the offer's network. |
price required | number Price of the offer. |
given_amount required | number Amount given in the wallet. |
{- "title": "Strasbourg2 5€",
- "available": true,
- "network_id": 1,
- "price": 0,
- "given_amount": 0
}
{- "code": 0,
- "data": {
- "offer_id": 1
}
}
Update an offer. Only availability can be changed on an offer that was already bought at least one time.
id required | integer >= 1 Identifier of the offer. |
Offer info to update.
title | string [ 1 .. 50 ] characters Title of the offer. |
available | boolean True when the offer is available. |
price | number Price of the offer. |
given_amount | number Amount given in the wallet. |
{- "title": "Strasbourg2 5€",
- "available": true,
- "price": 0,
- "given_amount": 0
}
{- "code": 0
}
Get the list of organizational units.
{- "code": 0,
- "data": [
- {
- "ou_id": 1,
- "ou_name": "string",
- "creation_date": "2019-08-24T14:15:22Z",
- "modification_date": "2019-08-24T14:15:22Z",
- "users": 0,
- "networks": [
- {
- "network_id": 1,
- "network_name": "string",
- "default_vat": 0.1,
- "currency": "string",
- "vehicles": 0
}
], - "organizations": [
- {
- "organization_id": 1,
- "organization_name": "string"
}
], - "app_labels": [
- {
- "app_label_id": 1,
- "label_name": "string",
- "display_name": "string"
}
], - "clusters": [
- {
- "cluster_id": 1,
- "cluster_name": "string"
}
], - "third_parties": [
- {
- "third_party_id": 1,
- "third_party_name": "string"
}
]
}
]
}
Create a new organizational unit.
Organizational unit data.
name required | string [ 3 .. 50 ] characters The name of the organizational unit. |
app_labels required | Array of integers >= 0 items unique [ items >= 1 ] The list of application labels included in this organizational unit. |
organizations required | Array of integers >= 0 items unique [ items >= 1 ] The list of organization included in this organizational unit. |
networks required | Array of integers >= 0 items unique [ items >= 1 ] The list of networks included in this organizational unit. |
clusters required | Array of integers >= 0 items unique [ items >= 1 ] A restricted list of cluster included in this organizational unit. Allow to restrict given permission to only some clusters. |
third_parties required | Array of strings[ items^tpy_[a-zA-Z0-9]{7}$ ] The list of third parties included in this organizational unit. |
{- "name": "string",
- "app_labels": [
- 1
], - "organizations": [
- 1
], - "networks": [
- 1
], - "clusters": [
- 1
], - "third_parties": [
- "string"
]
}
{- "code": 0,
- "data": {
- "ou_id": 1
}
}
Update name and/or linked objects of an organizational unit.
Updated organizational unit data.
name required | string [ 3 .. 50 ] characters The name of the organizational unit. |
app_labels required | Array of integers >= 0 items unique [ items >= 1 ] The list of application labels included in this organizational unit. |
organizations required | Array of integers >= 0 items unique [ items >= 1 ] The list of organization included in this organizational unit. |
networks required | Array of integers >= 0 items unique [ items >= 1 ] The list of networks included in this organizational unit. |
clusters required | Array of integers >= 0 items unique [ items >= 1 ] A restricted list of cluster included in this organizational unit. Allow to restrict given permission to only some clusters. |
third_parties required | Array of strings[ items^tpy_[a-zA-Z0-9]{7}$ ] The list of third parties included in this organizational unit. |
ou_id required | integer >= 1 The identifier of the organizational unit. |
{- "name": "string",
- "app_labels": [
- 1
], - "organizations": [
- 1
], - "networks": [
- 1
], - "clusters": [
- 1
], - "third_parties": [
- "string"
], - "ou_id": 1
}
{- "code": 0
}
Delete the specified organizational unit if there is no longer user with permissions linked to it.
id required | integer >= 1 The organizational unit's identifier. |
{- "code": 0
}
Get the list of users with their permissions for the given organizational unit.
id required | integer >= 1 The organizational unit's identifier. |
{- "code": 0,
- "data": [
- {
- "user_id": 1,
- "email": "string",
- "permissions": [
- {
- "perm_key": "string",
- "role_key": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "granted_by": 1,
- "granted_by_email": "string",
- "write": true
}
]
}
]
}
Return the list of organizations.
{- "code": 0,
- "data": [
- {
- "organization_id": 1,
- "organization_name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "address": "string",
- "zipcode": "string",
- "city": "string",
- "country_iso": "st",
- "administrator_email": "user@example.com",
- "administration_id": 0,
- "is_guarantor": true,
- "end_date": "2019-08-24T14:15:22Z"
}
]
}
Create a new organization.
Info about the organization.
third_party_id required | string^tpy_[a-zA-Z0-9]{7}$ The identifier of the third party this organization will be linked to. |
name required | string [ 1 .. 255 ] characters The name of the organization. |
administrator_id required | integer >= 1 The identifier of the user who will administer the organization. |
is_guarantor required | boolean Whether or not the organization will pay for stolen vehicles. |
allow_outside_rules required | boolean Whether or not the organization allow trips to start outside of the given rules. |
paid_outside_rules_ratio required | number [ 0 .. 1 ] The ratio of trip cost which is paid by the organization. This only applies to the duration of trips that run outside of the defined rules. |
only_show_matching_clusters required | boolean Whether of not users of the organization will see all clusters or only those that they have the right to use. |
email_pattern | string/^[a-zA-Z0-9@._(){}[\]|*+?%#\\-]+$/ A Postgresql pattern to determine which email are selected to join the organization. |
pays_rule_overrun required | boolean Whether or not the organization pays for the parts of trips that started in a rules but overran its duration and finished outside of one. |
reenrolment_frequency_in_days | number >= 1 The frequency in days at which the users of the organization needs to confirm their emails again. |
description | string A description for this organization. |
{- "third_party_id": "string",
- "name": "string",
- "administrator_id": 1,
- "is_guarantor": true,
- "allow_outside_rules": true,
- "paid_outside_rules_ratio": 1,
- "only_show_matching_clusters": true,
- "email_pattern": "%@knot.city",
- "pays_rule_overrun": true,
- "reenrolment_frequency_in_days": 1,
- "description": "string"
}
{- "code": 0,
- "data": {
- "organization_id": 1,
- "start_date": "string"
}
}
Return the details of an organization.
id required | integer >= 1 The identifier of the organization. |
{- "code": 0,
- "data": {
- "organization_id": 1,
- "organization_name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "address": "string",
- "zipcode": "string",
- "city": "string",
- "country_iso": "st",
- "administrator_email": "user@example.com",
- "administration_id": 0,
- "is_guarantor": true,
- "end_date": "2019-08-24T14:15:22Z",
- "country_id": 1,
- "email_pattern": "%@knot.city",
- "paid_outside_rules_ratio": 1,
- "allow_outside_rules": true,
- "logo_url": "string",
- "only_show_matching_clusters": true,
- "description": "string",
- "pays_rule_overrun": true,
- "reenrolment_frequency_in_days": 1,
- "enrolment_manual_approbation": true,
- "enrolment_custom_field": "string",
- "pending_enrolment": 0
}
}
Update organization info.
id required | integer >= 1 The identifier of the organization. |
Info about the organization.
name required | string [ 1 .. 255 ] characters The name of the organization. |
description | string A description for this organization. |
only_show_matching_clusters required | boolean Whether of not users of the organization will see all clusters or only those that they have the right to use. |
{- "name": "string",
- "description": "string",
- "only_show_matching_clusters": true
}
{- "code": 0
}
Return the list of rules of an organization.
id required | integer >= 1 The identifier of the organization. |
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "org_rule_id": 1,
- "network_id": 1,
- "start_dow": 6,
- "start_hod": "string",
- "end_dow": 6,
- "end_hod": "string",
- "max_vehicles": 0,
- "paid_by_org_ratio": 1,
- "rule_name": "string"
}
]
}
Create a new organization rule.
id required | integer >= 1 The identifier of the organization. |
Info about the organization rule.
network_id required | integer >= 1 The identifier of the network on which the rule applies. |
start_dow required | integer [ 0 .. 6 ] The day of the week at which the rule starts. |
start_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The hour of the day at which the rule starts. |
end_dow required | integer [ 0 .. 6 ] The day of the week at which the rule ends. |
end_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The hour of the day at which the rule ends. |
max_vehicles | integer >= 1 The maximum number of vehicle the user can rent at the same time. If null or undefined, the default 3 is used. |
paid_by_org_ratio required | number [ 0 .. 1 ] The ratio of the bill that will be paid by the organization for the duration of trips that span the period of the rule. |
rule_name required | string [ 1 .. 128 ] characters The display name of the rule. |
network_name required | string [ 1 .. 128 ] characters The name of the network on which the rule applies. |
{- "network_id": 1,
- "start_dow": 6,
- "start_hod": "string",
- "end_dow": 6,
- "end_hod": "string",
- "max_vehicles": 1,
- "paid_by_org_ratio": 1,
- "rule_name": "string",
- "network_name": "string"
}
{- "code": 0,
- "data": {
- "org_rule_id": 1
}
}
Update organization rule.
id required | integer >= 1 The identifier of the organization. |
rid required | integer >= 1 The identifier of the rule. |
Info about the organization rule.
network_id required | integer >= 1 The identifier of the network on which the rule applies. |
start_dow required | integer [ 0 .. 6 ] The day of the week at which the rule starts. |
start_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The hour of the day at which the rule starts. |
end_dow required | integer [ 0 .. 6 ] The day of the week at which the rule ends. |
end_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The hour of the day at which the rule ends. |
max_vehicles | integer >= 1 The maximum number of vehicle the user can rent at the same time. If null or undefined, the default 3 is used. |
paid_by_org_ratio required | number [ 0 .. 1 ] The ratio of the bill that will be paid by the organization for the duration of trips that span the period of the rule. |
rule_name required | string [ 1 .. 128 ] characters The display name of the rule. |
network_name required | string [ 1 .. 128 ] characters The name of the network on which the rule applies. |
{- "network_id": 1,
- "start_dow": 6,
- "start_hod": "string",
- "end_dow": 6,
- "end_hod": "string",
- "max_vehicles": 1,
- "paid_by_org_ratio": 1,
- "rule_name": "string",
- "network_name": "string"
}
{- "code": 0
}
Delete an organization rule.
id required | integer >= 1 The identifier of the organization. |
rid required | integer >= 1 The identifier of the rule. |
{- "code": 0
}
Update organization enrolment conditions.
id required | integer >= 1 The identifier of the organization. |
The organization enrolment conditions.
email_pattern required | string/^[a-zA-Z0-9@._(){}[\]|*+?%#\\-]+$/ A Postgresql pattern to determine which email are selected to join the organization. |
reenrolment_frequency_in_days required | number >= 1 The frequency in days at which the users of the organization needs to confirm their emails again. |
manual_approbation required | boolean Enable manual approbation of organization enrolment. |
enable_enrolment_token required | boolean Enable enrolment using link / qr code for users without corporation email. |
enrolment_custom_field required | string or null Custom field in user registration / organization enrolment. The value entered by the user will be reported in the approval list. |
{- "email_pattern": "%@knot.city",
- "reenrolment_frequency_in_days": 1,
- "manual_approbation": true,
- "enable_enrolment_token": true,
- "enrolment_custom_field": "string"
}
{- "code": 0,
}
Update organization administrator. The user should have the organization permission (write) for the organization it will be the administrator.
id required | integer >= 1 The identifier of the organization. |
The organization new administrator.
administrator_id required | integer >= 1 The user identifier of the new administrator. |
{- "administrator_id": 1
}
{- "code": 0
}
Update organization payments conditions & settings.
id required | integer >= 1 The identifier of the organization. |
The organization payments conditions & settings.
is_guarantor required | boolean Whether or not the organization will pay for stolen vehicles. |
allow_outside_rules required | boolean Whether or not the organization allow trips to start outside of the given rules. |
paid_outside_rules_ratio required | number [ 0 .. 1 ] The ratio of trip cost which is paid by the organization. This only applies to the duration of trips that run outside of the defined rules. |
pays_rule_overrun required | boolean Whether or not the organization pays for the parts of trips that started in a rules but overran its duration and finished outside of one. |
{- "is_guarantor": true,
- "allow_outside_rules": true,
- "paid_outside_rules_ratio": 1,
- "pays_rule_overrun": true
}
{- "code": 0
}
Upload & set a new organization logo.
id required | integer >= 1 The identifier of the organization. |
The organization logo.
logo required | string <binary> The new logo for the organization. |
{- "code": 0,
}
Return the list of enrolment requests of an organization.
id required | integer >= 1 The identifier of the organization. |
{- "code": 0,
- "data": [
- {
- "organization_enrolment_request_id": 1,
- "user_id": 1,
- "email": "user@example.com",
- "lastname": "string",
- "firstname": "string",
- "creation_date": "2019-08-24T14:15:22Z",
- "approved_date": "2019-08-24T14:15:22Z",
- "rejected_date": "2019-08-24T14:15:22Z",
- "custom_field_value": "string"
}
]
}
Accept or reject an enrolment request.
id required | integer >= 1 The identifier of the organization. |
enrolment_id required | integer >= 1 The identifier of the enrolment request. |
Reject or accept data.
accept required | boolean Whether the enrolment is accepted or refused. |
reject_reason | string [ 1 .. 500 ] characters Optional reason if rejected. |
revoke_at | string <date> Optional auto revoke user from organization at the specified date. |
{- "accept": true,
- "reject_reason": "string",
- "revoke_at": "2019-08-24"
}
{- "code": 0
}
Update an out of order.
id required | integer >= 1 Identifier of the out of order. |
The out of order date.
reason | string or null [ 1 .. 100 ] characters The out of order reason. |
end_date | string or null <date-time> The out of order end date. |
{- "reason": "string",
- "end_date": "2019-08-24T14:15:22Z"
}
{- "code": 0
}
Return stats on the stations of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": {
- "total": 0,
- "available": 0,
- "maintenance": 0,
- "identification_errors": 0,
- "free_spots": 0,
- "total_spots": 0,
- "virtual_station_count": 0,
- "virtual_free_spots": 0,
- "virtual_total_spots": 0,
- "availability": 1
}
}
Return stats on the vehicles of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": {
- "total": 0,
- "available": 0,
- "unavailable": 0,
- "rented": 0,
- "parked": 0,
- "has_maintenance": 0
}
}
Return stats on the trips of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": {
- "today_ongoing": 0,
- "today_total": 0,
- "today_paid": 0,
- "today_free": 0,
- "today_demo": 0,
- "ongoing_long": 0
}
}
Return stats on the users of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": {
- "total": 0,
- "active": 0,
- "today_registration": 0,
- "with_subscription": 0,
- "with_organization": 0,
- "with_debt": 0
}
}
Return info of the stations of specified networks to display on the map.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": {
- "network_id": 1,
- "shape": [
- [
- 10,
- 45
], - [
- -2.8,
- 4
], - [
- 67,
- -45.8
]
], - "name": "string",
- "clusters": [
- {
- "cluster_id": 1,
- "name": "string",
- "latitude": -90,
- "longitude": -180,
- "available_vehicles": 0,
- "total_spots": 0,
- "cluster_is_down": true,
- "maintenances": {
- "info": 0,
- "low": 0,
- "high": 0
}
}
]
}
}
Return overview of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
lang required | string = 2 characters The lang in which to get localizations. |
{- "code": 0
}
Return the list of all Passes of the specified network.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "available": true,
- "title": "string",
- "network_id": 1,
- "price": 0.001,
- "duration": 0,
- "validity": "day",
- "pass_id": 1,
- "currency": "string",
- "network_name": "string",
- "already_used": true
}
]
}
Add new Pass on the specified network.
Parameters of the new Pass.
available required | boolean If the Pass is available. |
title required | string [ 1 .. 50 ] characters The title of the Pass. |
network_id required | integer >= 1 Network identifier on which the Pass applies. |
price required | number <double> >= 0.001 The Pass's price, subtract from user wallet. |
duration required | integer >= 0 The duration of the Pass, in seconds. |
validity required | string or null Enum: "day" "week" "month" "unlimited" The pass's validity. |
{- "available": true,
- "title": "string",
- "network_id": 1,
- "price": 0.001,
- "duration": 0,
- "validity": "day"
}
{- "code": 0,
- "data": {
- "pass_id": 1
}
}
Update an Pass. Only the availability can be changed on a Pass that was already bought at least one time.
id required | integer >= 1 The Pass's identifier. |
Pass identifier and new value parameters.
available required | boolean If the Pass is available. |
title | string [ 1 .. 50 ] characters The title of the Pass. |
price | number >= 0 The Pass's price, subtract from user wallet. |
duration | integer >= 0 The duration of the Pass, in seconds. |
validity | string or null Enum: "day" "week" "month" "unlimited" The pass's validity. |
{- "available": true,
- "title": "string",
- "price": 0,
- "duration": 0,
- "validity": "day"
}
{- "code": 0
}
Return all payment accounts.
{- "code": 0,
- "data": [
- {
- "account_id": "string",
- "provider_name": "stripe",
- "third_party_id": "string",
- "third_party_name": "string",
- "networks": [
- {
- "network_id": 1,
- "name": "string"
}
],
}
]
}
Create a new payment account.
required | object The credentials required by the payment provider to connect to its servers. |
provider required | string (PaymentProvider) Enum: "stripe" "uzcard" "braintree" "hdcpay" |
third_party_id required | string^tpy_[a-zA-Z0-9]{7}$ Unique identifier of the third party that owns this payment account. |
{- "credentials": {
- "property1": "string",
- "property2": "string"
}, - "provider": "stripe",
- "third_party_id": "string"
}
{- "code": 0,
}
Return info about the payment provider to know what to ask to set one up.
{- "code": 0,
- "data": [
- {
- "name": "stripe",
- "allow_subscriptions": true,
- "per_currency_merchant": true,
- "credentials_keys": [
- "string"
], - "webhooks": true,
- "webhook_events": [
- "string"
], - "methods": [
- "card"
]
}
]
}
Update a payment account credentials.
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
required | object The credentials required by the payment provider to connect to its servers. |
{- "credentials": {
- "property1": "string",
- "property2": "string"
}
}
{- "code": 0
}
Delete a payment account. This can only be done after it was unlinked from all networks and all currency config removed. This will invalid all saved payment methods.
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
{- "code": 0
}
Return configured currencies for the payment account. Not all payment accounts need currencies to be configured.
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
{- "code": 0,
- "data": [
- {
- "currency": "EUR",
- "merchant_id": "string"
}
]
}
Add a currency configuration to the payment account. Not all payment accounts need currencies to be configured.
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
Object containing the payment account currency configuration.
currency required | string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" |
merchant_id required | string The merchant id for this currency in the provider's system. |
{- "currency": "EUR",
- "merchant_id": "string"
}
{- "code": 0
}
Remove a currency configuration of a payment account. Add payment methods using this currency won't be usable anymore.
payment_account_id required | string^ppa_[a-zA-Z0-9]{7}$ Identifier of the payment account. |
currency | string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" Example: EUR Identifier of the currency. |
{- "code": 0
}
Get the payment methods with the same fingerprint as the given one.
fingerprint required | string The fingerprint to look for. |
{- "code": 0,
- "data": [
- {
- "user_payment_method_id": 1,
- "valid": true,
- "provider_method_id": "string",
- "creation_date": "string",
- "deletion_date": "string",
- "details": { },
- "type": "string",
- "provider": "string",
- "user_id": 1,
- "email": "user@example.com",
- "label_name": "string"
}
]
}
Get the list of available permissions.
lang required | string = 2 characters The lang in which to get the permission localized. |
{- "code": 0,
- "data": [
- {
- "perm_key": "networks.manage",
- "read": true,
- "write": true,
- "links": [
- [
- "network"
]
], - "name": "string",
- "description": "string"
}
]
}
Return pricing (price by minute of rent, price to unlock and to free float lock) of the specified network.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "start_dow": 6,
- "start_hod": "string",
- "end_dow": 6,
- "end_hod": "string",
- "unlock_price": 0.1,
- "unlock_included_time": 0,
- "freefloat_lock_price": 0.1,
- "use_per_minute_price": 0.1,
- "on_hold_price": 0.1,
- "returned_to_other_station_fee": 0.1,
- "booking_price": 0.1,
- "booking_per_minute_price": 0.1,
- "currency": "string",
- "network_pricing_id": 1,
- "vehicle_model_id": 1,
- "vehicle_model_name": "string",
- "vehicle_manufacturer": "string",
- "vehicle_model_type": "string",
- "should_return_to_same_station": true
}
]
}
Add a pricing rule for the specified network.
Pricing parameters.
start_dow required | integer [ 0 .. 6 ] The start day of week. 0 is Sunday. |
start_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The time when the rule start (Network local time). |
end_dow required | integer [ 0 .. 6 ] The end day of week. 0 is Sunday. |
end_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The time when the rule end (Network local time). |
unlock_price required | number <float> >= 0 The price to unlock a vehicle on the network. |
unlock_included_time required | number >= 0 Use time in second included in the unlock price. Once this time has elapsed, the use price per minute applies. |
freefloat_lock_price required | number <float> >= 0 The price to lock a vehicle in freefloat mode on the network. |
use_per_minute_price required | number <float> >= 0 The price by minute to rent a vehicle on the network. |
on_hold_price required | number <float> >= 0 The price by minute to keep a vehicle on-hold (rented but locked). Usually lower than use_per_minute_price. |
returned_to_other_station_fee required | number <float> >= 0 The fee added if the trip does not end at the station where it started. Ignored if should_return_to_same_station is false. |
booking_price required | number <float> >= 0 The fixed price for the booking. |
booking_per_minute_price required | number <float> >= 0 The price per minute when the vehicle was booked before the trip started. |
network_id required | integer >= 1 Network identifier on which this price applies. |
vehicle_model_id required | integer or null >= 1 The vehicle model this pricing applies to. When null, this applies if no pricing is configured for the vehicle model. |
{- "start_dow": 6,
- "start_hod": "string",
- "end_dow": 6,
- "end_hod": "string",
- "unlock_price": 0.1,
- "unlock_included_time": 0,
- "freefloat_lock_price": 0.1,
- "use_per_minute_price": 0.1,
- "on_hold_price": 0.1,
- "returned_to_other_station_fee": 0.1,
- "booking_price": 0.1,
- "booking_per_minute_price": 0.1,
- "network_id": 1,
- "vehicle_model_id": 1
}
{- "code": 0,
- "data": {
- "network_pricing_id": 1
}
}
Update the specified pricing rule.
id required | integer >= 1 The pricing's identifier. |
Pricing parameters.
start_dow required | integer [ 0 .. 6 ] The start day of week. 0 is Sunday. |
start_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The time when the rule start (Network local time). |
end_dow required | integer [ 0 .. 6 ] The end day of week. 0 is Sunday. |
end_hod required | string^((([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d)|24:00:0... The time when the rule end (Network local time). |
unlock_price required | number <float> >= 0 The price to unlock a vehicle on the network. |
unlock_included_time required | number >= 0 Use time in second included in the unlock price. Once this time has elapsed, the use price per minute applies. |
freefloat_lock_price required | number <float> >= 0 The price to lock a vehicle in freefloat mode on the network. |
use_per_minute_price required | number <float> >= 0 The price by minute to rent a vehicle on the network. |
on_hold_price required | number <float> >= 0 The price by minute to keep a vehicle on-hold (rented but locked). Usually lower than use_per_minute_price. |
returned_to_other_station_fee required | number <float> >= 0 The fee added if the trip does not end at the station where it started. Ignored if should_return_to_same_station is false. |
booking_price required | number <float> >= 0 The fixed price for the booking. |
booking_per_minute_price required | number <float> >= 0 The price per minute when the vehicle was booked before the trip started. |
network_id required | integer >= 1 Network identifier on which this price applies. |
{- "start_dow": 6,
- "start_hod": "string",
- "end_dow": 6,
- "end_hod": "string",
- "unlock_price": 0.1,
- "unlock_included_time": 0,
- "freefloat_lock_price": 0.1,
- "use_per_minute_price": 0.1,
- "on_hold_price": 0.1,
- "returned_to_other_station_fee": 0.1,
- "booking_price": 0.1,
- "booking_per_minute_price": 0.1,
- "network_id": 1
}
{- "code": 0
}
Return paginated reports of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
primary_key_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the user identifier. |
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | integer >= 1 Identifier of the last user on the current page, used to request the next page. |
sort_by | string Value: "date" Custom sort key. |
string >= 1 Filter by email. | |
archived | boolean Filter by current reports (false) or archived reports (true) |
{- "code": 0,
- "data": [
- {
- "report_id": 1,
- "type": "vehicle-damaged",
- "date": "2019-08-24T14:15:22Z",
- "answered": true,
- "unread": 0,
- "email": "user@example.com"
}
], - "total": 0
}
Return details of a report.
id required | integer >= 1 Identifier of the report. |
{- "code": 0,
- "data": {
- "type": "vehicle-damaged",
- "user_id": 1,
- "language": "string",
- "message": "string",
- "date": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "duplicate_id": 1,
- "cluster_id": 1,
- "cluster_name": "string",
- "cluster_latitude": 48.5900027,
- "cluster_longitude": 7.4300011,
- "vehicle_id": 1,
- "vehicle_serial_number": "string",
- "vehicle_type": "string",
- "vehicle_latitude": 47.6780027,
- "vehicle_longitude": 6.48743011,
- "user_latitude": 47.6780027,
- "user_longitude": 6.48743011,
- "spots": [
- {
- "spot_displayed_number": 1,
- "spot_id": 1
}
], - "networks": [
- {
- "network_id": 1,
- "name": "string",
- "source": "application"
}
]
}
}
Mark the specified report as duplicate.
id required | integer >= 1 Identifier of the report. |
duplicate_id required | integer >= 1 Identifier of the report duplicate. |
{- "code": 0
}
Mark the specified report as resolved, or reopen it.
id required | integer >= 1 Identifier of the report. |
Solve report parameter.
close | boolean Indicate if report should be close. Set to false to reopen report. |
{- "close": true
}
{- "code": 0
}
Return paginated messages of the specified report's chat ordered by newest.
id required | integer >= 1 Identifier of the report of which to get messages. |
last_message_date | string <date-time> Offset to apply on the query to retrieve older message. |
{- "code": 0,
- "data": [
- {
- "message_id": "string",
- "message": "string",
- "date": "2019-08-24T14:15:22Z",
- "firstname": "string",
- "email": "user@example.com",
- "attachment": "string",
- "reply": true,
- "modified_date": "2019-08-24T14:15:22Z",
- "read_date": "2019-08-24T14:15:22Z"
}
]
}
Send a chat message to the specified report's chat.
id required | integer >= 1 Identifier of the report to which send the message. |
Chat message parameter.
message required | string [ 1 .. 2000 ] characters The network to link to the report. |
page | string [ 1 .. 256 ] characters The name of app page or the url linked to this message (the app will show a button if present). |
{- "message": "string",
- "page": "string"
}
{- "code": 0,
- "data": {
- "message_id": "string",
- "message": "string",
- "date": "2019-08-24T14:15:22Z",
- "firstname": "string",
- "email": "user@example.com",
- "attachment": "string",
- "reply": true,
- "modified_date": "2019-08-24T14:15:22Z",
- "read_date": "2019-08-24T14:15:22Z"
}
}
Update the specified chat message.
id required | integer >= 1 Identifier of the report in which the message is. |
message_id required | string <bigint> Identifier of the message to edit. |
Chat message parameter.
message required | string [ 1 .. 2000 ] characters The network to link to the report. |
{- "message": "string"
}
{- "code": 0
}
Delete the specified chat message.
id required | integer >= 1 Identifier of the report in which the message is. |
message_id required | string <bigint> Identifier of the message to edit. |
{- "code": 0
}
Send an image to the specified report's chat.
id required | integer >= 1 Identifier of the report to which send the message. |
The picture to upload.
chat_image required | string <binary> The picture file data. |
{- "code": 0,
- "data": {
- "message_id": "string",
- "message": "string",
- "date": "2019-08-24T14:15:22Z",
- "firstname": "string",
- "email": "user@example.com",
- "attachment": "string",
- "reply": true,
- "modified_date": "2019-08-24T14:15:22Z",
- "read_date": "2019-08-24T14:15:22Z"
}
}
Link the specified network to the report.
id required | integer >= 1 Identifier of the report. |
Network parameter.
network_id required | integer >= 1 The network to link to the report. |
{- "network_id": 1
}
{- "code": 0
}
Unlink the specified network from the report.
id required | integer >= 1 Identifier of the report. |
network_id required | integer >= 1 Identifier of the network to unlink. |
{- "code": 0
}
Get the list of predefined responses.
networks required | Array of integers or null[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "predefined_response_id": 1,
- "title": "string",
- "content": "string",
- "lang": "fr",
- "pattern": "string",
- "type": "string",
- "network_id": 1,
- "network_name": "string"
}
]
}
Create a new predefined response.
Info
title required | string [ 3 .. 50 ] characters The title of the predefined response. |
content required | string [ 3 .. 1000 ] characters The content of the predefined response. |
lang required | string^[a-zA-Z]{2}$ The language of the predefined response. |
pattern | string or null The pattern used to find words in the report that match the predefined response. This is a regular expression. |
type | string or null Enum: "vehicle-damaged" "station-damaged" "station-full" "contact-user" "trip-not-ending" "other" The report's type |
network_id | integer or null >= 1 The network id on which this predefined response can be used. |
{- "title": "string",
- "content": "string",
- "lang": "fr",
- "pattern": "string",
- "type": "string",
- "network_id": 1
}
{- "code": 0,
- "data": {
- "predefined_response_id": 1,
- "app_label_id": 1
}
}
Update a predefined response.
id required | integer >= 1 The identifier of the predefined response. |
Info
title | string [ 3 .. 50 ] characters The title of the predefined response. |
content | string [ 3 .. 1000 ] characters The content of the predefined response. |
lang | string^[a-zA-Z]{2}$ The language of the predefined response. |
pattern | string or null The pattern used to find words in the report that match the predefined response. This is a regular expression. |
type | string or null Enum: "vehicle-damaged" "station-damaged" "station-full" "contact-user" "trip-not-ending" "other" The report's type |
network_id | integer or null >= 1 The network id on which this predefined response can be used. |
{- "title": "string",
- "content": "string",
- "lang": "fr",
- "pattern": "string",
- "type": "string",
- "network_id": 1
}
{- "code": 0
}
Get the list of available roles.
lang required | string = 2 characters The lang in which to get the permission localized. |
{- "code": 0,
- "data": [
- {
- "role_key": "string",
- "role_name": "string",
- "creation_date": "2019-08-24T14:15:22Z",
- "modification_date": "2019-08-24T14:15:22Z",
- "users": 1,
- "perm_keys": [
- "networks.manage"
]
}
]
}
Create a new permission role.
Role key and its permissions.
key required | string [ 3 .. 50 ] characters The key of the new role. |
perms required | Array of strings (Permission) unique Items Enum: "networks.manage" "vehicles.register" "maintenances" "unlock.admin" "networks.show.private" "dashboard.access" "users.list" "demonstration" "stations" "stations.advanced" "users.permissions" "users.block" "users.credits" "transactions" "developer" "emails.newsletters" "emails.transactional" "emails.mailing.lists" "users.support" "trips" "stocks.vehicles" "stocks.manage" "vehicles.manage" "notifications" "vehicles.alerts" "terms.of.use" "organizations" "organizations.enrolment" "users.badges" "virtual.parking" "app.debug" "roles" "third.parties" "invoices" "users.passes" "pricing" "finance" "usage.statistics" "feature.beta" "dashboard.access.logs" "faq" "app.label" "technical.statistics" "vehicles.decommission" "bookings" "networks.create" "payment.accounts" The list of permissions to add to the role. |
{- "key": "string",
- "perms": [
- "networks.manage"
]
}
{- "code": 0
}
Update the permissions associated to a role.
Role key and permissions to change.
key required | string [ 3 .. 50 ] characters The key of the role to update. |
perms_to_add required | Array of strings (Permission) unique Items Enum: "networks.manage" "vehicles.register" "maintenances" "unlock.admin" "networks.show.private" "dashboard.access" "users.list" "demonstration" "stations" "stations.advanced" "users.permissions" "users.block" "users.credits" "transactions" "developer" "emails.newsletters" "emails.transactional" "emails.mailing.lists" "users.support" "trips" "stocks.vehicles" "stocks.manage" "vehicles.manage" "notifications" "vehicles.alerts" "terms.of.use" "organizations" "organizations.enrolment" "users.badges" "virtual.parking" "app.debug" "roles" "third.parties" "invoices" "users.passes" "pricing" "finance" "usage.statistics" "feature.beta" "dashboard.access.logs" "faq" "app.label" "technical.statistics" "vehicles.decommission" "bookings" "networks.create" "payment.accounts" The list of permissions to add to the role. |
perms_to_remove required | Array of strings (Permission) unique Items Enum: "networks.manage" "vehicles.register" "maintenances" "unlock.admin" "networks.show.private" "dashboard.access" "users.list" "demonstration" "stations" "stations.advanced" "users.permissions" "users.block" "users.credits" "transactions" "developer" "emails.newsletters" "emails.transactional" "emails.mailing.lists" "users.support" "trips" "stocks.vehicles" "stocks.manage" "vehicles.manage" "notifications" "vehicles.alerts" "terms.of.use" "organizations" "organizations.enrolment" "users.badges" "virtual.parking" "app.debug" "roles" "third.parties" "invoices" "users.passes" "pricing" "finance" "usage.statistics" "feature.beta" "dashboard.access.logs" "faq" "app.label" "technical.statistics" "vehicles.decommission" "bookings" "networks.create" "payment.accounts" The list of permissions to remove from the role. |
{- "key": "string",
- "perms_to_add": [
- "networks.manage"
], - "perms_to_remove": [
- "networks.manage"
]
}
{- "code": 0
}
Return the energy consumption of the station in the specified range.
id required | integer >= 1 Identifier of the station. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "date": "string",
- "total_active_energy": 0,
- "total_apparent_energy": 0
}
]
}
Fetch the list of stocks address for the specific network.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "stock_id": 1,
- "name": "string",
- "country_iso": "st",
- "country_id": 1,
- "city": "string",
- "zipcode": "string",
- "street": "string",
- "damaged_vehicle": "string",
- "total_vehicle": "string",
- "network_id": 1
}
]
}
Create a new stock address where vehicles can be stored.
New address data.
name required | string [ 4 .. 128 ] characters The name of the new address. |
country required | integer >= 1 The identifier of the country of the new address. |
city required | string [ 1 .. 128 ] The name of the city of the new address. |
zipcode required | string [ 1 .. 16 ] The zipcode of the new address. |
street required | string [ 1 .. 128 ] The street number and name of the new address. |
{- "name": "My super stock",
- "country": 1,
- "city": "Strasbourg",
- "zipcode": "67000",
- "street": "45 example street"
}
{- "code": 0,
- "data": {
- "stock_id": 1
}
}
Fetch the list of vehicles stored in the specified stock address.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "vehicle_id": 1,
- "serial_number": "string",
- "stock_name": "string",
- "manufacturer": "string",
- "model_name": "string",
- "user_id": 1,
- "email": "user@example.com",
- "arrival_date": "2019-08-24T14:15:22Z",
- "comment": "string",
- "maintenances": [
- {
- "maintenance_type": "string",
- "comment": "string",
- "start_date": "string",
- "severity": "info"
}
]
}
]
}
Define a new shape for the auto stock feature for the specified stock.
Auto stock shape parameters.
stock_id required | number >= 1 Identifier of the stock. |
shape required | Array of numbers >= 3 items [ items = 2 items [ items [ -180 .. 180 ] ] ] New shape of the network's border which is a list of GPS coordinates. |
{- "stock_id": 1,
- "shape": [
- [
- 10,
- 45
], - [
- -2.8,
- 4
], - [
- 67,
- -45.8
]
]
}
{- "code": 0
}
Returns subscriptions of the specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "name": "string",
- "trip_duration": 1,
- "trip_waiting_period": 1,
- "organization_only": true,
- "network_id": 1,
- "subscription_id": 1,
- "network_name": "string",
- "creation_date": "2019-08-24T14:15:22Z",
- "currency": "EUR"
}
]
}
Create a new subscription.
Info of the subscription to create.
name required | string [ 1 .. 50 ] characters Display name for this subscription. |
trip_duration required | integer >= 1 The duration in seconds that the subscription cover for each trip that it applies to. |
trip_waiting_period required | integer or null >= 1 The duration in seconds that the user needs to wait after having finished a trip that the subscription was used for, if a trip is started before the duration elapsed the new trip will be fully charged. |
organization_only required | boolean Whether or not this subscription can only be used by organization members. |
network_id required | integer >= 1 Identifier of the network on which the subscription can be used. |
{- "name": "string",
- "trip_duration": 1,
- "trip_waiting_period": 1,
- "organization_only": true,
- "network_id": 1
}
{- "code": 0,
- "data": {
- "subscription_id": 1
}
}
Returns subscription discounts of the specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "percent_off": 1,
- "duration": "once",
- "duration_in_months": 0,
- "network_id": 1,
- "subscription_discount_id": 1,
- "network_name": "string",
- "creation_date": "string"
}
]
}
Create a new subscription discount.
Info of the subscription discount to create.
percent_off required | number [ 1 .. 100 ] The percentage of the discount. |
duration required | string Enum: "once" "repeating" "forever" The duration during which the discount is applied on a subscription.
|
duration_in_months required | integer or null >= 0 The duration of the discount in months. This is not null only when the property |
network_id required | integer >= 1 The identifier of the network on which this discount is usable. |
{- "percent_off": 1,
- "duration": "once",
- "duration_in_months": 0,
- "network_id": 1
}
{- "code": 0,
- "data": {
- "subscription_discount_id": 1
}
}
Update a subscription.
id required | integer >= 1 The identifier of the subscription. |
Info of the subscription to create.
name | string [ 1 .. 50 ] characters Display name for this subscription. |
trip_duration | integer >= 1 The duration in seconds that the subscription cover for each trip that it applies to. |
trip_waiting_period | integer or null >= 1 The duration in seconds that the user needs to wait after having finished a trip that the subscription was used for, if a trip is started before the duration elapsed the new trip will be fully charged. |
organization_only | boolean Whether or not this subscription can only be used by organization members. |
{- "name": "string",
- "trip_duration": 1,
- "trip_waiting_period": 1,
- "organization_only": true
}
{- "code": 0
}
Get the different price of a subscription.
id required | integer >= 1 The identifier of the subscription. |
{- "code": 0,
- "data": [
- {
- "price": 0,
- "interval_type": "day",
- "interval_count": 1,
- "free_credits": 0.001,
- "available": true,
- "subscription_price_id": 1,
- "creation_date": "2019-08-24T14:15:22Z",
- "currency": "EUR",
- "subscribers": 0
}
]
}
Create a new price for a subscription.
id required | integer >= 1 The identifier of the subscription. |
Info of the subscription price to create.
price required | number >= 0 The amount of the subscription price. |
interval_type required | string Enum: "day" "week" "month" "year" The type of interval used for this price. |
interval_count required | integer [ 1 .. 365 ] How many interval_type are between each renewal. |
free_credits required | number or null >= 0.001 The amount given as a gift to the user on his wallet. |
available required | boolean Whether or not this price is available for the end users. |
{- "price": 0,
- "interval_type": "day",
- "interval_count": 1,
- "free_credits": 0.001,
- "available": true
}
{- "code": 0,
- "data": {
- "subscription_price_id": 1
}
}
Update a subscription price.
id required | integer >= 1 The identifier of the subscription. |
price_id required | integer >= 1 The identifier of the subscription price. |
Info of the subscription price to update.
available | boolean Whether or not this price is visible to user. |
free_credits | number or null >= 0.001 The amount given as a gift to the user on his wallet. |
{- "available": true,
- "free_credits": 0.001
}
{- "code": 0
}
Delete a subscription price.
id required | integer >= 1 The identifier of the subscription. |
price_id required | integer >= 1 The identifier of the subscription price. |
{- "code": 0
}
Get the different organization linked to a subscription.
id required | integer >= 1 The identifier of the subscription. |
{- "code": 0,
- "data": [
- {
- "organization_id": 1,
- "subscription_discount_id": 1,
- "organization_name": "string"
}
]
}
Link a subscription to an organization so that members of the organization can use the subscription with a discount.
id required | integer >= 1 The identifier of the subscription. |
Info of the subscription organization link to create.
organization_id required | integer >= 1 The identifier organization that will have access to this subscription. |
subscription_discount_id required | integer or null >= 1 Identifier of the subscription discount to apply automatically for members of the organization. |
{- "organization_id": 1,
- "subscription_discount_id": 1
}
{- "code": 0
}
Update a subscription organization link.
id required | integer >= 1 The identifier of the subscription. |
organization_id required | integer >= 1 The identifier of the organization |
Info of the subscription organization link to update.
subscription_discount_id required | integer or null >= 1 Identifier of the subscription discount to apply automatically for members of the organization. |
{- "subscription_discount_id": 1
}
{- "code": 0
}
Delete the link between the subscription and the organization.
id required | integer >= 1 The identifier of the subscription. |
organization_id required | integer >= 1 The identifier of the organization. |
{- "code": 0
}
Return number of locks and unlocks with success rate and errors breakdown.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": {
- "unlock_stats": {
- "total_unlocks": 3463,
- "failed_unlocks": 165,
- "station_unlocks": 2564,
- "failed_station_unlocks": 57
}, - "unlock_errors": [
- {
- "error": "string",
- "count": 165
}
], - "lock_stats": {
- "total_locks": 0,
- "failed_locks": 0,
- "station_ended_trips": 0,
- "abnormal_ended_trips": 0,
- "ended_trips": 0,
- "station_identify_error": 0
}, - "lock_errors": [
- {
- "error": "string",
- "count": 165
}
]
}
}
Return technical stats (total trips, rented time, cumulative distance, vehicles age, vehicles availabilities & stations availabilities) in the requested period.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": {
- "vehicles": {
- "duration_sum": 0,
- "duration_avg": 0,
- "duration_median": 0,
- "duration_max": 0,
- "distance_sum": 0,
- "distance_avg": 0,
- "distance_median": 0,
- "distance_max": 0,
- "trips_sum": 0,
- "trips_avg": 0,
- "trips_median": 0,
- "trips_max": 0,
- "age_avg": 0,
- "age_median": 0,
- "age_max": 0,
- "odometer_sum": 0,
- "odometer_avg": 0,
- "odometer_median": 0,
- "odometer_max": 0,
- "count": 0,
- "availability_avg": 1,
- "availability_median": 1,
- "availability_max": 1
}, - "maintenances": {
- "count": 0,
- "duration_avg": 0,
- "duration_median": 0,
- "duration_max": 0
}
}
}
Return batteries levels at the start and at the end of trips for each vehicle model of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "model_name": "string",
- "start_battery_levels": [
- 0
], - "end_battery_levels": [
- 0
]
}
]
}
Return number of maintenances for each vehicles models / stations models in operation in the specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "model_name": "string",
- "maintenances": [
- {
- "maintenance_type": "string",
- "count": 0,
- "auto_code": 0
}
]
}
]
}
Return availability, number of maintenances, identification error and alarm fired count for each stations models in operation in the specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "cluster_id": 1,
- "cluster_name": "string",
- "station_id": 1,
- "availability": 1,
- "maintenances_low": 0,
- "maintenances_high": 0,
- "identify_fail": 0,
- "alarm_triggered": 0
}
]
}
Return number of maintenances, identification error, lock & unlocks count for each spots of the specified station.
station_id required | integer >= 1 Identifier of the station. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "spot_id": 1,
- "displayed_number": 1,
- "unlocks_count": 0,
- "locks_count": 0,
- "identify_fail": 0,
- "unlocks_fail": 0
}
]
}
Get the terms of use for the given app label, network or organization.
type required | string Enum: "app_label" "network" "organization" The type of object targeted by the terms of use. |
type_id required | integer >= 1 The identifier of the object of the type given by the type parameter, targeted by the terms of use. |
{- "code": 0,
- "data": [
- {
- "terms_of_use_id": 1,
- "creation_date": "string",
- "publication_date": "string",
- "deletion_date": "string",
- "langs": [
- "string"
]
}
]
}
Create a new terms of use for the given app label, network or organization.
type required | string Enum: "app_label" "network" "organization" The type of object targeted by the terms of use. |
type_id required | integer >= 1 The identifier of the object of the type given by the type parameter, targeted by the terms of use. |
{- "code": 0,
- "data": {
- "terms_of_use_id": 1
}
}
Publish the terms of use by generating all pdfs and sending them to all concerned users.
terms_of_use_id required | integer >= 1 The identifier of the terms of use. |
{- "code": 0
}
Get the terms of use content in the given language.
terms_of_use_id required | integer >= 1 The identifier of the terms of use. |
lang required | string^[a-zA-Z]{2}$ The language of the terms of use content. |
{- "code": 0,
- "data": {
- "content": "string",
- "publication_url": "string",
- "file_name": "string"
}
}
Create or update the terms of use content in the given language.
terms_of_use_id required | integer >= 1 The identifier of the terms of use. |
lang required | string^[a-zA-Z]{2}$ The language of the terms of use content. |
Info on the new terms of use content.
content required | string The text of the terms of use, formatted using markdown. |
file_name required | string [ 1 .. 64 ] characters The name of the pdf file that will be sent to the users with the content given in the content property. |
{- "content": "string",
- "file_name": "string"
}
{- "code": 0
}
Get the terms of use attachments of the given language.
terms_of_use_id required | integer >= 1 The identifier of the terms of use. |
lang required | string^[a-zA-Z]{2}$ The language of the terms of use attachment. |
{- "code": 0,
- "data": [
- {
- "attachment_url": "string",
- "attachment_name": "string"
}
]
}
Upload an attachment for the terms of use of the given language.
terms_of_use_id required | integer >= 1 The identifier of the terms of use. |
lang required | string^[a-zA-Z]{2}$ The language of the terms of use attachment. |
Info on the new terms of use attachment.
attachment_name required | string [ 1 .. 128 ] characters The name of the attachment to create or delete. |
attachment required | string <binary> Attachment file content. |
{- "attachment_name": "string",
- "attachment": "string"
}
{- "code": 0,
- "data": {
- "attachment_url": "string"
}
}
Delete an attachment of the terms of use of the given language.
terms_of_use_id required | integer >= 1 The identifier of the terms of use. |
lang required | string^[a-zA-Z]{2}$ The language of the terms of use attachment. |
attachment_name required | string [ 1 .. 128 ] characters The name of the attachment to create or delete. |
{- "code": 0
}
Get the list of the third-parties already imported.
lang required | string/^[a-zA-Z]{2}$/ Example: lang=fr The lang in which to get the registration number type localized. |
{- "code": 0,
- "data": [
- {
- "third_party_id": "string",
- "name": "string",
- "country_iso": "st",
- "erp_id": 1,
- "address": "string",
- "address2": "string",
- "zipcode": "string",
- "can_issue_invoice": true,
- "legal_form": "string",
- "vat_number": "string",
- "registration_number": "string",
- "capital": 0,
- "capital_currency": "string",
- "invoice_issuer_name": "string",
- "website": "string",
- "contact_phone": "string",
- "contact_email": "string",
- "invoice_prefix": "string",
- "last_invoice_number": 0,
- "last_credit_invoice_number": 0,
- "lang": "string"
}
]
}
Import a third-party from the ERP.
Info about the third-party.
erp_id required | integer >= 1 The ERP third-party's identifier. |
invoice_prefix required | string [ 1 .. 10 ] characters The invoice prefix for this third-party. |
lang required | string/^[a-zA-Z]{2}$/ The language used by the third-party. |
{- "erp_id": 1,
- "invoice_prefix": "string",
- "lang": "string"
}
{- "code": 0
}
Return transactions made on specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
primary_key_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the transaction identifier. |
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | integer >= 1 Identifier of the last transaction on the current page, used to request the next page. |
sort_by | string Enum: "date" "amount_w_vat" "amount" "product_title" "refund_amount" "auto_payment" "payment_provider_fee" "network_id" Custom sort key. |
sort_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the custom sort key. |
transaction_id_min | integer >= 1 Filter the minimum transaction's identifier. |
transaction_id_max | integer >= 1 Filter the maximum transaction's identifier. |
date_min | string <date> Filter the minimum transaction's date. |
date_max | string <date> Filter the maximum transaction's date. |
amount_w_vat_min | number >= 0 Filter the minimum transaction's amount with VAT. |
amount_w_vat_max | number >= 0 Filter the maximum transaction's amount with VAT. |
amount_min | number >= 0 Filter the minimum transaction's amount without VAT. |
amount_max | number >= 0 Filter the maximum transaction's amount without VAT. |
user_id | integer >= 1 Filter by the user's identifier who made the transaction. |
string non-empty Filter by the user's email who made the transaction (partial match search). | |
product_title | string [ 1 .. 100 ] characters Filter by the transaction's product title (partial match search). |
refunded | boolean Filter refunded state. |
refund_date_min | string <date> Filter the minimum transaction's refund date. |
refund_date_max | string <date> Filter the maximum transaction's refund date. |
auto_payment | boolean Filter auto-payment. |
payment_provider_fee_min | number >= 0 Filter by the minimum transaction's provider fee amount. |
payment_provider_fee_max | integer >= 0 Filter by the maximum transaction's provider fee amount. |
payment_account_id | string^ppa_[a-zA-Z0-9]{7}$ Filter by the transaction's payment account identifier. |
payment_provider | string [ 1 .. 20 ] characters Filter by the transaction's payment method provider (partial match search). |
payment_method_type | string [ 1 .. 20 ] characters Filter by the transaction's payment method type (partial match search). |
{- "code": 0,
- "data": [
- {
- "transaction_id": 1,
- "date": "2019-08-24T14:15:22Z",
- "currency": "string",
- "amount_w_vat": 0,
- "amount": 0,
- "vat": 0,
- "user_id": 1,
- "email": "user@example.com",
- "product_title": "string",
- "auto_payment": true,
- "refund_amount": 0,
- "refund_date": "string",
- "refunded_with_credits": true,
- "payment_provider_fee": 0,
- "network_id": 1,
- "network_name": "string",
- "payment_account_id": "string",
- "payment_provider": "string",
- "payment_method_type": "string",
- "invoice_id": "string"
}
], - "total": 0
}
Return details of the specified transaction.
id required | integer >= 1 The identifier of the transaction. |
{- "code": 0,
- "data": {
- "amount": 0,
- "amount_w_vat": 0,
- "payment_provider": "string",
- "payment_method_type": "string",
- "allow_partial_refund": true,
- "offer_id": 1,
- "offer_wallet_amount": 0,
- "pass_id": 1,
- "pass_duration": 0,
- "pass_validity": "day",
- "user_subscription_id": 1,
- "discount_id": 1,
- "discount_name": "string",
- "discount_data": 100,
- "refunds": [
- {
- "id": 1,
- "amount": 0,
- "date": "2019-08-24T14:15:22Z",
- "reason": "stringstri",
- "refunder": "string",
- "refunder_id": 1,
- "type": "user-action",
- "fees": 0,
- "invoice_id": "string"
}
], - "refund_intents": [
- {
- "id": 1,
- "amount": 0,
- "date": "2019-08-24T14:15:22Z",
- "reason": "stringstri",
- "refunder": "string",
- "refunder_id": 1,
- "status": "created",
- "failure_reason": "string",
- "provider_id": "string"
}
], - "trip_id": 1,
- "trip_cost": 0,
- "trip_started_at": "2019-08-24T14:15:22Z",
- "wallets": [
- {
- "wallet_id": 1,
- "original_amount": 0,
- "current_amount": 0,
- "source": "purchase",
- "creation_date": "string",
- "reason": "string",
- "refunder": "string",
- "refunder_id": 0
}
], - "booking_id": "string",
- "booking_cost": 0,
- "pre_auth_id": "string",
- "trip_additional_charge_id": "string",
- "trip_additional_charge_trip_id": 1,
- "trip_additional_charge_user_id": 1,
- "trip_additional_charge_user_email": "user@example.com",
- "trip_additional_charge_reason": "stringstringstringst",
- "trip_additional_charge_proofs": [
- "string"
], - "trip_additional_charge_type_name": "string"
}
}
Refund the specified transaction.
id required | integer >= 1 The identifier of the transaction. |
Data of the refund.
reason required | string [ 10 .. 2048 ] characters The reason to refund this transaction. |
amount required | number >= 0 The amount to refund. Cannot be greater than the amount of the transaction. |
as_credits | boolean When true, the transaction will be refunded as credits to the user's wallet. The transaction can be refunded again to its payment method, but a strategy need to be chosen for the credits already given. |
existing_credit_refund_handling_strategy | string Enum: "keep" "empty" "debt" The strategy to adopt when refunding to the payment methods an amount that was already refunded as credits. This is required only when refunding already refunded credits.
|
{- "reason": "stringstri",
- "amount": 0,
- "as_credits": true,
- "existing_credit_refund_handling_strategy": "keep"
}
{- "code": 0,
- "data": {
- "refund_id": 1,
- "wallet_id": 1
}
}
Return income summary of the requested period, in the requested currency.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
currency required | string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" Example: currency=EUR The currency in which to convert the amounts. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
payment_account_id | string^ppa_[a-zA-Z0-9]{7}$ The identifier of the payment account to use as a filter. Not giving this parameters returns stats for all payment accounts. |
{- "code": 0,
- "data": {
- "total_vat": 0,
- "total_w_vat": 0,
- "payment_provider_fees": 0,
- "total_refund": 0,
- "total_refund_vat": 0,
- "total_refund_fees": 0,
- "vehicle_count": 0,
- "vehicle_availability": 1
}
}
Return income sources of the requested period, in the requested currency.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
currency required | string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" Example: currency=EUR The currency in which to convert the amounts. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
payment_account_id | string^ppa_[a-zA-Z0-9]{7}$ The identifier of the payment account to use as a filter. Not giving this parameters returns stats for all payment accounts. |
{- "code": 0,
- "data": {
- "offers": [
- {
- "name": "string",
- "price": 0,
- "converted_price": 0,
- "count": 0,
- "sum": 0,
- "converted_sum": 0,
- "currency": "string"
}
], - "passes_purchases": [
- {
- "name": "string",
- "price": 0,
- "converted_price": 0,
- "count": 0,
- "sum": 0,
- "converted_sum": 0,
- "currency": "string"
}
], - "subscriptions": [
- {
- "name": "string",
- "price": 0,
- "converted_price": 0,
- "count": 0,
- "sum": 0,
- "converted_sum": 0,
- "currency": "string"
}
], - "passes": [
- {
- "name": "string",
- "duration": 0,
- "count": 0,
- "activation": 0
}
], - "trip_payments": {
- "count": 0,
- "sum": 0
}
}
}
Return income distribution by day of the week of the requested period, in the requested currency.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
currency required | string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" Example: currency=EUR The currency in which to convert the amounts. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
payment_account_id | string^ppa_[a-zA-Z0-9]{7}$ The identifier of the payment account to use as a filter. Not giving this parameters returns stats for all payment accounts. |
{- "code": 0,
- "data": [
- {
- "dow": 6,
- "value": 0
}
]
}
Return income details by day of the requested period, in the requested currency.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
currency required | string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" Example: currency=EUR The currency in which to convert the amounts. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
payment_account_id | string^ppa_[a-zA-Z0-9]{7}$ The identifier of the payment account to use as a filter. Not giving this parameters returns stats for all payment accounts. |
{- "code": 0,
- "data": [
- {
- "date": "2019-08-24",
- "value": 0
}
]
}
Return the list of payment accounts of the given networks for filters.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "payment_account_id": "string",
- "provider_name": "stripe"
}
]
}
Return trips made on specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
primary_key_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the trip identifier. |
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | integer >= 1 Identifier of the last trip on the current page, used to request the next page. |
sort_by | string Enum: "start_date" "end_date" "duration" "distance" Custom sort key. |
sort_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the custom sort key. |
state | Array of strings Items Enum: "finished" "running" "on-hold" "cancelled" Examples:
States of the trip to show. |
start_date_min | string <datetime> The minimum start date of trips to show. |
start_date_max | string <datetime> The maximum start date of trips to show. |
end_date_min | string <datetime> The minimum end date of trips to show. |
end_date_max | string <datetime> The maximum end date of trips to show. |
trip_id_min | integer >= 1 The minimum trip id to show. |
trip_id_max | integer >= 1 The maximum trip id to show. |
serial_number | string [ 1 .. 10 ] characters Filter by serial number of the rented vehicle. |
model_name | string [ 1 .. 20 ] characters Filter by model of the rented vehicle. |
demo | boolean Whether to show only demonstration or non-demonstration trips. |
string What the user email should contains. | |
user_id | integer >= 1 The identifier of the user to get trips of. |
cluster_start_name | string [ 1 .. 50 ] characters What the name of the starting cluster should contains. |
cluster_start_id | integer >= 1 The identifier of the starting cluster of trips to get. |
cluster_end_name | string [ 1 .. 50 ] characters What the name of the ending cluster should contains. |
cluster_end_id | integer >= 1 The identifier of the ending cluster of trips to get. |
duration_min | integer >= 0 Minimum duration of trips to get (in seconds). |
duration_max | integer >= 0 Maximum duration of trips to get (in seconds). |
distance_min | integer >= 0 Minimum traveled distance of trips to get (in meters). |
distance_max | integer >= 0 Maximum traveled distance of trips to get (in meters). |
{- "code": 0,
- "data": [
- {
- "trip_id": 1,
- "state": "finished",
- "start_date": "string",
- "end_date": "string",
- "billing_time_stop": "string",
- "vehicle_id": 1,
- "serial_number": "string",
- "model_name": "string",
- "model_type": "kick-scooter",
- "user_id": 1,
- "user_email": "user@example.com",
- "user_organization_name": "string",
- "user_organization_id": 1,
- "currency": "EUR",
- "cost": 0,
- "duration": 0,
- "distance": 0,
- "network_id": 1,
- "network_name": "string",
- "demo": true,
- "cluster_start_name": "string",
- "cluster_end_name": "string",
- "cluster_start_id": 1,
- "cluster_end_id": 1,
- "spot_start_number": 1,
- "spot_end_number": 1,
- "spot_start_id": 1,
- "spot_end_id": 1,
- "balancing_discount": 0,
- "passes": [
- 1
], - "user_subscription_id": 1
}
], - "total": 0
}
Return the detail of a trip.
id required | integer >= 1 Identifier of trip to get the detail of. |
{- "code": 0,
- "data": {
- "coords": {
- "lat": -90,
- "lng": -180,
- "date": "2019-08-24T14:15:22Z"
}, - "billing_detail": [
- {
- "type": "subscription",
- "details": {
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z",
- "user_subscription_id": 1
}
}
], - "organization_billing_detail": [
- {
- "type": "unlock-included",
- "details": {
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z",
- "organization_paid_ratio": 1
}
}
], - "incomplete_billing_lines": true,
- "used_wallets": [
- {
- "wallet_id": 1,
- "amount": 0.001,
- "source": "purchase",
- "currency": "EUR",
- "original_amount": 0.0001
}
], - "on_hold_ranges": [
- [
- "string",
- "string"
]
], - "on_hold_since": "string",
- "battery_level_start": 100,
- "battery_level_end": 100,
- "lock_id": 1,
- "lock_type": 0,
- "booking_id": "string",
- "booked_since": "string",
- "additional_charges": [
- {
- "trip_additional_charge_id": "string",
- "amount": 0,
- "source": "default_payment_method",
- "currency": "EUR",
- "reason": "stringstringstringst",
- "proofs": [
- "string"
], - "state": "created",
- "creation_date": "string",
- "user_id": 1,
- "user_email": "user@example.com",
- "type_name": "string",
- "transaction_id": 1
}
]
}
}
Set the trip billing stop date, do not set a date to erase a previous stop date.
id required | integer >= 1 Identifier of trip to stop the billing of. |
Date to set.
date required | string or null <date-time> The date at which to stop the billing. |
{- "date": "2019-08-24T14:15:22Z"
}
{- "code": 0
}
Bill and additional charge for this trip.
id required | integer >= 1 Identifier of trip to charge. |
Info about the charge.
additional_charge_type_id required | string^act_[0-9a-zA-Z]{7}$ The identifier of the additional charge type. |
source required | string (TripAdditionalChargeSource) Enum: "default_payment_method" "pre_auth" "credits" Where the trip additional charge will be billed. |
amount required | number [ 0.001 .. 999999 ] The amount of the additional charge. |
reason required | string [ 20 .. 500 ] characters The reason for the additional charge. |
{- "additional_charge_type_id": "string",
- "source": "default_payment_method",
- "amount": 0.001,
- "reason": "stringstringstringst"
}
{- "code": 0
}
Retry to bill and additional charge that failed and can be retried.
id required | integer >= 1 Identifier of trip to charge. |
Info about the charge.
trip_additional_charge_id required | string^tac_[0-9a-zA-Z]{7}$ The identifier of the trip additional charge. |
{- "trip_additional_charge_id": "string"
}
{- "code": 0
}
Put the trip on hold by locking the vehicle.
id required | integer >= 1 Identifier of trip to put on hold. |
Force when vehicle lock fails
force | boolean Force locking the vehicle. |
{- "force": true
}
{- "code": 0
}
Return number of trips and unique users grouped by day, week, month or quarter (depending on the period between the requested dates).
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": [
- {
- "date": "2022 Q2",
- "trips": 3463,
- "unique_users": 456
}
]
}
Return usage stats (total trips, unique users, rented vehicle ; total, average, median and max distance of trips ; total, average median and max duration of trips) in the requested period.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": {
- "trips": 0,
- "unique_users": 0,
- "rented_vehicles": 0,
- "avg_trips_by_day": 0,
- "avg_users_by_day": 0,
- "avg_vehicles_by_day": 0,
- "distance_sum": 0,
- "distance_max": 0,
- "distance_avg": 0,
- "distance_median": 0,
- "duration_sum": 0,
- "duration_max": 0,
- "duration_avg": 0,
- "duration_median": 0,
- "vehicle_count": 0,
- "vehicle_availability": 1
}
}
Return number of trips by day of the week in the requested period.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": [
- {
- "dow": 6,
- "value": 0
}
]
}
Return number of trips by time of day in the requested period.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": [
- {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}, - {
- "time_of_day": "string",
- "count": 0
}
]
}
Return number of trips by range of distance and payment mode in the requested period.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": [
- {
- "range_min": 0,
- "range_max": 500,
- "paid_mode": "minute",
- "count": 45
}, - {
- "range_min": 500,
- "range_max": 1000,
- "paid_mode": "minute",
- "count": 23
}, - {
- "range_min": 500,
- "range_max": 1000,
- "paid_mode": "pass",
- "count": 4
}, - {
- "range_min": 1000,
- "range_max": 2000,
- "paid_mode": "minute",
- "count": 23
}
]
}
Return number of trips by range of duration and payment mode in the requested period.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": [
- {
- "range_min": 0,
- "range_max": 300,
- "paid_mode": "minute",
- "count": 32
}, - {
- "range_min": 300,
- "range_max": 900,
- "paid_mode": "minute",
- "count": 21
}, - {
- "range_min": 900,
- "range_max": 1800,
- "paid_mode": "pass",
- "count": 34
}, - {
- "range_min": 1800,
- "range_max": 3600,
- "paid_mode": "minute",
- "count": 234
}
]
}
Return number of started / ended for each station in the requested period.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": [
- {
- "cluster_name": "string",
- "latitude": -90,
- "longitude": -180,
- "start_trips_count": 0,
- "end_trips_count": 0
}
]
}
Return the list of organizations present on the requested networks for which the user has permission.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "organization_id": 1,
- "organization_name": "string"
}
]
}
Return number of trips and unique users.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
organizations | Array of integers[ items >= 1 ] Examples:
Filter by identifier of organizations of which to get trips. Set to 'null' to get trips from user without organization. Ignore to get trips from all users. |
{- "code": 0,
- "data": [
- {
- "date": "2024-05-27",
- "trips": 3463,
- "unique_users": 456
}
]
}
Return users of specified networks. A user belongs to a network from the moment he interacts with (consult offers, make a trip).
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
primary_key_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the user identifier. |
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | integer >= 1 Identifier of the last user on the current page, used to request the next page. |
sort_by | string Enum: "register_at" "last_activity" "trip_count" Custom sort key. |
user_id_min | integer >= 1 Filter the minimum user's identifier. |
user_id_max | integer >= 1 Filter the maximum user's identifier. |
string >= 1 Filter by email. | |
lastname | string [ 1 .. 50 ] Filter by last name. |
firstname | string [ 1 .. 50 ] Filter by first name |
register_at_min | string <datetime> Filter the minimum register date. |
register_at_max | string <datetime> Filter the maximum register date. |
last_activity_min | string <datetime> Filter the minimum last activity date. |
last_activity_max | string <datetime> Filter the maximum last activity date. |
organization_name | string [ 1 .. 255 ] Filter by organization name |
blocked | boolean Filter by user's blocked |
trip_count_min | number >= 0 Filter the minimum trip . |
trip_count_max | number >= 0 Filter the maximum trip. |
label_name | string [ 1 .. 20 ] Filter by label name. |
phone_number | string [ 1 .. 20 ] Filter by phone number. |
currency required | string (Currency) Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BRL" "BSD" "BTN" "BWP" "BYN" "BYR" "BZD" "CAD" "CDF" "CHF" "CLF" "CLP" "CNY" "COP" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GGP" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "IMP" "INR" "IQD" "IRR" "ISK" "JEP" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LTL" "LVL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRO" "MUR" "MVR" "MWK" "MXN" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "STD" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "UYU" "UZS" "VEF" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XCD" "XDR" "XOF" "XPF" "YER" "ZAR" "ZMK" "ZMW" "ZWL" Example: currency=EUR The currency in which to convert the amounts. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
without_network required | boolean Show users that hasn't interact with any networks for the moment. |
{- "code": 0,
- "data": [
- {
- "user_id": 1,
- "email": "string",
- "lastname": "string",
- "firstname": "string",
- "register_at": "string",
- "has_payment_method": true,
- "last_activity": "string",
- "organization_name": "string",
- "blocked": true,
- "total_paid": 0.1,
- "trip_count": 0,
- "networks": [
- {
- "network_id": 1,
- "network_name": "string"
}
], - "label_name": "string",
- "phone_number": "string"
}
], - "total": 0
}
Create a new user. Created user will receive an email to complete its profile and then he will be able to login.
Create user parameters.
email required | string <email> The user's email address. |
firstname required | string [ 1 .. 50 ] characters The user's firstname. |
lastname required | string [ 1 .. 50 ] characters The user's lastname. |
lang required | string/^[a-zA-Z]{2}$/ The user's language. |
phone_number | string/^\+\d{1,4} ?\d{3,14}$/ The user's phone number in E.164 format. Optional, will not be verified. |
network_id required | integer >= 1 The network identifier on which to link the user. |
app_label_id required | integer >= 1 The app label identifier. |
{- "email": "user@example.com",
- "firstname": "string",
- "lastname": "string",
- "lang": "string",
- "phone_number": "string",
- "network_id": 1,
- "app_label_id": 1
}
{- "code": 0,
- "data": {
- "user_id": 1
}
}
Get the badges of the specified user.
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": [
- {
- "badge_id": 1,
- "serial": "string",
- "name": "string",
- "creation_date": "string"
}
]
}
Start a badge link for the specified user and station.
id required | integer >= 1 The user's identifier. |
Information about the badge registration.
cluster required | integer >= 1 The station used for the registration of the badge. |
name required | string [ 1 .. 30 ] characters The name of the badge. |
spot_id | integer >= 1 Identifier of the spot on which the user will put his badge to link it to his account. Only for station v6. |
{- "cluster": 1,
- "name": "string",
- "spot_id": 1
}
{- "code": 0
}
Return the user who has block given user and since when he is blocked.
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": {
- "reason": "string",
- "blocker_id": 0,
- "firstname": "string",
- "lastname": "string",
- "date": "string",
- "email": "user@example.com"
}
}
Block the specified user with the given reason.
id required | integer >= 1 Identifier of the user. |
Block user parameters.
reason required | string [ 3 .. 1000 ] characters Reason to block the user. |
{- "reason": "string"
}
{- "code": 0
}
Get the devices of the specified user.
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": [
- {
- "device_id": 1,
- "os": "Android",
- "model": "string",
- "app_version": "string",
- "last_login": "string",
- "has_push_notification": true
}
]
}
Send a message to the specified user
id required | integer >= 1 Identifier of the user. |
Message data.
message required | string [ 3 .. 1000 ] characters Content of the message to send to the user. |
{- "message": "string"
}
{- "code": 0
}
Search for user with a given email.
email required | string [ 3 .. 200 ] characters Search value. |
{- "code": 0,
- "data": [
- {
- "user_id": 1,
- "email": "user@example.com",
- "label_name": "string"
}
]
}
Return all passes assigned to a user.
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": [
- {
- "pass_id": 1,
- "available_time": 0,
- "total_time": 0,
- "purchase_date": "2019-08-24T14:15:22Z",
- "activation_date": "2019-08-24T14:15:22Z",
- "transaction_id": 1,
- "validity": "day"
}
]
}
Get payment providers and associated payment methods of the specified user.
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": [
- {
- "payment_account_id": "string",
- "provider": "string",
- "provider_user_id": "string",
- "payment_methods": [
- {
- "type": "card",
- "allow_pre_authorizations": true,
- "provider_method_id": "string",
- "user_payment_method_id": "string",
- "creation_date": "string",
- "deletion_date": "string",
- "details": {
- "card_provider": "string",
- "alias": "string",
- "expiration_date": "string",
- "fingerprint": "string",
- "funding": "credit",
- "wallet": "google_pay"
}, - "default_on": [
- {
- "network_id": 1,
- "name": "string"
}
]
}
]
}
]
}
Delete the specified payment method of the user. If the default payment method is deleted, a new default payment method is selected automatically.
id required | integer >= 1 Identifier of the user. |
user_method_id required | integer >= 1 Identifier of the user payment method. |
{- "code": 0
}
Get the list of permissions granted to the specified user.
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": [
- {
- "organizational_unit_name": "string",
- "permissions": [
- {
- "perm_key": "string",
- "role_key": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "granted_by": 1,
- "granted_by_email": "string",
- "write": true
}
]
}
]
}
Grant a permission to the specified user. If the user already has the permission but with a different end date, it will be overwritten. Granter needs to have the permission he want to grant.
id required | integer >= 1 Identifier of the user. |
Permission data.
start_date required | string <date-time> Start date of the permission / role. |
end_date required | string or null <date-time> When the permission / role will expire. Null to grant forever. |
organizational_unit required | integer or null >= 1 The identifier of the organizational unit to which to give the permission. Can be null for global permission. |
write required | boolean Grant the permission with write modifier. |
perm_key required | string Enum: "networks.manage" "vehicles.register" "maintenances" "unlock.admin" "networks.show.private" "dashboard.access" "users.list" "demonstration" "stations" "stations.advanced" "users.permissions" "users.block" "users.credits" "transactions" "developer" "emails.newsletters" "emails.transactional" "emails.mailing.lists" "users.support" "trips" "stocks.vehicles" "stocks.manage" "vehicles.manage" "notifications" "vehicles.alerts" "terms.of.use" "organizations" "organizations.enrolment" "users.badges" "virtual.parking" "app.debug" "roles" "third.parties" "invoices" "users.passes" "pricing" "finance" "usage.statistics" "feature.beta" "dashboard.access.logs" "faq" "app.label" "technical.statistics" "vehicles.decommission" "bookings" "networks.create" "payment.accounts" The key of the permission to give. |
{- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "organizational_unit": 1,
- "write": true,
- "perm_key": "networks.manage"
}
{- "code": 0
}
Revoke a permission from the specified user. The user needs to have the permission he want to revoke.
id required | integer >= 1 Identifier of the user. |
perm_key required | string (Permission) Enum: "networks.manage" "vehicles.register" "maintenances" "unlock.admin" "networks.show.private" "dashboard.access" "users.list" "demonstration" "stations" "stations.advanced" "users.permissions" "users.block" "users.credits" "transactions" "developer" "emails.newsletters" "emails.transactional" "emails.mailing.lists" "users.support" "trips" "stocks.vehicles" "stocks.manage" "vehicles.manage" "notifications" "vehicles.alerts" "terms.of.use" "organizations" "organizations.enrolment" "users.badges" "virtual.parking" "app.debug" "roles" "third.parties" "invoices" "users.passes" "pricing" "finance" "usage.statistics" "feature.beta" "dashboard.access.logs" "faq" "app.label" "technical.statistics" "vehicles.decommission" "bookings" "networks.create" "payment.accounts" The key of the permission to revoke. |
organizational_unit | integer >= 1 The identifier of the organizational unit. Omit to revoke a global permission. |
{- "code": 0
}
Get the profile of the specified user
id required | integer >= 1 Identifier of the user. |
{- "code": 0,
- "data": [
- {
- "label_name": "string",
- "email": "user@example.com",
- "registration_date": "string",
- "deletion_date": "string",
- "marked_for_deletion_after": "2019-08-24T14:15:22Z",
- "password_login": true,
- "google_login": true,
- "facebook_login": true,
- "apple_login": true,
- "two_factor_enabled": true,
- "lastname": "string",
- "firstname": "string",
- "language": "string",
- "phone_number": "string",
- "organization_name": "string",
- "organization_id": 0,
- "networks_name": [
- "string"
], - "confirmed_email": "string",
- "purchase_count": 0,
- "trip_count": 0,
- "blocked": true,
- "last_login": "string",
- "total_paid": 0,
- "pre_auth_bank_guarantees_disabled_by": 1,
- "pre_auth_bank_guarantees_disabled_by_email": 1,
- "registration_completed": true,
- "has_billing_address": true
}
]
}
Get the user report of a specific user
id required | integer >= 1 Identifier of the user. |
limit | integer [ 5 .. 20 ] The maximum reports to return. |
{- "code": 0,
- "data": [
- {
- "date": "string",
- "resolved": true,
- "type": "string",
- "report_id": 1,
- "title": "string",
- "answered": true
}
]
}
Grant a role to the specified user. If the user already has the role but with a different end date, it will be overwritten. Granter needs to have the role he want to grant, or all permission of the role.
id required | integer >= 1 Identifier of the user. |
Role data.
start_date required | string <date-time> Start date of the permission / role. |
end_date required | string or null <date-time> When the permission / role will expire. Null to grant forever. |
organizational_unit required | integer or null >= 1 The identifier of the organizational unit to which to give the permission. Can be null for global permission. |
write required | boolean Grant the permission with write modifier. |
role_key required | string [ 3 .. 50 ] characters The key of the role. |
{- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "organizational_unit": 1,
- "write": true,
- "role_key": "string"
}
{- "code": 0
}
Revoke a role from the specified user. The user needs to have the role he want to revoke, or all permission of the role.
id required | integer >= 1 Identifier of the user. |
role_key required | string [ 3 .. 50 ] characters The key of the role to revoke. |
organizational_unit | integer >= 1 The identifier of the organizational unit. Omit to revoke a global permission. |
{- "code": 0
}
Return non-empty or empty wallets for the specified user on the given networks.
id required | integer >= 1 The user's identifier of which to get wallets. |
get_empty | boolean Whether to get full or empty wallets. |
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "wallet_id": 1,
- "creation_date": "2019-08-24T14:15:22Z",
- "original_amount": 0.0001,
- "current_amount": 0.0001,
- "currency": "string",
- "source": "purchase",
- "transaction_id": 1,
- "trip_id": 1,
- "discount_code_id": 1,
- "sponsor_user_id": 1,
- "user_pass_id": 1,
- "network_id": 1,
- "network_name": "string",
- "booking_id": "string",
- "trip_additional_charge_id": "string",
- "usages": [
- {
- "amount": 0.0001,
- "trip_id": 1,
- "user_pass_id": 1,
- "refund_id": 1,
- "debt_wallet_id": 1,
- "deletion_record_id": 1,
- "booking_id": "string",
- "trip_additional_charge_id": "string",
- "date": "string"
}
]
}
]
}
Create a wallet for the user given.
id required | integer >= 1 Identifier of the user. |
Informations to create a wallet.
amount required | number >= 0.01 The amount to add. |
network_id required | integer >= 1 The network on which to give the gift. Its currency will be used. |
reason required | string [ 3 .. 1000 ] characters Why this amount is added to the user wallet. |
user_message | string [ 3 .. 1000 ] characters Message send to the user. |
{- "amount": 0.01,
- "network_id": 1,
- "reason": "string",
- "user_message": "string"
}
{- "code": 0,
- "data": {
- "wallet_id": 1
}
}
Delete the specified wallet of a user.
id required | integer >= 1 Identifier of the user. |
wallet required | integer >= 1 Identifier of the wallet. |
reason required | string [ 3 .. 1000 ] characters Reason to delete the wallet. |
{- "code": 0
}
Get the sum of all wallet of the specified user per network.
id required | integer >= 1 The identifier of the wallet. |
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "total": "string",
- "network_id": 1,
- "network_name": "string",
- "currency": "EUR"
}
]
}
Get some statistics of the user for the selected networks.
id required | integer >= 1 The identifier of the wallet. |
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "last_gift_amount": "string",
- "last_gift_date": "string",
- "total_gift_amount": "string",
- "purchase_count": 0,
- "purchase_sum": "string",
- "trip_count": 0,
- "trip_duration_sum": 0,
- "traveled_distance": 0,
- "network_id": 1,
- "network_name": "string",
- "currency": "EUR"
}
]
}
Get the list of usable or currently used bank guarantees of a user.
id required | integer >= 1 The user's identifier of which to get bank guarantees. |
{- "code": 0,
- "data": [
- {
- "pre_auth_id": "string",
- "provider_id": "string",
- "amount": "50.000",
- "currency": "string",
- "creation_date": "2019-08-24T14:15:22Z",
- "trip_id": 1,
- "serial_number": "string",
- "keep_after_trip": true,
- "expire_at": "2019-08-24T14:15:22Z",
- "network_id": 1,
- "network_name": "string"
}
]
}
Enable or disable pre auth bank guarantee for the user. He still need to have a valid payment method to start trips.
id required | integer >= 1 Identifier of the user. |
Toggle state.
disabled required | boolean Wether or not the pre auth guarantee are disabled for this user. |
{- "disabled": true
}
{- "code": 0
}
Get the list of refunded, failed or used bank guarantees of a user.
id required | integer >= 1 The user's identifier of which to get bank guarantees. |
primary_key_dir | string Default: "DESC" Enum: "ASC" "DESC" Sort direction of the pre auth identifier. |
page_size | integer [ 10 .. 500 ] Default: 20 The maximum items to return. |
last_primary_key | string Identifier of the last pre auth on the current page, used to request the next page. |
sort_by | string Enum: "creation_date" "amount" Custom sort key. |
pre_auth_id | string^pau_[0-9a-zA-Z]{7}$ Filter the pre auth identifier. |
provider_id | string non-empty Filter by a partial id of the pre auth on the provider system. |
amount_min | number Filter by a minimum amount. |
amount_max | number Filter by a maximum amount. |
creation_date_min | string <datetime> Filter by a minimal creation date. |
creation_date_max | string <datetime> Filter by a maximal creation date. |
state | string Enum: "used" "refunded" "payment-failed" Filter by the pre auth current state. |
status_date_min | string <datetime> Filter by a minimal status date. |
status_date_max | string <datetime> Filter by a maximum status date. |
{- "code": 0,
- "data": [
- {
- "pre_auth_id": "string",
- "provider_id": "string",
- "amount": "50.000",
- "currency": "string",
- "creation_date": "2019-08-24T14:15:22Z",
- "keep_after_trip": true,
- "state": "usable",
- "network_id": 1,
- "network_name": "string",
- "status_date": "2019-08-24T14:15:22Z",
- "transaction_id": 1,
- "transaction_amount": "350.000"
}
], - "total": 0
}
Get the last 10 actions (unlock request, trips, transactions) done by the user.
id required | integer >= 1 Identifier of the user. |
before_date | string <date-time> The date of the oldest item the client currently has, to get the items coming before it. |
after_date | string <date-time> The date of the oldest item the client wants to recover. |
{- "code": 0,
- "data": [
- {
- "name": "unlock",
- "object_id": 1,
- "date": "2019-08-24T14:15:22Z",
- "state": "created",
- "vehicle_id": 1,
- "description": "string",
- "data": { }
}
]
}
Link a user to an organization.
id required | integer >= 1 Identifier of the user. |
Informations to create a wallet.
organization required | integer >= 1 The identifier of the organization to which the user will be linked. |
force | boolean True to unlink the current user's organization. |
{- "organization": 1,
- "force": true
}
{- "code": 0,
- "data": {
- "wallet_id": 1
}
}
Get the last 10 mails sent to the user.
id required | integer >= 1 Identifier of the user. |
before_date | string <date-time> The date of the oldest element that the client has, to get the elements coming before it. |
{- "code": 0,
- "data": [
- {
- "mail_uuid": "string",
- "template_name": "string",
- "target_lang": "string",
- "sent_langs": [
- "string"
], - "sent": "string",
- "delivered": true,
- "bounce": true,
- "bounce_type": "string",
- "opened": "string",
- "error": true,
- "context": "TRANSACTIONAL",
- "complaints": true,
- "newsletter_id": 1
}
]
}
Get the last 10 push notifications sent to the user.
id required | integer >= 1 Identifier of the user. |
before_date | string <date-time> The date of the oldest element that the client has, to get the elements coming before it. |
{- "code": 0,
- "data": [
- {
- "notification_id": "string",
- "sent_date": "string",
- "device_id": "string",
- "details": {
- "type": "string"
}
}
]
}
Get the api requests that the user made.
id required | integer >= 1 Identifier of the user. |
offset | integer >= 0 The page number. Defaults to 0. |
items | integer >= 1 The number of items to returns. Defaults to 20. |
{- "code": 0,
- "data": [
- {
- "date": "string",
- "target_path": "string",
- "query": { },
- "body": { },
- "verb": "string",
- "user_agent": "string",
- "ip": "string",
- "http_code": 0,
- "knot_code": 0,
- "process_time": 0
}
]
}
Return gift history of specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "receiver_user_id": 1,
- "receiver_user_email": "string",
- "donor_user_id": 1,
- "donor_user_email": "string",
- "date": "string",
- "amount": 0,
- "reason": "string",
- "user_message": "string",
- "currency": "EUR",
- "source": "gift-wallet"
}
]
}
Remove a pass from a user.
id required | integer >= 1 Identifier of the user pass. |
refund | boolean True if the pass is to be refunded to the user. |
{- "code": 0
}
Disable a Pass so that it can be activated again. Optionally reset its available time.
id required | integer >= 1 Identifier of the user pass. |
Reset user pass.
reset | boolean True if the pass needs to be reset. |
{- "reset": true
}
{- "code": 0
}
Fetch the list of vehicles for the specific network.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "serial_number": "string",
- "network_name": "string",
- "network_id": 1,
- "model_name": "string",
- "model_type": "kick-scooter",
- "manufacturer": "string",
- "svaas_id": 1,
- "registration_date": "string",
- "battery": 100,
- "state": "rented",
- "email": "user@example.com",
- "user_id": 1,
- "location": {
- "lat": -90,
- "lng": -180,
- "cluster_name": "string",
- "cluster_id": 1,
- "spot_id": 1,
- "spot_number": 1,
- "stock_id": 1,
- "stock_name": "string"
}, - "last_trip_end_date": "2019-08-24T14:15:22Z",
- "vehicle_id": 1,
- "iot": {
- "freefloat": true,
- "imei": "stringstringstr",
- "online": true,
- "odometer": 0
}, - "maintenances": {
- "info": 0,
- "low": 0,
- "high": 0
}, - "trips": 0,
- "available": true,
- "availability": 1
}
]
}
Fetch the list of decommissioned vehicles for specified networks.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
{- "code": 0,
- "data": [
- {
- "serial_number": "string",
- "network_name": "string",
- "network_id": 1,
- "model_name": "string",
- "model_type": "kick-scooter",
- "manufacturer": "string",
- "svaas_id": 1,
- "registration_date": "string",
- "vehicle_id": 1,
- "iot": {
- "imei": "stringstringstr",
- "odometer": 0
}, - "trips": 0,
- "age": 0,
- "decommission_date": "string",
- "reason": "lost-or-stolen",
- "comment": "string",
- "amount": 0.1,
- "currency": "string",
- "user_id": 1,
- "email": "user@example.com"
}
]
}
Generate a QR code for the given vehicle serial number.
serial required | string/^[a-zA-Z0-9]{6,10}$/ Serial number to print on the QR code. |
{- "code": -39999999,
- "message": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
Generate sheet with QR codes for vehicles generated for the given parameters.
prefix required | string/^[A-Z][A-Z0-9]{0,6}$/ Prefix of the QR codes. |
begin_id required | integer >= 0 First id of the vehicle to generate, will be incremented for every QR code. |
width_in_cm required | number >= 0 Width of the sheet in centimeters. |
height_in_cm required | number >= 0 Height of the sheet in centimeters. |
{- "code": -39999999,
- "message": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
Return the list of used serial number from the given list.
serials required | Array of strings[ items >= 1 ] Examples:
List of serial number to check. |
{- "code": 0,
- "data": [
- "string"
]
}
Fetch the detail of the specified vehicle.
id required | integer >= 1 Identifier of the vehicle. |
{- "code": 0,
- "data": {
- "serial_number": "string",
- "network_name": "string",
- "network_id": 1,
- "model_name": "string",
- "model_type": "kick-scooter",
- "manufacturer": "string",
- "svaas_id": 1,
- "registration_date": "string",
- "battery": 100,
- "state": "rented",
- "email": "user@example.com",
- "user_id": 1,
- "location": {
- "lat": -90,
- "lng": -180,
- "cluster_name": "string",
- "cluster_id": 1,
- "spot_id": 1,
- "spot_number": 1,
- "stock_id": 1,
- "stock_name": "string"
}, - "last_trip_end_date": "2019-08-24T14:15:22Z",
- "iot": {
- "freefloat": true,
- "imei": "stringstringstr",
- "connected_since": "2019-08-24T14:15:22Z",
- "locked": true,
- "last_response": "string",
- "last_location_date": "string"
}, - "maintenance_level": "info",
- "last_shutdown_date": "2019-08-24T14:15:22Z",
- "last_shutdown_user_id": 1,
- "last_shutdown_user_email": "user@example.com",
- "last_known_speed": 0,
- "charging": true,
- "decommission_date": "string",
- "external_locks": [
- {
- "external_lock_id": 0,
- "model": "string",
- "type": "u",
- "serial_number": "string",
- "code": "string",
- "register_date": "string",
- "last_code_update": "string"
}
], - "home_cluster_id": 1,
- "home_cluster_name": "string"
}
}
Decommission a vehicle.
id required | integer >= 1 Identifier of the vehicle. |
reason required | string Enum: "lost-or-stolen" "sold" "irreparable" "economical" Why the vehicle is decommissioned. |
comment | string [ 1 .. 200 ] characters Optional comment on decommission. |
amount | number <float> Optional amount when the vehicle is sold, or the cost (negative amount) when the vehicle is recycled. Currency is the currency of the last vehicle's network. |
{- "code": 0
}
Generate the QR code for the given vehicle.
id required | integer >= 1 Identifier of the vehicle. |
{- "code": -39999999,
- "message": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
Change whether or not the vehicle can be used in free floating.
id required | integer >= 1 Identifier of the vehicle. |
Info about the network.
enabled required | integer >= 1 True to activate the free floating feature. |
{- "enabled": 1
}
{- "code": 0
}
Change the current network of a vehicle.
id required | integer >= 1 Identifier of the vehicle. |
Info about the network.
network_id required | integer >= 1 Identifier of the new network for the vehicle. |
{- "network_id": 1
}
{- "code": 0
}
Fetch the statistic of the specified vehicle.
id required | integer >= 1 Identifier of the vehicle. |
{- "code": 0,
- "data": {
- "trips": 0,
- "rent_time": 0,
- "odometer": 0,
- "maintenances": {
- "info": 0,
- "low": 0,
- "high": 0
}
}
}
Fetch the timeline (trip, parking, maintenance move) of the specified vehicle.
id required | integer >= 1 Identifier of the vehicle. |
before_date | string <date-time> The date of the oldest element that the client has, to get the elements coming before it. |
{- "code": 0,
- "data": [
- {
- "event_type": "parked",
- "date": "2019-08-24T14:15:22Z",
- "user_id": 1,
- "user_email": "user@example.com",
- "spot_id": 1,
- "spot_number": 1,
- "cluster_name": "string",
- "cluster_id": 1,
- "network_name": "string",
- "network_id": 1
}
]
}
Route to get all maintenances (current and old one) of a vehicle.
id required | integer >= 1 Identifier of the vehicle. |
lang required | string = 2 characters The lang in which to get the maintenance types localized. |
{- "code": 0,
- "data": [
- {
- "maintenance_id": 1,
- "maintenance_type": "string",
- "comment": "string",
- "start_date": "string",
- "started_by": "user@example.com",
- "started_by_uid": 1,
- "severity": "info",
- "automatic_code_description": "string",
- "report_id": 0,
- "stop_date": "string",
- "stopped_by": "user@example.com",
- "stopped_by_uid": 1
}
]
}
Route to get current alerts of a vehicle.
id required | integer >= 1 Identifier of the vehicle. |
{- "code": 0,
- "data": [
- {
- "alert_id": 1,
- "alert_type": "unexpected-unlock",
- "alert_severity": "low",
- "creation_date": "string",
- "other_occurrences": [
- "string"
], - "resolved_at": "string"
}
]
}
Change the current home cluster of a vehicle.
id required | integer >= 1 Identifier of the vehicle. |
Info about the cluster.
cluster_id | integer or null >= 1 Identifier of the new home cluster for the vehicle. |
{- "cluster_id": 1
}
{- "code": 0
}
Register an external lock on the given vehicle.
The lock information.
vehicle_id required | integer >= 1 The identifier of the vehicle on which the lock is installed. |
model required | string [ 1 .. 64 ] characters The model of the lock. |
type required | string (VehicleExternalLockType) Enum: "u" "foldable" "flexible" "chain" "frame" The type of the lock |
serial_number required | string [ 1 .. 64 ] characters The unique serial number of the lock. |
code required | string [ 1 .. 16 ] characters The code to open the lock. |
{- "vehicle_id": 1,
- "model": "string",
- "type": "u",
- "serial_number": "string",
- "code": "string"
}
{- "code": 0,
- "data": {
- "external_lock_id": 1
}
}
Change the access code of an external lock (still require a physical operation on the lock, this only change the displayed code in the application).
id required | integer >= 1 Identifier of the vehicle. |
The new code.
code required | string [ 1 .. 16 ] characters The new code. |
{- "code": "string"
}
{- "code": 0
}
Fetch the list of operational vehicles at a given date. The vehicle can have maintenance that make it unusable, but the vehicle is still in operation until its decommission.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
date required | string <date> The date at with to check. This will use the beginning of the day as a reference point. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "vehicle_id": 1,
- "vehicle_lease_id": 1,
- "serial_number": "string",
- "network_id": 1,
- "network_name": "string",
- "stored": true
}
]
}
Fetch the list of vehicles that were registered between two dates. The vehicle listed can also come from another network.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "vehicle_id": 1,
- "vehicle_lease_id": 1,
- "serial_number": "string",
- "network_id": 1,
- "network_name": "string",
- "start_date": "2019-08-24",
- "first_registration": true
}
]
}
Fetch the list of vehicles that were decommissioned between two dates. The vehicle listed can also have gone to another network.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "vehicle_id": 1,
- "vehicle_lease_id": 1,
- "serial_number": "string",
- "network_id": 1,
- "network_name": "string",
- "end_date": "2019-08-24",
- "decommissioned": true,
- "reason": "string",
- "comment": "string"
}
]
}
Fetch the list of vehicles that enter or left the stock between two dates.
networks required | Array of integers[ items >= 1 ] Examples:
Identifier of networks. |
start_date required | string <date> The start date of the period. |
end_date required | string <date> The end date of the period. Should be after the start_date. |
timezone required | string (Timezone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Fort_Nelson" "America/Fortaleza" "America/Glace_Bay" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Nuuk" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Velho" "America/Puerto_Rico" "America/Punta_Arenas" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Atyrau" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Barnaul" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Chita" "Asia/Choibalsan" "Asia/Colombo" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Famagusta" "Asia/Gaza" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kathmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qostanay" "Asia/Qyzylorda" "Asia/Riyadh" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Thimphu" "Asia/Tokyo" "Asia/Tomsk" "Asia/Ulaanbaatar" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yangon" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faroe" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/Perth" "Australia/Sydney" "Europe/Amsterdam" "Europe/Andorra" "Europe/Astrakhan" "Europe/Athens" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Kirov" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Saratov" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Ulyanovsk" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Wake" "Pacific/Wallis" "UTC" The timezone of the user making the request. |
{- "code": 0,
- "data": [
- {
- "vehicle_id": 1,
- "vehicle_lease_id": 1,
- "serial_number": "string",
- "network_id": 1,
- "network_name": "string",
- "event": "enter_stock",
- "date": "string"
}
]
}