Listar menú - getMenuTracker

POST https://api.service24gps.com/api/v1/getMenuTracker

Este método lista el menú que se le debe mostrar en la tracker de acuerdo a su plantilla de botones asignada y si no tiene plantilla, se asigna unos botones por defecto.

Ver parámetros de solicitud:
Parámetros Descripción Ejemplo
Authorization Token generado por el método auth. eyJ0eXAi5225V1QiLCJhbGciOiJIUz7829.eyJ1aWQiOiJPR1ZrTlRVMk5URTNObU0wTXpNM013PT0iLCJ0eXBlIjoiTWc9PSIsImRhdGV0aW1lIjoiMjAyMjA0MjcxNjU0MTkiLCJleHBpcmUiOjIxNjAwLCJjbGllbnRlIjoiTkRFNE9UYz0iLCJkaXN0cmlidWlkb3IiOiJOREU0T1RZPSJ9.TvJclXkRKzKmoDgjeOuZCZOYix4HhTXy4_5lSMRgTMU
imei IMEI o identificador único del dispositivo codificado en Base64. MTIzNDU2Nzg5
Solicitud de ejemplo:
curl --location --request POST 'https://api.service24gps.com/api/v1/onapp/getMenuTracker' \
--header 'Authorization: eyJ0eXAi5225V1QiLCJhbGciOiJIUz7829.eyJ1aWQiOiJPR1ZrTlRVMk5URTNObU0wTXpNM013PT0iLCJ0eXBlIjoiTWc9PSIsImRhdGV0aW1lIjoiMjAyMjA0MjcxNjU0MTkiLCJleHBpcmUiOjIxNjAwLCJjbGllbnRlIjoiTkRFNE9UYz0iLCJkaXN0cmlidWlkb3IiOiJOREU0T1RZPSJ9.TvJclXkRKzKmoDgjeOuZCZOYix4HhTXy4_5lSMRgTMU' \
--form 'imei="MTIzNDU2Nzg5"'
Respuesta de ejemplo:
{
    "status": 200,
    "data": [
        {
            "app": 2,
            "idButton": "6",
            "type": "268",
            "title": "Check In con foto",
            "subtitle": "Inicia tu jornada",
            "colorIconFilter": true,
            "icon": "check-in",
            "color": "#7AA5B4",
            "colorIcon": "#FFFFFF",
            "platform": "2",
            "action": "check",
            "checkData": "Inicia mi jornada laboral",
            "showCamera": "true",
            "multiplePictures": "true"
        },
        {
            "app": 2,
            "idButton": "8",
            "type": "1435",
            "title": "Check Out con foto",
            "subtitle": "Termina tu jornada",
            "colorIconFilter": true,
            "icon": "check-out",
            "color": "#0A2367",
            "colorIcon": "#FFFFFF",
            "platform": "2",
            "action": "check",
            "checkData": "Salida de mi jornada laboral",
            "showCamera": "true",
            "multiplePictures": "true"
        },
        {
            "app": 2,
            "idButton": "10",
            "type": "1478",
            "title": "Audio",
            "subtitle": "Grabar una nota de audio",
            "colorIconFilter": true,
            "icon": "vol-up",
            "color": "#733d01",
            "colorIcon": "#FFFFFF",
            "platform": "2",
            "action": "audio"
        },
        {
            "app": 2,
            "idButton": "11",
            "type": "1477",
            "title": "Imagen",
            "subtitle": "Capturar una imagen",
            "colorIconFilter": true,
            "icon": "file",
            "color": "#9c9900",
            "colorIcon": "#FFFFFF",
            "platform": "2",
            "action": "image"
        },
        {
            "app": 2,
            "idButton": "13",
            "type": "1568",
            "title": "Firma",
            "subtitle": "Capturar una firma",
            "colorIconFilter": true,
            "icon": "fingerprint-reader",
            "color": "#522c01",
            "colorIcon": "#FFFFFF",
            "platform": "2",
            "action": "signature"
        },
        {
            "app": 2,
            "idButton": "4",
            "type": "576",
            "title": "OnForms",
            "subtitle": "Responde un formulario",
            "colorIconFilter": true,
            "icon": "pdf",
            "color": "#f1c40f",
            "colorIcon": "#FFFFFF",
            "platform": "2",
            "action": "module_forms"
        }
    ],
    "extra": []
}