Dipsystem API

Example

    
    $.ajax(
        { 
            url: "https://104.131.103.113:8890/rastreamento/valida", 
            type: "POST", 
            data: { token: "das123412dasda23dfasdf",
                    imei: '123456778'
                  }
        }, 
        success: function(response){ 
            console.log(response); 
        } 
    });
    
    

Validar rastreamento

Valid token is required.
Valid imei is required.


Example


$.ajax(
    { 
        url: "https://104.131.103.113:8890/add_bem", 
        type: "POST", 
        data: { token: "das123412dasda23dfasdf",
                imei: '123456778',
                nome: 'veiculo',
                placa: 'AAA-123',
                id_rastreador: '1',
                chip: '92945067122',
                identificacao: 'Veiculo do marcos',
                id_operadora: '1',
                id_tipo: '4',
                id: '212'
              }
    }, 
    success: function(response){ 
        console.log(response); 
    } 
});

Criar Bem Form

Valid token is required.
Valid imei is required.
Valid nome is required.
Valid placa is required.
Valid id_rastreador.
Valid chip is required.
Valid identificacao is required.
Valid id_operadora is required.
Valid id_tipo is required.


Example

        
        $.ajax(
            { 
                url: "https://104.131.103.113:8890/rastreamento/att", 
                type: "POST", 
                data: {
                        imei: '123456778',
                        latitude: '-654.546435',
                        longitude: '12.3542341'
                      }
            }, 
            success: function(response){ 
                console.log(response); 
            } 
        });
        
        

Atualizar Localização

Valid imei is required.
Valid latitude is required.
Valid longitude is required.