getAbandonadasFila
curl --request POST \
--url https://{baseUrl}/ipbox/api/getAbandonadasFila \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data user=fila \
--data de=de \
--data ate=ateimport requests
url = "https://{baseUrl}/ipbox/api/getAbandonadasFila"
payload = {
"user": "fila",
"de": "de",
"ate": "ate"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({user: 'fila', de: 'de', ate: 'ate'})
};
fetch('https://{baseUrl}/ipbox/api/getAbandonadasFila', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{baseUrl}/ipbox/api/getAbandonadasFila",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "user=fila&de=de&ate=ate",
CURLOPT_HTTPHEADER => [
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/ipbox/api/getAbandonadasFila"
payload := strings.NewReader("user=fila&de=de&ate=ate")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{baseUrl}/ipbox/api/getAbandonadasFila")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("user=fila&de=de&ate=ate")
.asString();require 'uri'
require 'net/http'
url = URI("https://{baseUrl}/ipbox/api/getAbandonadasFila")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "user=fila&de=de&ate=ate"
response = http.request(request)
puts response.read_bodyFilas
getAbandonadasFila
Retorna a quantidade de ligações abandonadas na fila, no ramal com atendimento e no ramal sem atendimento, no período especificado.
Response:
| abandFila | Quantidade de ligações abandonadas na fila |
| abandRamalComAtend | Quantidade de ligações abandonadas no ramal com atendimento |
| abandRamalSemAtend | Quantidade de ligações abandonadas no ramal sem atendimento |
POST
/
ipbox
/
api
/
getAbandonadasFila
getAbandonadasFila
curl --request POST \
--url https://{baseUrl}/ipbox/api/getAbandonadasFila \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data user=fila \
--data de=de \
--data ate=ateimport requests
url = "https://{baseUrl}/ipbox/api/getAbandonadasFila"
payload = {
"user": "fila",
"de": "de",
"ate": "ate"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({user: 'fila', de: 'de', ate: 'ate'})
};
fetch('https://{baseUrl}/ipbox/api/getAbandonadasFila', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{baseUrl}/ipbox/api/getAbandonadasFila",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "user=fila&de=de&ate=ate",
CURLOPT_HTTPHEADER => [
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/ipbox/api/getAbandonadasFila"
payload := strings.NewReader("user=fila&de=de&ate=ate")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{baseUrl}/ipbox/api/getAbandonadasFila")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("user=fila&de=de&ate=ate")
.asString();require 'uri'
require 'net/http'
url = URI("https://{baseUrl}/ipbox/api/getAbandonadasFila")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "user=fila&de=de&ate=ate"
response = http.request(request)
puts response.read_bodyBody
application/x-www-form-urlencoded
Nome da Fila.
Example:
"fila"
AAAAMMDDHHMMSS (onde AAAA = ano, MM = mês, DD = dia, HH = hora, MM = minuto, SS = segundo, exemplo: 20210513080000).
Example:
"de"
AAAAMMDDHHMMSS (onde AAAA = ano, MM = mês, DD = dia, HH = hora, MM = minuto, SS = segundo, exemplo: 20210513080000).
Example:
"ate"
Response
200 - application/json
Successful response