Obter resultados #
Esta solicitação aceita um relatório ' requestId' e retorna os resultados do relatório, se concluído.
GET /v1.0/workspaces/{WORKSPACE_ID}/reports/{REPORT_ID}/results/{REQUEST_ID}/data
Exemplo #
Essa solicitação retorna os dados de resultado de uma solicitação de relatório concluída.
Pedir #
GET <https://api.au.myreports.cloud/api/v1.0/workspaces/00000000-0000-0000-0000-000000000001/reports/00000000-0000-0000-0000-000000000001/results/00000000-0000-0000-0000-000000000005/data> HTTP/1.1
Autorização: Portador {TOKEN}Resposta #
HTTP/1.1 200 OK
Tipo de Conteúdo: application/json; charset=utf-8
Conteúdo - Duração: xx
{
"requestId": "00000000-0000-0000-0000-0000000000005",
"inquilinoId": "00000000-0000-0000-00000-0000000000",
"pedido": {
"requestId": "00000000-0000-0000-0000-0000000000005",
"dataCriado": "2025-09-22T15:27:40.1946146Z",
"inquilinoId": "00000000-0000-0000-00000-0000000000",
"reportId": "00000000-0000-0000-0000-0000000000001",
"NomeDeTemplateReport": "ListaDeChamadaPorSegmentadoUsuárioSegmentado",
"filterConditions": \[
{
"fieldName": "start",
"operador": ">=",
"valores": ["2025-01-01T00:00:00.0000000+00:00"][
"2025-01-01T00:00:00.0000000+00:00"
]
},
{
"fieldName": "fim",
"operadora": "\<",
"valores": ["2025-09-22T15:12:40.1423517+00:00"][
"2025-09-22T15:12:40.1423517+00:00"
]
}
],
"sortFields": [
{
"fieldName": "start",
"direção": 1
}
][
{
"fieldName": "start",
"direction": 1
}
],
"displayFields": [
{
"fieldName": "connId",
"obrigatório": falso
},
{
"fieldName": "start",
"obrigatório": falso
},
{
"fieldName": "userName",
"obrigatório": falso
},
{
"fieldName": "userNum",
"obrigatório": falso
},
{
"fieldName": "cli",
"obrigatório": falso
},
{
"fieldName": "cliName",
"obrigatório": falso
},
{
"fieldName": "hgNum",
"obrigatório": falso
},
{
"fieldName": "callType",
"obrigatório": falso
},
{
"fieldName": "callDir",
"obrigatório": falso
},
{
"fieldName": "ans",
"obrigatório": falso
},
{
"fieldName": "ref",
"obrigatório": falso
},
{
"fieldName": "lost",
"obrigatório": falso
},
{
"fieldName": "anel",
"obrigatório": falso
},
{
"fieldName": "duração",
"obrigatório": falso
},
{
"fieldName": "chamadoUserNum",
"obrigatório": falso
},
{
"fieldName": "chamadoNomeDeUsuário",
"obrigatório": falso
},
{
"fieldName": "callUserName",
"obrigatório": falso
},
{
"fieldName": "callUserNum",
"obrigatório": falso
},
{
"fieldName": "hgName",
"obrigatório": falso
}
][
{
"fieldName": "connId",
"mandatory": false
},
{
"fieldName": "start",
"mandatory": false
},
{
"fieldName": "userName",
"mandatory": false
},
{
"fieldName": "userNum",
"mandatory": false
},
{
"fieldName": "cli",
"mandatory": false
},
{
"fieldName": "cliName",
"mandatory": false
},
{
"fieldName": "hgNum",
"mandatory": false
},
{
"fieldName": "callType",
"mandatory": false
},
{
"fieldName": "callDir",
"mandatory": false
},
{
"fieldName": "ans",
"mandatory": false
},
{
"fieldName": "ref",
"mandatory": false
},
{
"fieldName": "lost",
"mandatory": false
},
{
"fieldName": "ring",
"mandatory": false
},
{
"fieldName": "duration",
"mandatory": false
},
{
"fieldName": "calledUserNum",
"mandatory": false
},
{
"fieldName": "calledUserName",
"mandatory": false
},
{
"fieldName": "callUserName",
"mandatory": false
},
{
"fieldName": "callUserNum",
"mandatory": false
},
{
"fieldName": "hgName",
"mandatory": false
}
],
"filhosCampoDisplay": \[],
"ignorarCampoDisplay": falso,
"metadata": {
"reportName": null,
"dateFilter": {
"presetName": "EsteAno",
"presetFilterObject": {
"unidades": 6,
"deslocamento": 0,
"Comprimento": 1,
"roundingMode": 1,
"diasDeSemana": 127
},
"diasDeSemana": 127
},
"dataReferência": "2025-09-22T15:27:40.1423161+00:00",
"dataReferênciaHora": "2025-09-22T16:27:40",
"filterId": null,
"adicionalalFilters": \[],
"workspaceFilterId": null,
"timezoneDateFrom": "2025-01-01T00:00:00",
"timezoneDateTo": "2025-09-22T16:12:40",
"timeZoneDataCriada": "2025-09-22T15:27:40.1423517+00:00",
"timeZoneAbbreviação": "BST"
},
"fonte": "api.onboarding",
"páginaTamanho": -1,
"loteTamanho": -1,
"rowLimit": 1000000,
"PrioridadeLevel": 2,
"callRatePeriod": 120,
"ignorarChamadasAbandonadas": falso,
"ignorarChamadasAtendidas Curtas": falso,
"accountCodeLabels": {},
"AnelDuraçãoLimiar": [
10,
20,
30,
40,
50,
60,
70,
80,
90,
100,
110,
120,
120
][
10,
20,
30,
40,
50,
60,
70,
80,
90,
100,
110,
120,
120
],
"receitaEstimadaRecebida": 100,0,
"chamadasRecebidasPerSale": 5,
"Receita EstimadaSaída": 100,0,
"Chamadas de saída": 5,
"PeríodoPeríodoDuraçãoEmSegundos": 10,
"timeZoneId": "Europa/Londres",
"countryCode": "GB",
"locale": "en-GB",
"totalTrunks": 10,
"maxRows": 0
},
"esforço": 210,17,
"queryDuração": 2076,
"totalDuração": 2121,
"queryCount": 2053,
"rowLimitExceed": falso,
"totalContagem": 922,
"data": [
{
"connId": "00000000-0000-0000-0000-000000000001",
"início": "2025-09-18T11:16:31",
"userName": "Teste User 1",
"userNum": "101",
"cli": "+11234567890",
"cliName": "",
"hgNum": "200",
"callType": 2,
"callDir": 2,
"anel": 1.0,
"duração": 1.0,
"chamadoNumUsuário": "+19876543210",
"chamadoNomeDeUsuário": "Desconhecido",
"callUserNum": "+11234567890",
"hgName": "Fila 200",
"docId": "00000000-0000-0000-00000-000000000009"
},
{
"connId": "00000000-0000-0000-0000-00000000002",
"início": "2025-09-18T11:16:13",
"userName": "Teste User 1",
"userNum": "101",
"cli": "+11234567890",
"cliName": "",
"callType": 2,
"callDir": 3,
"resposta": 1,
"anel": 5.0,
"duração": 6.0,
"chamadoNumUsuário": "+19876543210",
"callUserName": Teste Usuário 1",
"callUserNum": "101",
"docId": "00000000-0000-0000-0000-000000000010"
},
{
"connId": "00000000-0000-0000-00000-00000000003",
"início": "2025-01-03T16:44:40",
"Nome do Usuário": "Teste Usuário 2",
"userNum": "102",
"callType": 1,
"callDir": 2,
"resposta": 1,
"anel": 0.0,
"duração": 498,0,
"chamadoUserNum": "00000000-0000-0000-0000-00000000012",
"chamadoNomeDeUsuário": "Teste Usuário 2",
"docId": "00000000-0000-0000-0000-00000000011"
}
][
{
"connId": "00000000-0000-0000-0000-000000000001",
"start": "2025-09-18T11:16:31",
"userName": "Test User 1",
"userNum": "101",
"cli": "+11234567890",
"cliName": "",
"hgNum": "200",
"callType": 2,
"callDir": 2,
"ring": 1.0,
"duration": 1.0,
"calledUserNum": "+19876543210",
"calledUserName": "Unknown",
"callUserNum": "+11234567890",
"hgName": "Queue 200",
"docId": "00000000-0000-0000-0000-000000000009"
},
{
"connId": "00000000-0000-0000-0000-000000000002",
"start": "2025-09-18T11:16:13",
"userName": "Test User 1",
"userNum": "101",
"cli": "+11234567890",
"cliName": "",
"callType": 2,
"callDir": 3,
"ans": 1,
"ring": 5.0,
"duration": 6.0,
"calledUserNum": "+19876543210",
"callUserName": Test User 1",
"callUserNum": "101",
"docId": "00000000-0000-0000-0000-000000000010"
},
{
"connId": "00000000-0000-0000-0000-000000000003",
"start": "2025-01-03T16:44:40",
"userName": "Test User 2",
"userNum": "102",
"callType": 1,
"callDir": 2,
"ans": 1,
"ring": 0.0,
"duration": 498.0,
"calledUserNum": "00000000-0000-0000-0000-000000000012",
"calledUserName": "Test User 2",
"docId": "00000000-0000-0000-0000-000000000011"
}
],
"Resumo": [
{
"resposta": 621,
"árbitro": 37,
"Perdido": 79,
"Anel": 3318.0,
"duração": 124315,0
}
][
{
"ans": 621,
"ref": 37,
"lost": 79,
"ring": 3318.0,
"duration": 124315.0
}
],
"status": 1,
"statusMessage": "Processamento do relatório concluído",
"rowLimit": 1000000
}Erros #
Desautorizado #
Quando o token não é fornecido, é inválido ou expirado
HTTP/1.1 401 Não autorizado