ARGENTINA
Buenos Aires +54 (11) 5217 5933
BRAZIL
Goiânia +55 (62) 99328 6605
CHILE
Santiago de Chile +56 (2) 240 533 89
URL:
https://wv{{wolkvox_server}}.wolkvox.com/server/API/v2/custom/query.php
Descripción:
The search API allows us to search for records in the parameterized modules of our CRM by sending parameters.
How does it work?:
This API works through a POST request, which requires the following fields for its correct operation: – en el header: “Wolkvox-Token“, The body of the request requires: – “operation“, “module” , “field” , “value“.
FIELD | DESCRIPTION |
---|---|
operation | It is the operation in which the client has configured the token and the module in which the record is created. |
wolkvox-token | It is the token configured by the client on the CRM page, which is located in the headers. |
module | It is the module that the client will consult. |
field | The parameters of our search are the fields that the client has configured in his module. |
value | It is given the lookup value we will need via the “field” field. |
"Direccion": { "value": "Calle 01 Casa", "addressOptions": [ { "listOptions": [ "Calle", "Carrera", "Avenida", "Circunvalar" ], "name": "Nomenclatura", "value": "Calle", "type": "list" }, { "type": "text", "name": "Numero", "value": "01", "listOptions": [] }, { "type": "list", "name": "Adicional", "value": "Casa", "listOptions": [ "Int", "Casa", "Edificio", "Apto" ] } ] },
"Campo": [ "aprobado" ]
"Usuario": "Usuarioactual@operacion"
"Moneda": { "value": "1000", "symbol": "USD", "convert": 1000 }
"Fecha": "2022-01-03 00:00:00"
"F y H": "2022-01-21 00:04:00"
"Desc": "Texto"
"Correo": "correo@wolkvox.com"
"Lista": "A"
"Lista Múltiple": [ "c", "d", "a" ]
"Numero": 8
"Radio": "D"
"Ramdon": "d5e1fy9f8b86a0"
"Interruptor": true
"Telefono": { "value": "3014202157", "country": "Colombia", "code": "57" },
"Texto": "texto"
"Hora": "08:24:47"
"url": "https://mail.google.com/mail/u/0/#chat/space/AAAAxL46GKs"
"Busqueda": { "value": "valor1", "value_id": "6158ze11f25673d6744851zby4", "searchModuleName": "pruebaCargue" }
"Moneda": { "type": "currency", "value": "25", "symbol": "", "convert": 25 }
"Phone": { "type": "telephone", "value": "376730003", "country": "Andorra", "code": "376" }
"Direccion": { "type": "address", "value": "cr 84 #65-21" }
"tabl": { "type": "table", "value":[{ "op1": "valor1 ", "op2": "valor2" }, { "op1": "valor1", "op2": "valor2" }] }
'https://{{wolkvox_server}}/server/API/v2/custom/query.php',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"operation":"{operation}",
"module":"{module}",
"field":"{field}",
"value":"{value}"
}',
CURLOPT_HTTPHEADER => array(
'wolkvox-token':'{TOKEN}',
'Content-Type: application/json',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
curl --location --request POST 'https://{{wolkvox_server}}/server/API/v2/custom/query.php' \
--header 'Wolkvox-Token: {Wolkvox_Token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"operation":"{operacion},
"module":"{modulo}",
"field":"{campo}",
"value":"{valor}"
}'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"operation\":\{"operation\"},\r\n \"module\":\{"module\"},\r\n \"field\":\{"field\"},\r\n \"value\":\{"value\"}\r\n}");
Request request = new Request.Builder()
.url("https://{{wolkvox_server}}/server/API/v2/custom/query.php")
.method("POST", body)
.addHeader("Wolkvox-Token", {"Wolkvox-Token"})
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();
import requests
import json
url = "https://{{wolkvox_server}}/server/API/v2/custom/query.php"
payload = json.dumps({
"operation": "{operation}",
"module": "{module}",
"field": "{field}",
"value": "{value}"
})
headers = {
'Wolkvox-Token': '{Wolkvox-Token}',
'Content-Type': 'application/json',
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Medellín +57 (604) 322 98 80
Bogotá +57 (601) 381 90 40
Cali +57 (602) 891 28 46
Barranquilla +57 (605) 316 10 34
Goiânia +55 (62) 99328 6605
Santiago de Chile +56 (2) 240 533 89
Atlanta +1 (678) 496 7474
Ciudad de Guatemala +502 (2) 314 1344
Ciudad de México +52 (55) 8526 36 34
Copyright © 2022 MICROSYSLABS S.A.S. Cra 30 # 4A-45 Of. 205 Ed. FOREVER W&L, Medellín, Colombia
COLOMBIA
Medellín +57 (4) 322 98 80
Bogotá +57 (1) 381 90 40
Cali +57 (2) 891 28 46
Barranquilla +57 (5) 316 10 34
ARGENTINA
Buenos Aires +54 (11) 5217 5933
SPAIN
Madrid +34 (910) 601 691
MEXICO
Ciudad de México +52 (55) 8526 36 34
BRASIL
Brasilia +55 (61) 9836 4127
São Paulo +55 (12) 9811 155 83
UNITED STATES
New York +1 (914) 373 71 36
DOMINICAN REPUBLIC
Santo Domingo +1 (829) 249 69 68
CHILE
Santiago de Chile +56 (2) 240 533 89
GUATEMALA
Ciudad de Guatemala +502 (2) 314 1344
PERU
Lima +51 (1) 644 91 39
Copyright © 2022 MICROSYSLABS S.A.S.
Cra 30 # 4A – 45 Of. 205 Ed. FOREVER W&L, Medellín, Colombia
Usamos cookies, se continuar a navegar assumimos que concorda. Pode ler mais sobre a utilização de cookies nas nossas políticas de privacidade e tratamento de dados pessoais