GET /consultation_schedule_notifications
curl --request GET \
--url https://api.example.test/consultation_schedule_notifications \
--header 'Content-Type: application/json' \
--data '
{
"consultation_request": {
"cause": "<string>",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"confirmed_at": "2023-11-07T05:31:56Z",
"reminder": true,
"sms_reminder": true,
"schedule_type": "<string>",
"overlaps_with": 123,
"price": 123,
"account_confirmed": true,
"person_id": 123,
"account_id": 123
}
}
'import requests
url = "https://api.example.test/consultation_schedule_notifications"
payload = { "consultation_request": {
"cause": "<string>",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"confirmed_at": "2023-11-07T05:31:56Z",
"reminder": True,
"sms_reminder": True,
"schedule_type": "<string>",
"overlaps_with": 123,
"price": 123,
"account_confirmed": True,
"person_id": 123,
"account_id": 123
} }
headers = {"Content-Type": "application/json"}
response = requests.get(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
consultation_request: {
cause: '<string>',
starts_at: '2023-11-07T05:31:56Z',
ends_at: '2023-11-07T05:31:56Z',
confirmed_at: '2023-11-07T05:31:56Z',
reminder: true,
sms_reminder: true,
schedule_type: '<string>',
overlaps_with: 123,
price: 123,
account_confirmed: true,
person_id: 123,
account_id: 123
}
})
};
fetch('https://api.example.test/consultation_schedule_notifications', 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.example.test/consultation_schedule_notifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => json_encode([
'consultation_request' => [
'cause' => '<string>',
'starts_at' => '2023-11-07T05:31:56Z',
'ends_at' => '2023-11-07T05:31:56Z',
'confirmed_at' => '2023-11-07T05:31:56Z',
'reminder' => true,
'sms_reminder' => true,
'schedule_type' => '<string>',
'overlaps_with' => 123,
'price' => 123,
'account_confirmed' => true,
'person_id' => 123,
'account_id' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.example.test/consultation_schedule_notifications"
payload := strings.NewReader("{\n \"consultation_request\": {\n \"cause\": \"<string>\",\n \"starts_at\": \"2023-11-07T05:31:56Z\",\n \"ends_at\": \"2023-11-07T05:31:56Z\",\n \"confirmed_at\": \"2023-11-07T05:31:56Z\",\n \"reminder\": true,\n \"sms_reminder\": true,\n \"schedule_type\": \"<string>\",\n \"overlaps_with\": 123,\n \"price\": 123,\n \"account_confirmed\": true,\n \"person_id\": 123,\n \"account_id\": 123\n }\n}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Content-Type", "application/json")
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.example.test/consultation_schedule_notifications")
.header("Content-Type", "application/json")
.body("{\n \"consultation_request\": {\n \"cause\": \"<string>\",\n \"starts_at\": \"2023-11-07T05:31:56Z\",\n \"ends_at\": \"2023-11-07T05:31:56Z\",\n \"confirmed_at\": \"2023-11-07T05:31:56Z\",\n \"reminder\": true,\n \"sms_reminder\": true,\n \"schedule_type\": \"<string>\",\n \"overlaps_with\": 123,\n \"price\": 123,\n \"account_confirmed\": true,\n \"person_id\": 123,\n \"account_id\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.test/consultation_schedule_notifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"consultation_request\": {\n \"cause\": \"<string>\",\n \"starts_at\": \"2023-11-07T05:31:56Z\",\n \"ends_at\": \"2023-11-07T05:31:56Z\",\n \"confirmed_at\": \"2023-11-07T05:31:56Z\",\n \"reminder\": true,\n \"sms_reminder\": true,\n \"schedule_type\": \"<string>\",\n \"overlaps_with\": 123,\n \"price\": 123,\n \"account_confirmed\": true,\n \"person_id\": 123,\n \"account_id\": 123\n }\n}"
response = http.request(request)
puts response.read_bodyAppointments
GET /consultation_schedule_notifications
GET
/
consultation_schedule_notifications
GET /consultation_schedule_notifications
curl --request GET \
--url https://api.example.test/consultation_schedule_notifications \
--header 'Content-Type: application/json' \
--data '
{
"consultation_request": {
"cause": "<string>",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"confirmed_at": "2023-11-07T05:31:56Z",
"reminder": true,
"sms_reminder": true,
"schedule_type": "<string>",
"overlaps_with": 123,
"price": 123,
"account_confirmed": true,
"person_id": 123,
"account_id": 123
}
}
'import requests
url = "https://api.example.test/consultation_schedule_notifications"
payload = { "consultation_request": {
"cause": "<string>",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"confirmed_at": "2023-11-07T05:31:56Z",
"reminder": True,
"sms_reminder": True,
"schedule_type": "<string>",
"overlaps_with": 123,
"price": 123,
"account_confirmed": True,
"person_id": 123,
"account_id": 123
} }
headers = {"Content-Type": "application/json"}
response = requests.get(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
consultation_request: {
cause: '<string>',
starts_at: '2023-11-07T05:31:56Z',
ends_at: '2023-11-07T05:31:56Z',
confirmed_at: '2023-11-07T05:31:56Z',
reminder: true,
sms_reminder: true,
schedule_type: '<string>',
overlaps_with: 123,
price: 123,
account_confirmed: true,
person_id: 123,
account_id: 123
}
})
};
fetch('https://api.example.test/consultation_schedule_notifications', 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.example.test/consultation_schedule_notifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => json_encode([
'consultation_request' => [
'cause' => '<string>',
'starts_at' => '2023-11-07T05:31:56Z',
'ends_at' => '2023-11-07T05:31:56Z',
'confirmed_at' => '2023-11-07T05:31:56Z',
'reminder' => true,
'sms_reminder' => true,
'schedule_type' => '<string>',
'overlaps_with' => 123,
'price' => 123,
'account_confirmed' => true,
'person_id' => 123,
'account_id' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.example.test/consultation_schedule_notifications"
payload := strings.NewReader("{\n \"consultation_request\": {\n \"cause\": \"<string>\",\n \"starts_at\": \"2023-11-07T05:31:56Z\",\n \"ends_at\": \"2023-11-07T05:31:56Z\",\n \"confirmed_at\": \"2023-11-07T05:31:56Z\",\n \"reminder\": true,\n \"sms_reminder\": true,\n \"schedule_type\": \"<string>\",\n \"overlaps_with\": 123,\n \"price\": 123,\n \"account_confirmed\": true,\n \"person_id\": 123,\n \"account_id\": 123\n }\n}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Content-Type", "application/json")
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.example.test/consultation_schedule_notifications")
.header("Content-Type", "application/json")
.body("{\n \"consultation_request\": {\n \"cause\": \"<string>\",\n \"starts_at\": \"2023-11-07T05:31:56Z\",\n \"ends_at\": \"2023-11-07T05:31:56Z\",\n \"confirmed_at\": \"2023-11-07T05:31:56Z\",\n \"reminder\": true,\n \"sms_reminder\": true,\n \"schedule_type\": \"<string>\",\n \"overlaps_with\": 123,\n \"price\": 123,\n \"account_confirmed\": true,\n \"person_id\": 123,\n \"account_id\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.test/consultation_schedule_notifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"consultation_request\": {\n \"cause\": \"<string>\",\n \"starts_at\": \"2023-11-07T05:31:56Z\",\n \"ends_at\": \"2023-11-07T05:31:56Z\",\n \"confirmed_at\": \"2023-11-07T05:31:56Z\",\n \"reminder\": true,\n \"sms_reminder\": true,\n \"schedule_type\": \"<string>\",\n \"overlaps_with\": 123,\n \"price\": 123,\n \"account_confirmed\": true,\n \"person_id\": 123,\n \"account_id\": 123\n }\n}"
response = http.request(request)
puts response.read_bodyBody
application/json
Show child attributes
Show child attributes
Response
200
Successful response
⌘I