Call insights
Get call outcome reason
GET
/
api
/
calls
/
{call_pk}
/
purposes
/
{purpose_pk}
/
outcomes
/
{outcome_pk}
/
reasons
/
{id}
/
Get call outcome reason
curl --request GET \
--url https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/', 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://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"call_outcome_reason_type": "not_enough_information_possesed_by_patient_or_agent",
"call_outcome": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"modified_by": "<string>"
}{
"detail": "'Authorization' header is required"
}{
"message": "No permissions assigned to permit access to this endpoint."
}{
"detail": "The requested resource was not found."
}Authorizations
Bearer access token issued by Peerlogic.
Path Parameters
A unique value identifying this call outcome reason.
Response
Successful response for get outcome reason.
Available options:
not_enough_information_possesed_by_patient_or_agent, patient_lacks_information_to_complete_request, practice_lacks_information_to_complete_request, procedure_not_offered, treatment_not_offered, patient_ineligible_for_treatment, caller_indifference, insurance, insurance_not_taken, pricing, financial, lost, too_expensive, scheduling, day_or_time_not_available, call_interrupted, call_not_connected, others, not_applicable, incorrect_dental_code, incomplete_information_on_claim, insurance_coverage_limit_annual, insurance_coverage_limit_lifetime, insurance_coverage_time_limit, insurance_incorrect_beneficiary_information, insurance_coverage_expired, insurance_coordination_of_benefits, insurance_preauthorization_not_obtained, insurance_procedure_not_covered Minimum string length:
1Was this page helpful?
Get call outcome reason
curl --request GET \
--url https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/', 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://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.prod.peerlogic.com/api/calls/{call_pk}/purposes/{purpose_pk}/outcomes/{outcome_pk}/reasons/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"call_outcome_reason_type": "not_enough_information_possesed_by_patient_or_agent",
"call_outcome": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"modified_by": "<string>"
}{
"detail": "'Authorization' header is required"
}{
"message": "No permissions assigned to permit access to this endpoint."
}{
"detail": "The requested resource was not found."
}