API Documentation

Menu

Returns terms of use services

URL adresa: https://api.protect6.cz/terms

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data - Returns the text for terms of use

The protection of personal data result service

URL adresa: https://api.protect6.cz/policy

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data - Returns the text for the protection of personal data

Autorizace push notifikací

URL adresa: https://api.protect6.cz/notification

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
token - Token to the communication device, creates the application directly respectively plugin for PUSH notifications (mandatory entry)
type - It is necessary to specify the type of device: 0 - android 1 - apple (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Returns a list of all the notifications

URL adresa: https://api.protect6.cz/notification/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].user.id - User ID
data[].user.name - The name of the user
data[].user.thumb - The URL address of the user icon if it is specified
data[].user.abbr - The abbreviation of the name of the user on the 2 letters
data[].user.color - The color of the icon of the user
data[].desc - A description of the notifications, it's what is done
data[].date - The date of the acquisition notifications, always in a format according to the selected language of the user
data[].ip - IP address or device ID from which the notification specified
data[].product - Product ID to which belongs the notification
data[].url - It's about a QR code to product
data[].view - If it is 1, so already the user the notification of a saw, otherwise it is 0

Returns the number of unread notifications

URL adresa: https://api.protect6.cz/notification/count

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.count - Returns the number of unread notifications the user

Adds a new notification from the was neuspesne nacten product (use the moment the app does not have access to the internet)

URL adresa: https://api.protect6.cz/notification/add

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
unopen_code - The Url of the qr code, a product, or a QR code of the product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Otherwise the cas when it was not the jayzků last modified

URL adresa: https://api.protect6.cz/translate/update

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.update - Date of the last update of the texts in the format YYYY-MM-DD HH:ii:ss

Otherwise all the texts, which belong to the tablet

URL adresa: https://api.protect6.cz/translate/data

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[ID_TEXTU][ID_JAZYKU] - Returns the appropriate text in the field, where ID_TEXTU is a unique text number and LANGID is the identification in which the language of the current text is (e.g. en,cs,it, etc.)

Returns the lyrics to only one language

URL adresa: https://api.protect6.cz/translate/specific_lang

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[ID_TEXTU] - Returns the text for a specific language, ID_TEXTU is a unique number of the text

Function to upload file (upload file is based on the previous call and obtain variable UPLOAD_HASH)

URL adresa: https://api.protect6.cz/upload/UPLOAD_HASH

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Files data:

file - It is necessary to send the file in the respective formats (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

The total number of registered products

URL adresa: https://api.protect6.cz/count

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data - A number that specifies the number of registered products

The total number of stolen products

URL adresa: https://api.protect6.cz/count/steal

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data - A number that specifies the number of stolen products

Returns the QR code of the searched product, he can scan all systems

URL adresa: https://api.protect6.cz/get_qr_code

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.code - Unique QR code of the product, it may return an empty text

User login

URL adresa: https://api.protect6.cz/login

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
email - E-mail users to log into the system (mandatory entry)
password - The user's password to log into the system, the password is in SHA1 (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.email - If it is true, so is the error in the e-mail
error.password - If it is true, so is a bug in the password of the user

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
finish_user - True/False - If true, displays the page on the new registration/user must fill in at least name and change the password
data.user_id - User ID
data.user_name - The name of the user
data.user_abbr - The abbreviation of the name of the user on the 2 letters
data.user_icon - The URL address of the user icon if it is specified
data.user_color - The color of the icon of the user
data.session - The number of the session for the logged in user or the identifier of the

Sending forgotten password

URL adresa: https://api.protect6.cz/forgot

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
email - E-mail users to log into the system (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.email - If it is true, so is the error in the e-mail

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

User registration into the system

URL adresa: https://api.protect6.cz/signup

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
email - E-mail users to log into the system (mandatory entry)
password - The user's password to log into the system, the password is in text format, it must not be a HASH! (mandatory entry)
name - Full name of the user (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.email - If it is true, so is the error in the e-mail
error.password - If it is true, so is a bug in the password of the user
error.name - If it is true, is a mistake in the name of the user

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
finish_user - True/False - If true, displays the page on the new registration/user must fill in at least name and change the password
data.user_id - User ID
data.user_name - The name of the user
data.user_abbr - The abbreviation of the name of the user on the 2 letters
data.user_icon - The URL address of the user icon if it is specified
data.user_color - The color of the icon of the user
data.session - The number of the session for the logged in user or the identifier of the

Control of the product in the condition it's in

URL adresa: https://api.protect6.cz/check

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - The QR code of the product, which is used to control what state is the product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.id - ID produktu
data.qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data.qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data.ibeacon_active - True/False - If is true, so the product also has iBeacon, as defined
data.ibeacon - The identification number of the iBeacone device
data.serial_number - The serial number of the product
data.name - Product name
data.version - Version of the product
data.stolen - If the product is stolen then returns 1, otherwise 0
data.status - The current status of the product
data.date - Date of creation/manufacture of a product
data.photos[] - Field with the url addresses to photos of the product

Send a message to the owner of the product

URL adresa: https://api.protect6.cz/message

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
name - Name of the person who sends a message to the owner (mandatory entry)
email - E-mail the person who sends a message to the owner (mandatory entry)
phone - Phone the person who sent the message
text - The Text of the message, which is sent to the owner of the product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.email - If it is true, so is the error in the e-mail
error.name - If it is true, is a mistake in the name
error.phone - If this is true, then there is a fault in the phone
error.desc - If this is true, then there is an error in the text for the owner of the

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Search for a product in a stolen

URL adresa: https://api.protect6.cz/stolen

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
query - The serial number/QR code/product Name - searches in all types of records, if a match is not found (!!!if the user is logged in, so this variable does not work!!!) (mandatory entry)
partner - If you send the parameter, "OFF", so it searches only in its own DB products and is looking for in partner applications

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID produktu
data[].qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data[].qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data[].ibeacon_active - True/False - If is true, so the product also has iBeacon, as defined
data[].ibeacon - The identification number of the iBeacone device
data[].serial_number - The serial number of the product
data[].name - Product name
data[].version - Version of the product
data[].alt_name - Alternative product name
data[].alt_version - An alternative version of the product
data[].stolen - If the product is stolen then returns 1, otherwise 0
data[].address.info - Address where the product was reported as stolen
data[].address.lat - GPS locations where the product was reported as stolen - latitude
data[].address.lng - GPS locations where the product was reported as stolen - longitude
data[].status - The current status of the product
data[].date - Date of creation/manufacture of a product
data[].photos[] - Field with the url addresses to photos of the product

Search in the databízi products

URL adresa: https://api.protect6.cz/search

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
q - The serial number/QR code/product Name - searches in all types of records, if a match is not found (mandatory entry)
filter - Filtering by category IDS, each category are listed in the api commands /list/category

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID produktu
data[].qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data[].qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data[].ibeacon_active - True/False - If is true, so the product also has iBeacon, as defined
data[].ibeacon - The identification number of the iBeacone device
data[].serial_number - The serial number of the product
data[].name - Product name
data[].version - Version of the product
data[].category - The category ID of the product
data[].alt_name - Alternative product name
data[].alt_version - An alternative version of the product
data[].stolen - If the product is stolen then returns 1, otherwise 0
data[].status - The current status of the product
data[].date - Date of creation/manufacture of a product

Logout the logged on user from the system

URL adresa: https://api.protect6.cz/logout

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

For more information, you must the user fill out when prihlasi the first time into the system

URL adresa: https://api.protect6.cz/finish_user

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
password - The user's new password to log into the system, the password is in text format, it must not be a HASH! (mandatory entry)
name - Full name of the user (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.password - If it is true, so is a bug in the password of the user
error.name - If it is true, is a mistake in the name of the user

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.user_id - User ID
data.user_name - The name of the user
data.user_abbr - The abbreviation of the name of the user on the 2 letters
data.user_icon - The URL address of the user icon if it is specified
data.user_color - The color of the icon of the user

New registration user

URL adresa: https://api.protect6.cz/finish_signup

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
thumb - The icon of the user, in a variable thumb is the name of the file
phone - The user's phone number
sex - Gender of the user if it is 1 then it's a woman, otherwise it is 0 - the man
birthday - Date of birth of the user, must be in the format YYYY-MM-DD

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.thumb - If this is true, then there is an error in the user icon
error.phone - If this is true, then there is a fault in the phone
error.sex - If this is true, then there is a mistake in gender
error.birthday - If it is true, so is the mistake in date of birth

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.user_id - User ID
data.user_name - The name of the user
data.user_abbr - The abbreviation of the name of the user on the 2 letters
data.user_icon - The URL address of the user icon if it is specified
data.user_color - The color of the icon of the user
data.thumb - It's about HASH, which is inserted into the /upload and after uploading the image into the system

A list of all service locations

URL adresa: https://api.protect6.cz/service_places

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - The QR code of the product, if we want to highlight the address of the corporate owners of the product

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID firmy
data[].ic - The IR of the company
data[].name - The name of the company
data[].phone - Phone number
data[].email - E-mail firmy
data[].web - Website
data[].policy_type - As regards the police, so it is 1, otherwise is 0
data[].address.name - The name of the delivery address
data[].address.street - Ulice
data[].address.city - The city
data[].address.state - The end of the
data[].address.country - Country
data[].address.zip - ZIP code
data[].address.geo.lat - Geolocation data latitude
data[].address.geo.lng - Geolocation data longitude
data[].distance - Distance from the place where he is currently a user (returns a km or m)
data[].product_owner - If it is true, as regards the former the owner of the product, it works just in case that is specified, the QR code of the product

Retrieves information about the user

URL adresa: https://api.protect6.cz/settings/info

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.name - The name of the user
data.email - The user's email (same as email login)
data.phone - Phone users
data.thumb - Icon users, its url address not and the server
data.sex - The user's gender (0 - male, 1 - female)
data.birthday - Date of birth of the user
data.notification.help_new - Notification when a new service if it is active there is 1, otherwise 0
data.notification.help_repeat - Notifications when it responds to the service if it is active there is 1, otherwise 0
data.notification.help_call - Notification of others for service information, if it is active there is 1, otherwise 0
data.notification.device_new - Notification when the transfer of the product to the new user, if it is active there is 1, otherwise 0
data.notification.device_suspect - Notifications when there is a stolen product loaded foreign user, if active is 1, otherwise 0
data.notification.user_new - Notifications the other to the user setting, if active is 1, otherwise 0
data.notification.preorder_new - Notification when is created a new demand, if active is 1, otherwise 0
data.notification.marketing - Notification on completely marketingovych fix, if it is active there is 1, otherwise 0
data.user_lang[].id - ID jazyka
data.user_lang[].name - The name of the language
data.user_lang[].select - If it is true, as regards the selected language
data.user_lang_set - The currently selected language of the user

Updates the user information

URL adresa: https://api.protect6.cz/settings/update

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
name - The name of the user (mandatory entry)
password - The user's new password to log into the system, the password is in text format, it must not be a HASH!
email - E-mail address of the user (mandatory entry)
thumb - User icon
phone - Phone users
sex - The user's gender (0 - male, 1 - female)
birthday - Date of birth of the user YYYY-MM-DD
notif_help_new - Notification when a new service if it is active there is 1, otherwise 0
notif_help_repeat - Notifications when it responds to the service if it is active there is 1, otherwise 0
notif_help_call - Notification of others for service information, if it is active there is 1, otherwise 0
notif_device_new - Notification when the transfer of the product to the new user, if it is active there is 1, otherwise 0
notif_device_suspect - Notifications when there is a stolen product loaded foreign user, if active is 1, otherwise 0
notif_user_new - Notifications the other to the user setting, if active is 1, otherwise 0
notif_preorder_new - Notification when is created a new demand, if active is 1, otherwise 0
notif_marketing - Notification on completely marketingovych fix, if it is active there is 1, otherwise 0
change_user_lang - if it is entered into the variable ID of the language, thus changing the jayzk by the user

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.name - If this is true, then there is an error in the name of the user
error.password - If it is true, so is a bug in the password of the user
error.email - If it is true, so is the error in the e-mail
error.thumb - If this is true, then there is an error in the user icon
error.phone - If this is true, then there is a fault in the phone
error.sex - If this is true, then there is a mistake in gender
error.birthday - If it is true, so is the mistake in date of birth
error.notif_help_new - If it is true, so is a bug in the notification
error.notif_help_repeat - If it is true, so is a bug in the notification
error.notif_help_call - If it is true, so is a bug in the notification
error.notif_device_new - If it is true, so is a bug in the notification
error.notif_device_suspect - If it is true, so is a bug in the notification
error.notif_user_new - If it is true, so is a bug in the notification
error.notif_preorder_new - If it is true, so is a bug in the notification
error.notif_marketing - If it is true, so is a bug in the notification

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.user_id - User ID
data.user_name - The name of the user
data.user_abbr - The abbreviation of the name of the user on the 2 letters
data.user_icon - The URL address of the user icon if it is specified
data.user_color - The color of the icon of the user
data.thumb - It's about HASH, which is inserted into the /upload and after uploading the image into the system

Displays which modules are active and which not

URL adresa: https://api.protect6.cz/modules

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.manuals - True/False - If true, displays the part: manualy
data.parts - True/False - If true, displays the part: nahradni dily
data.questions - True/False - If true, displays the part: questions
data.questions_add - True/False - If true, displays the part: questions adding
data.service - True/False - If true, displays the part: service
data.service_add - True/False - If true, displays the part: service nova
data.owner_list - True/False - If true, displays the part: list of owners
data.history_data - True/False - If true, displays the part of the: history list
data.service_places - True/False - If true, displays the part: a list of servisnich mist
data.specification_list - True/False - If true, displays the part: a list of technickych dokumemtu
data.invoice_list - True/False - If true, displays the part: the list of invoices
data.photo_add - True/False - If true, displays the part: adding photos
data.go_to_service - True/False - If true, displays the part: displays a button on the car was really cheap to service

A list of the category products

URL adresa: https://api.protect6.cz/list/category

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID category
data[].name - The name of the category
data[].steal - Line if the product is stolen
data[].info - Line just informative character
data[].icon - Urk address of the icon for the category
data[].color - Color category

List of categories for inventory

URL adresa: https://api.protect6.cz/list/category_inventory

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID category
data[].name - The name of the category
data[].steal - Line if the product is stolen
data[].info - Line just informative character
data[].icon - Urk address of the icon for the category
data[].color - Color category

Tag list

URL adresa: https://api.protect6.cz/list/category_tags

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID tagu
data[].tag - The name of the tag

List of products

URL adresa: https://api.protect6.cz/list/data

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
tag - Individual tags, is used for filtering, if there are more, so they are separated by a comma (e.g.: Machinelogit,system,crm)
q - Search within the sheet, searching by name, serial number, qrkódu
pg - Pagination, if he wants to see the next page to enter individual page numbers

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID produktu
data[].qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data[].qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data[].ibeacon_active - True/False - If is true, so the product also has iBeacon, as defined
data[].ibeacon - The identification number of the iBeacone device
data[].serial_number - The serial number of the product
data[].product_type_id - ID product type
data[].name - Product name
data[].version - Version of the product
data[].category - The category ID of the product
data[].alt_name - Alternative product name
data[].alt_version - An alternative version of the product
data[].date - Date of creation/manufacture of a product
data[].name_serial - The full name of the product, including serial numbers
data[].manufactoring_mode.active - If the active status of the production so it is true
data[].manufactoring_mode.status - Status in which is the production of
data[].manufactoring_mode.name - The name of the status
data[].manufactoring_mode.actual_status - The current ID of the status
data[].manufactoring_mode.actual_status_name - Current name status
data[].inventory.active - If it is activated in the inventory so it is true
data[].inventory.status - The current status of the product to inventory
data[].inventory.status_name - The name of the status on the inventory
data[].inventory.name - Název inventury
data[].inventory.date - Datum inventury
data[].stolen - If the product is stolen then returns 1, otherwise 0
data[].status - The current status of the product
data[].picture - Product image

List of free QR codes

URL adresa: https://api.protect6.cz/product/new/qrcode_list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].qrcode - Free QR code
data[].activator - His activation number, you may not remember user

A list of already used address

URL adresa: https://api.protect6.cz/product/new/address

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID address, which can be used in creating the product
data[].name - Full name address for search
data[].address.name - Name
data[].address.street - Ulice
data[].address.city - The city
data[].address.state - The end of the
data[].address.country - Country (code only)
data[].address.zip - ZIP code
data[].address.geo.latitude - Geolocation data latitude
data[].address.geo.longitude - Geolocation data longitude

The list of countries for addresses

URL adresa: https://api.protect6.cz/product/new/countries

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - Country code
data[].name - The name of the country

A list of the types of products

URL adresa: https://api.protect6.cz/product/new/product_type

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID product type
data[].name - The name of the type of the product, including the serial number

A list of the types of ownership of the product

URL adresa: https://api.protect6.cz/product/new/owner_type

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - The ID of the type of ownership
data[].name - The name of the type of ownership
data[].steal - Line if the product is stolen
data[].info - Line just informative character
data[].icon - Urk address of the icon for the type of ownership
data[].color - The color of the type of ownership

Spare parts list

URL adresa: https://api.protect6.cz/product/new/part_list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID replacement part
data[].name - The name of the replacement part
data[].serial_number - The serial number of the replacement part

List the category with questions

URL adresa: https://api.protect6.cz/questions/category

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID category
data[].name - The name of the category

A list of all the quick questions

URL adresa: https://api.protect6.cz/questions/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID questions
data[].name - The title of the question
data[].product.id - ID produktu
data[].product.qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data[].product.qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data[].product.serial_number - The serial number of the product
data[].product.name - Product name
data[].product.version - Version of the product
data[].product.picture - Product image
data[].category - ID category
data[].view - If it is true, so the question has been read by the user
data[].date_create - Date of creation

A list of all the service calls

URL adresa: https://api.protect6.cz/service/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID servisu
data[].name - The name of the service
data[].product.id - ID produktu
data[].product.qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data[].product.qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data[].product.serial_number - The serial number of the product
data[].product.name - Product name
data[].product.version - Version of the product
data[].product.picture - Product image
data[].category - ID category
data[].date_create - Date of creation
data[].category_name - The name of the category
data[].type - 1 - extraordinary service, 2 - regular scheduled service
data[].view - If it is true, so service has already been read by the user
data[].finish_date - Date of completion
data[].one_step - If it is 1, so it's a one stop shop service

The creation of a new product

URL adresa: https://api.protect6.cz/product/new/create

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
name - Product name (mandatory entry)
version - Version of the product
type_id - Product type
qrcode - QR code product (mandatory entry)
activator - Activator to QR code (mandatory entry)
owner_type - It's the type of ownership (1 - manufacturer 2 - distributor, 3 - salesman, 4 - owner). If you enter a value of 1 to 3 so don't count the warranty, detaultně the value is set to the Owner of the
serial_number - The serial number of the product (mandatory entry)
date_manufactured - Date of production/input into the system (mandatory entry)
address_id - If it is specified, so do not need to enter additional parameters of the address (street, city, country and zip)
street - Ulice (mandatory entry)
city - The city (mandatory entry)
state - The end of the
country - Country, only zpratka en,en etc. (mandatory entry)
zip - ZIP code address (mandatory entry)
description - A short description of the product
part[].id - ID of the replacement part to product
part[].name - Name of the spare part to the product
part[].serial_number - Serial/manufacturing number of the replacement part
part[].description - A short description of the replacement part

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.name - True/False - if is true, so the item is poorly specified, poorly specified name
error.version - True/False - if is true, so the item is poorly specified, poorly specified version
error.qr_code - True/False - if is true, so the item is poorly specified, poorly specified qr code
error.activate_code - True/False - if is true, so is the item wrong entered is wrong the entered activation number qr code
error.serial_number - True/False - if is true, so is the item wrong entered is wrong the entered serial number
error.date_manufactured - True/False - if is true, so is the item wrong entered is wrong the entered production date
error.address.street - True/False - if is true, so the item is poorly specified, poorly specified street
error.address.city - True/False - if is true, so the item is poorly specified, poorly specified city
error.address.state - True/False - if is true, so is the item wrong entered is wrong the specified region
error.address.country - True/False - if is true, so the item is poorly specified, poorly specified country
error.address.zip - True/False - if is true, so is the item wrong entered is wrong the entered ZIP code
error.parts_data - True/False - if is true, so the item is poorly specified, poorly specified error in spare parts

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.product_qrcode - QR code generated by the product

Checks the product and displays its detailed information (not product owner)

URL adresa: https://api.protect6.cz/product/check

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
update - if it is 1, then does not save information about the load of the product

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.id - ID produktu
data.qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data.qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data.view.qrcode_set - Displays additional information because the product has a public QR code
data.ibeacon_active - True/False - If is true, so the product also has iBeacon, as defined
data.ibeacon - The identification number of the iBeacone device
data.serial_number - The serial number of the product
data.name - Product name
data.version - Version of the product
data.stolen - If the product is stolen then returns 1, otherwise 0
data.status - The current status of the product
data.date - Date of creation/manufacture of a product
data.photos[] - Field with the url addresses to photos of the product
data.owner - True/False - if true, the current pdf or picture of the product

Checks the product and displays its detailed information (product owner)

URL adresa: https://api.protect6.cz/product/check

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
update - if it is 1, then does not save information about the load of the product

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.id - ID produktu
data.qr_code - The QR code of the product (if no product officially the QR code so it returns an empty value)
data.qr_code_alt - Hidden QR code of the product, if the product does not have a QR code so here is the internal identifier of the product
data.view.qrcode_set - Displays additional information because the product has a public QR code
data.ibeacon_active - True/False - If is true, so the product also has iBeacon, as defined
data.ibeacon - The identification number of the iBeacone device
data.serial_number - The serial number of the product
data.name - Product name
data.version - Version of the product
data.stolen - If the product is stolen then returns 1, otherwise 0
data.status - The current status of the product
data.date - Date of creation/manufacture of a product
data.category.color - Color category
data.category.icon - Category icon
data.owner - True/False - if true, the current pdf or picture of the product
data.tags[].id - ID category
data.tags[].id - The name of the category
data.tags_view - If true, displays the tagz for the product
data.address.name - Address, the name of the
data.address.street - Ulice
data.address.city - The city
data.address.state - State/County
data.address.country - Country
data.address.zip - ZIP code
data.address.lat - Geolocation latitude
data.address.lng - Geolocation longitude
data.owner_data.name - The name of the owner
data.owner_data.type - Type of ownership
data.temporary_owner - True/False - if is true so it is only a temporary owner (for example, in service)
data.temporary_owner_data.name - An intermediate owner of the
data.temporary_owner_data.type - The transitional type of ownership
data.distance - Crazy number of miles
data.cycle - The current number of syklů
data.next_service - Comes to the however, the next scheduled service
data.insurance_set - True/False - if is true, so is the based insurance with the product
data.insurance_end - The date of expiration pays the insurance
data.inventory_set - True/False - if is true, so button is displayed on the inventory
data.inventory_status - The current status of the product in the inventory
data.inventory_date - The date of the inventory for a product
data.inventory_category.color - Color category for the inventory of the
data.inventory_category.icon - The category icon for the inventory of the
data.note_product.name - Product description (inserting the name in the production of it's position on the stock)
data.note_product.value - Product description, what the user entered
data.reservation_data[].id - ID rezervace
data.reservation_data[].name - The name of the reservation
data.reservation_data[].category - Category reservation
data.reservation_data[].status - Status rezervace
data.reservation_data[].place.status - If the status of the true, so is produced and the place of service
data.reservation_data[].place.data.id - ID mista servisu
data.reservation_data[].place.data.name - The name of the location service
data.reservation_data[].place.data.ic - The IR service
data.reservation_data[].place.data.dic - TIN service
data.reservation_data[].place.data.phone - Phone number
data.reservation_data[].place.data.email - E-mail
data.reservation_data[].place.data.web - The web page
data.reservation_data[].place.data.address.street - Ulice
data.reservation_data[].place.data.address.city - The city
data.reservation_data[].place.data.address.state - The end of the
data.reservation_data[].place.data.address.country - State
data.reservation_data[].place.data.address.zip - ZIP code
data.reservation_data[].place.data.address.geo.latitude - Latitude
data.reservation_data[].place.data.address.geo.longitude - Longitude
data.reservation_data[].date - The date of the reservation
data.complaint.id - ID reklamace
data.complaint.active - If it is true, so is the active
data.complaint.date - Date to when they can claim
data.complaint.extended - If it is true, so the extended warranty has already been ordered
data.complaint.btn - If it is true, it displays the button on ordering the extended warranty
data.complaint.url - Url address on ordering the extended warranty
data.group[].id - The ID of the product group
data.group[].serial_number - The serial number of the product
data.group[].qr_code - QR code product
data.group[].name - Product name
data.group[].version - Version of the product
data.view.change_owner - View the items - change vlasntika
data.view.change_steal - View the items in question - nahlaseni zruseni losses
data.view.service_info - Display the item - a button for displaying other information
data.view.basic_info - Display the item - basic information
data.view.specification_list - Display the item - list technickych dokumemtu
data.view.invoice_list - Display the item - list of invoices
data.view.photo_list - View the items - list of photos
data.view.photo_add - View the items in question - pridani photos
data.view.manuals - Display the item - manualy
data.view.parts - Display the item - nahradni dily
data.view.questions - Display the item - questions
data.view.questions_add - View the items in question - ask the pridani
data.view.service - View the items - service
data.view.service_add - View the items - service nova
data.view.owner_list - Display the item - list of owners
data.view.service_places - Display the item - list servisnich mist
data.view.history_data - Display the item - list history
data.view.back_owner - Display the item - otherwise the product owner
data.view.delete_product - Display the item - maze product from the database
data.view.repase_product - View the items - restores the item from the database
data.view.confirm_product - Display the item - confirms product
data.view.stop_product - Display the item - ukoncuje product
data.view.insurance_add - View the items in question - Shows the tlacitko for pojisteni
data.view.inventory_status_checked - The display of the item - Displays the button to confirm the inventory
data.view.inventory_status_notfind - Display the item - it Displays the button on the found inventory
data.view.reservation_data - The display of the item - Displays the data on the reservation
data.view.reservation_new - View the items in question - Shows the tlacitko on vytvoreni rezervace
data.view.go_to_service - View the items in question - Shows the tlacitko on the predani on the service
data.view.complaint - The display of the item - Displays the button to claim the
data.view.group - View the items in question - Shows the tlacitko group
data.view.cycle - Display the item - it Displays the cycle
data.view.change_cycle - View the items in question - nahlaseni changes in number of cycle
data.view.faq - Display the item - FAQ questions in the app
data.view.next_service - The display of the item - Displays the planovany service more

Sends the owner of the product report

URL adresa: https://api.protect6.cz/product/message

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
text - Text message for the owner of the product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
error.email - If it is true, so is the error in the e-mail
error.name - If it is true, is a mistake in the name
error.phone - If this is true, then there is a fault in the phone
error.desc - If this is true, then there is an error in the text for the owner of the

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Report a product as stolen

URL adresa: https://api.protect6.cz/product/steal/on

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Reporting to the product as returned to the ownership of the

URL adresa: https://api.protect6.cz/product/steal/off

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Returns a list of the current owners of the product

URL adresa: https://api.protect6.cz/product/owner/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].name - The name of the owner
data[].ownership - Type of ownership
data[].date_end - Completion date or current status

Seznam type, kterym muze predat product

URL adresa: https://api.protect6.cz/product/owner/change/owners

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID the type of handover
data[].name - The name of the type
data[].icon - Icon the type of the transfer
data[].color - The color of the type of transmission

List of companies, which can pass the product

URL adresa: https://api.protect6.cz/product/owner/change/company_list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID firmy
data[].name - The name of the company

Deletion of product

URL adresa: https://api.protect6.cz/product/owner/change/delete

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Restore product

URL adresa: https://api.protect6.cz/product/owner/change/repase

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Confirmation of acceptance of the product

URL adresa: https://api.protect6.cz/product/owner/change/confirm

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

The cancellation of the takeover of the product

URL adresa: https://api.protect6.cz/product/owner/change/stop

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Now it's the best new service product

URL adresa: https://api.protect6.cz/product/owner/change/make

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
company_id - Company ID, which is passed on the product or (mandatory entry)
email_owner - email of the user which is transmitted to the product (mandatory entry)
type_name - The type of the new property is entered type ID (mandatory entry)
group_change_all - If the user wants to change the owner for all products within the product group so it is true
service_owner - following the new owner of the so-called mezifirmu if the item is true, otherwise insert nothing
service_owner_type_name - type of ownership mezimajitele, is contracted out to the ID type
service_owner_company_id - Company ID mezimajitele, if one is specified mezimajitel, otherwise no

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Feature which makes the vendors/manufacturers/distributor prevzit product on the service

URL adresa: https://api.protect6.cz/product/owner/change/go_to_service

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Otherwise the product owner

URL adresa: https://api.protect6.cz/product/owner/change/back

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Nastavuje status inventury na zkontrolovano

URL adresa: https://api.protect6.cz/product/owner/change/inventory_checked

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Nastavuje status inventury na nenalezeno

URL adresa: https://api.protect6.cz/product/owner/change/inventory_notfind

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Displays the reservation list service

URL adresa: https://api.protect6.cz/product/reservation/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID rezervace
data[].name - The name of the reservation
data[].category - Type of reservation
data[].status - The current status of the reservation
data[].place.status - If the status of the true, so is produced and the place of service
data[].place.data.id - ID mista servisu
data[].place.data.name - The name of the location service
data[].place.data.ic - The IR service
data[].place.data.dic - TIN service
data[].place.data.phone - Phone number
data[].place.data.email - E-mail
data[].place.data.web - The web page
data[].place.data.address.street - Ulice
data[].place.data.address.city - The city
data[].place.data.address.state - The end of the
data[].place.data.address.country - State
data[].place.data.address.zip - ZIP code
data[].place.data.address.geo.latitude - Latitude
data[].place.data.address.geo.longitude - Longitude
data[].date - The date of the reservation

Returns a list of reservation status of the service

URL adresa: https://api.protect6.cz/product/reservation/status

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID statusu rezervace
data[].name - The name of the status

Creates a new booking service

URL adresa: https://api.protect6.cz/product/reservation/new

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
name - The name of the reservation (mandatory entry)
status - ID statusu rezervace (mandatory entry)
place - The ID of the service point, where will the service take place (this is an API command: List of all service points - /service_places )

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Confirms booking service

URL adresa: https://api.protect6.cz/product/reservation/confirm

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
reservation_id - ID rezervace (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Cancelled booking service

URL adresa: https://api.protect6.cz/product/reservation/stop

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
reservation_id - ID rezervace (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

This primary information

URL adresa: https://api.protect6.cz/product/basic_info

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.desc - Html description of the information about the product

Through the speed and the log of the rides

URL adresa: https://api.protect6.cz/product/cyclometer

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
latcyclo - The current geolocation for cyklometr - latitude (mandatory entry)
lngcyclo - The current geolocation for cyklometr - longitude (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.speed - Returns the calculated speed according to the changes of the GPS

Nacitani history to this product

URL adresa: https://api.protect6.cz/product/history

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].user - The name of the user
data[].date - Date of creation
data[].thumb - User icon
data[].user_abbr - The abbreviation of the name of the user for the two characters
data[].user_color - The color of the user
data[].desc - Description of the history of what happened
data[].ip - ID address or ID of the device where history happened
data[].geo.latitude - GPS location events
data[].geo.longitude - GPS location events
data[].url.type - ID product type
data[].url.product - ID produktu

This FAQ list details with answers

URL adresa: https://api.protect6.cz/product/faq

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID FAQ otázky
data[].user.id - User ID
data[].user.name - The name of the user
data[].user.abbr - The abbreviation of the user
data[].user.icon - User icon
data[].user.color - The color of the user
data[].type_id - ID product type
data[].product_id - ID produktu
data[].ask - Question
data[].answer - The answer to the question
data[].date_create - Date of creation
data[].manual[].manual.id - ID manuálu
data[].manual[].manual.serial - Serial number manual
data[].manual[].manual.name - The name of the manual
data[].manual[].manual.lang - Abbreviation jayzka in which is the manual
data[].manual[].manual.lang_name - The full name of the language of the manual
data[].manual[].manual.step_type - If it comes to the stepper manual, so it is true
data[].manual[].version - Version of the manual
data[].manual[].capitol.id - Chapter ID manual
data[].manual[].capitol.name - The name of the manual
data[].manual[].data.manual_id - ID manuálu
data[].manual[].data.manual_version - ID version of the manual
data[].manual[].data.manual_data_id - Chapter ID manual
data[].part[].id - ID replacement part
data[].part[].name - The name of the replacement part
data[].part[].serial_number - The serial number of the part
data[].part[].desc - Description of the replacement part
data[].part[].url - Url address on the picture of the replacement part
data[].question[].id - ID fast query
data[].question[].name - The name of the fast query
data[].edit - If it is true, so the user máí the ability to edit FAQ question

Retrieves a list of photos to product

URL adresa: https://api.protect6.cz/product/photos/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].name - File name
data[].url - The Url address of the file photos

Uploading a new photo to the list of photos

URL adresa: https://api.protect6.cz/product/photos/upload

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
image - The name of the file that will store on the server (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.image - The Hash, which is used to identify the upload photos on the server to see. /upload

Through the technical specification to danemu product

URL adresa: https://api.protect6.cz/product/specification

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].name - File name
data[].url - The Url address of the file
data[].image - If it is true, as regards the picture, otherwise other file type

When the list of invoices/zarucni leaves

URL adresa: https://api.protect6.cz/product/invoice

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].name - File name
data[].url - The Url address of the file
data[].image - If it is true, as regards the picture, otherwise other file type

A list of our manual to product

URL adresa: https://api.protect6.cz/product/manuals/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID manuálu
data[].serial - The identification number of the manual public
data[].name - The name of the manual
data[].language - The default jayzk manual
data[].version.id - ID version of the manual attached to the product
data[].version.name - The name of the version of the manual attached to the product

A list of the chapters to the manual

URL adresa: https://api.protect6.cz/product/manuals/chapter

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
manual_id - ID manuálu (mandatory entry)
version_id - ID version of the manual (mandatory entry)
lang_manual - Language manual, in which we want to get the manual displayed

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID kapitoly
data[].number - Chapter number
data[].name - The name of the chapter

Detail manual

URL adresa: https://api.protect6.cz/product/manuals/detail

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
manual_id - ID manuálu (mandatory entry)
version_id - ID version of the manual (mandatory entry)
chapter_id - Chapter ID manual (mandatory entry)
lang_manual - Language manual, in which we want to get the manual displayed

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.name - The name of the chapter
data.text - Text v HTML
data.language - The current jayzk chapter
data.questions[].id - ID questions
data.questions[].name - The title of the question
data.questions[].product_serial_number - The serial number of the product
data.questions[].product_name - Product name
data.parts[].id - ID replacement part
data.parts[].name - The name of the replacement part
data.parts[].serial_number - The serial number of the replacement part

List of spare parts.

URL adresa: https://api.protect6.cz/product/parts/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID replacement part
data[].serial_number - The serial number of the replacement part
data[].name - The name of the replacement part
data[].category.id - ID category
data[].category.name - The name of the category

Detail nahradniho.

URL adresa: https://api.protect6.cz/product/parts/detail

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
part_id - ID replacement part (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.id - ID replacement part
data.serial_number - Serial/serial number of the replacement part
data.name - The name of the replacement part
data.position - The position of the replacement part
data.desc - Description of the replacement part
data.category.id - ID category
data.category.name - The name of the category
data.manufacturer.id - The ID of the manufacturer
data.manufacturer.name - The name of the manufacturer
data.variables[].id - ID of the variable
data.variables[].name - The name of the variable variable
data.variables[].value - The value of the variable variable
data.alternative.view - If he has alternatives, so this item is true
data.alternative.list[].id - ID alternativy
data.alternative.list[].name - Name alternatives
data.alternative_main.id - ID of the replacement part if the part to someone alternative
data.alternative_main.name - The name of the replacement part if the part to someone alternative
data.alternative_main.view - Is true if this is part of someone's alternative
data.preorder - If it is true, so a replacement part is possible even ask around
data.files[].name - File name
data.files[].url - The Url address of the file
data.files[].image - When it comes to picture, so it is true

Predobjednavka on nahradni dil

URL adresa: https://api.protect6.cz/product/parts/preorder

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
part_id - ID replacement part (mandatory entry)
part_number - Number of pieces in demand for the replacement part (mandatory entry)
part_desc - Additional description of the demand

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

List the category with questions

URL adresa: https://api.protect6.cz/product/questions/category

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID category
data[].name - The name of the category

A list of quick questions

URL adresa: https://api.protect6.cz/product/questions/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID questions
data[].name - The title of the question
data[].category - ID category
data[].view - If it is true, so the question has been read by the user
data[].date_create - Date of creation

Detail of quick questions

URL adresa: https://api.protect6.cz/product/questions/detail

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
question_id - ID questions (mandatory entry)
last_question_id - The last added ID answers within the questions

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.id - ID questions
data.name - The title of the question
data.category - ID category
data.date_create - Date of creation
data.repeat - If the question is impossible to answer so it is true
data.message_last_id - The last ID of the questions that is it possible to send to last_question_id to retrieve only limited information
data.message_new - If this is true, then the following additional answers to the question
data.messages[].message - The Text of the individual answers
data.messages[].user.name - Name of the user
data.messages[].user.abbr - The abbreviation of the name of the user
data.messages[].user.icon - The Url address of the user icon
data.messages[].user.color - The color of the user
data.messages[].message_private.allow - If it's about a private message so it is true
data.messages[].message_private.from - A private message from the user
data.messages[].message_private.to - A private message for the user
data.messages[].date - Date of creation
data.messages[].image[].id - ID picture
data.messages[].image[].name - The name of the image
data.messages[].image[].url - The Url address of the image
data.messages[].part.id - ID replacement part
data.messages[].part.serial_number - The serial number of the replacement part
data.messages[].part.name - The name of the replacement part
data.messages[].part.desc - Description of the replacement part
data.messages[].part.image.name - The name of the image for the replacement part
data.messages[].part.image.url - Url image address for the replacement part
data.messages[].views[].user.id - The user ID (the user who given part of the read)
data.messages[].views[].user.name - Name of the user
data.messages[].views[].user.abbr - The abbreviation of the name of the user
data.messages[].views[].user.icon - The Url address of the user icon
data.messages[].views[].user.color - The color of the user
data.messages[].connect_message.name - If you enter the answer associated with the previous answers, so here is her name
data.messages[].connect_message.messages[].message - The Text of the individual answers
data.messages[].connect_message.messages[].user.name - Name of the user
data.messages[].connect_message.messages[].user.abbr - The abbreviation of the name of the user
data.messages[].connect_message.messages[].user.icon - The Url address of the user icon
data.messages[].connect_message.messages[].user.color - The color of the user
data.messages[].connect_message.messages[].message_private.allow - If it's about a private message so it is true
data.messages[].connect_message.messages[].message_private.from - A private message from the user
data.messages[].connect_message.messages[].message_private.to - A private message for the user
data.messages[].connect_message.messages[].date - Date of creation
data.messages[].connect_message.messages[].image[].id - ID picture
data.messages[].connect_message.messages[].image[].name - The name of the image
data.messages[].connect_message.messages[].image[].url - The Url address of the image
data.messages[].connect_message.messages[].part.id - ID replacement part
data.messages[].connect_message.messages[].part.serial_number - The serial number of the replacement part
data.messages[].connect_message.messages[].part.name - The name of the replacement part
data.messages[].connect_message.messages[].part.desc - Description of the replacement part
data.messages[].connect_message.messages[].part.image.name - The name of the image for the replacement part
data.messages[].connect_message.messages[].part.image.url - Url image address for the replacement part

The answer to a quick question

URL adresa: https://api.protect6.cz/product/questions/repeat

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
question_id - ID questions (mandatory entry)
desc - Text the answer to the question (mandatory entry)
image[] - Array with the names of the images

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.image_upload - If it is true, it sends back the hashes to upload images to server /upload
data.image[] - Individual hashes to upload images to the server

The formation of a new quick question

URL adresa: https://api.protect6.cz/product/questions/new

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
name - The title of the question (mandatory entry)
desc - Text the answer to the question (mandatory entry)
image[] - Array with the names of the images

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.image_upload - If it is true, it sends back the hashes to upload images to server /upload
data.image[] - Individual hashes to upload images to the server
data.question_id - ID questions, which was newly created

A list of service interventions

URL adresa: https://api.protect6.cz/product/service/list

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID servisu
data[].name - The name of the service
data[].category - ID category
data[].date_create - Date of creation
data[].category_name - The name of the category
data[].type - 1 - extraordinary service, 2 - regular scheduled service
data[].view - If it is true, so service has already been read by the user
data[].finish_date - Date of completion
data[].one_step - If it is 1, so it's a one stop shop service

A list of the planned service, which is not yet created

URL adresa: https://api.protect6.cz/product/service/service_plan

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data[].id - ID servisu
data[].name - The name of the service
data[].cycle - The number of cycles, when it has to be carried out service
data[].date_check - The date when it has to be carried out service

The Detail of the service (For one stop shop service)

URL adresa: https://api.protect6.cz/product/service/detail

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
question_id - ID servisu (mandatory entry)
last_question_id - The last added ID responses within the service

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.id - ID servisu
data.name - The name of the service
data.category - ID category
data.date_create - Date of creation
data.category_name - The name of the category
data.finish_date - Date of completion
data.type - 1 - extraordinary service, 2 - regular scheduled service
data.one_step - If it is 1, so it's a one stop shop service
data.desc - Description of the individual step
data.repeat - If the question is impossible to answer so it is true
data.message_last_id - The last ID of the questions that is it possible to send to last_question_id to retrieve only limited information
data.messages[].message - The Text of the individual answers
data.messages[].user.name - Name of the user
data.messages[].user.abbr - The abbreviation of the name of the user
data.messages[].user.icon - The Url address of the user icon
data.messages[].user.color - The color of the user
data.messages[].message_private.allow - If it's about a private message so it is true
data.messages[].message_private.from - A private message from the user
data.messages[].message_private.to - A private message for the user
data.messages[].date - Date of creation
data.messages[].image[].id - ID picture
data.messages[].image[].name - The name of the image
data.messages[].image[].url - The Url address of the image
data.messages[].part.id - ID replacement part
data.messages[].part.serial_number - The serial number of the replacement part
data.messages[].part.name - The name of the replacement part
data.messages[].part.desc - Description of the replacement part
data.messages[].part.image.name - The name of the image for the replacement part
data.messages[].part.image.url - Url image address for the replacement part
data.messages[].views[].user.id - The user ID (the user who given part of the read)
data.messages[].views[].user.name - Name of the user
data.messages[].views[].user.abbr - The abbreviation of the name of the user
data.messages[].views[].user.icon - The Url address of the user icon
data.messages[].views[].user.color - The color of the user
data.messages[].connect_message.name - If you enter the answer associated with the previous answers, so here is her name
data.messages[].connect_message.messages[].message - The Text of the individual answers
data.messages[].connect_message.messages[].user.name - Name of the user
data.messages[].connect_message.messages[].user.abbr - The abbreviation of the name of the user
data.messages[].connect_message.messages[].user.icon - The Url address of the user icon
data.messages[].connect_message.messages[].user.color - The color of the user
data.messages[].connect_message.messages[].message_private.allow - If it's about a private message so it is true
data.messages[].connect_message.messages[].message_private.from - A private message from the user
data.messages[].connect_message.messages[].message_private.to - A private message for the user
data.messages[].connect_message.messages[].date - Date of creation
data.messages[].connect_message.messages[].image[].id - ID picture
data.messages[].connect_message.messages[].image[].name - The name of the image
data.messages[].connect_message.messages[].image[].url - The Url address of the image
data.messages[].connect_message.messages[].part.id - ID replacement part
data.messages[].connect_message.messages[].part.serial_number - The serial number of the replacement part
data.messages[].connect_message.messages[].part.name - The name of the replacement part
data.messages[].connect_message.messages[].part.desc - Description of the replacement part
data.messages[].connect_message.messages[].part.image.name - The name of the image for the replacement part
data.messages[].connect_message.messages[].part.image.url - Url image address for the replacement part

Detail service (a multi step service)

URL adresa: https://api.protect6.cz/product/service/detail

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
question_id - ID servisu (mandatory entry)
last_question_id - The last added ID responses within the service

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.id - ID servisu
data.name - The name of the service
data.category - ID category
data.date_create - Date of creation
data.category_name - The name of the category
data.finish_date - Date of completion
data.type - 1 - extraordinary service, 2 - regular scheduled service
data.one_step - If it is 1, so it's a one stop shop service
data.repeat - If the question is impossible to answer so it is true
data.steps[].id - ID kroku
data.steps[].name - The name of the step
data.steps[].desc - Description of the individual step
data.steps[].finish - If completed is true
data.steps[].finish_date - Date of completion
data.steps[].finish_user - The user who completed the step
data.steps[].repeat - If it is true, may at a given step correspond to the
data.steps[].message_last_id - The last ID answering service
data.steps[].messages[].tags - A list of tags to split tags čárkama
data.steps[].messages[].message - The Text of the individual answers
data.steps[].messages[].user.name - Name of the user
data.steps[].messages[].user.abbr - The abbreviation of the name of the user
data.steps[].messages[].user.icon - The Url address of the user icon
data.steps[].messages[].user.color - The color of the user
data.steps[].messages[].message_private.allow - If it's about a private message so it is true
data.steps[].messages[].message_private.from - A private message from the user
data.steps[].messages[].message_private.to - A private message for the user
data.steps[].messages[].date - Date of creation
data.steps[].messages[].image[].id - ID picture
data.steps[].messages[].image[].name - The name of the image
data.steps[].messages[].image[].url - The Url address of the image
data.steps[].messages[].part.id - ID replacement part
data.steps[].messages[].part.serial_number - The serial number of the replacement part
data.steps[].messages[].part.name - The name of the replacement part
data.steps[].messages[].part.desc - Description of the replacement part
data.steps[].messages[].part.image.name - The name of the image for the replacement part
data.steps[].messages[].part.image.url - Url image address for the replacement part
data.steps[].messages[].views[].user.id - The user ID (the user who given part of the read)
data.steps[].messages[].views[].user.name - Name of the user
data.steps[].messages[].views[].user.abbr - The abbreviation of the name of the user
data.steps[].messages[].views[].user.icon - The Url address of the user icon
data.steps[].messages[].views[].user.color - The color of the user
data.steps[].messages[].connect_message.name - If you enter the answer associated with the previous answers, so here is her name
data.steps[].messages[].connect_message.messages[].message - The Text of the individual answers
data.steps[].messages[].connect_message.messages[].user.name - Name of the user
data.steps[].messages[].connect_message.messages[].user.abbr - The abbreviation of the name of the user
data.steps[].messages[].connect_message.messages[].user.icon - The Url address of the user icon
data.steps[].messages[].connect_message.messages[].user.color - The color of the user
data.steps[].messages[].connect_message.messages[].message_private.allow - If it's about a private message so it is true
data.steps[].messages[].connect_message.messages[].message_private.from - A private message from the user
data.steps[].messages[].connect_message.messages[].message_private.to - A private message for the user
data.steps[].messages[].connect_message.messages[].date - Date of creation
data.steps[].messages[].connect_message.messages[].image[].id - ID picture
data.steps[].messages[].connect_message.messages[].image[].name - The name of the image
data.steps[].messages[].connect_message.messages[].image[].url - The Url address of the image
data.steps[].messages[].connect_message.messages[].part.id - ID replacement part
data.steps[].messages[].connect_message.messages[].part.serial_number - The serial number of the replacement part
data.steps[].messages[].connect_message.messages[].part.name - The name of the replacement part
data.steps[].messages[].connect_message.messages[].part.desc - Description of the replacement part
data.steps[].messages[].connect_message.messages[].part.image.name - The name of the image for the replacement part
data.steps[].messages[].connect_message.messages[].part.image.url - Url image address for the replacement part

The answer to service

URL adresa: https://api.protect6.cz/product/service/repeat

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
question_id - ID servisu (mandatory entry)
type - Divides whether it is a 1 the extraordinary service or 2 regular service (mandatory entry)
desc - Text the answer to the question (mandatory entry)
image[] - Array with the names of the images
end - If it is 1 then it is the completed repair, if it is 2 then it's a failed repair

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.image_upload - If it is true, it sends back the hashes to upload images to server /upload
data.image[] - Individual hashes to upload images to the server

The formation of the new service

URL adresa: https://api.protect6.cz/product/service/new

Post data:

api - Api key on queries to the server, without him they are not dealt with any queries, is provided by our company upon request (mandatory entry)
lang_ui - The language of the user, which by default is en, the others are: en, en_US
device - The ID of the device that is logging in to the api, must be unique (mandatory entry)
user - The user ID that the system sends automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
session - The number of the session for the logged in user or identifier, which the system will send automatically when you log in, always is entered for access to the logged-in section (mandatory entry)
latitude - Geo location of the user - latitude
longitude - Geo location of the user - latitude
qrcode - QR code product (mandatory entry)
type - Divides whether it is a 1 the extraordinary service or 2 regular service (mandatory entry)
name - The title of the question (mandatory entry)
desc - Text the answer to the question (mandatory entry)
image[] - Array with the names of the images

Return data ERROR:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false

Return data SUCCESS:

ok - true if everything was fine
user_lang - returns the configured user language: en, cs, sk, de, it, fr
err[] - An error message that identifies the error
err_type - The type of error can be 1 (error) 2 (warning), 3 (success)
login - Returns true if the user is logged in, otherwise returns false
data.image_upload - If it is true, it sends back the hashes to upload images to server /upload
data.image[] - Individual hashes to upload images to the server
data.question_id - ID questions, which was newly created