Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by submitting the correct login information in the Login Endpoint.
Auth Multi-Factor Management
APIs for doing two factor authentication with Twilio
Get MFA Settings
This endpoint lets you get mfa settings
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/auth/mfa/settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/auth/mfa/settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/auth/mfa/settings',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/mfa/settings'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Send OTP
requires authentication
This API will send OTP to the User currently in Session
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/auth/mfa/sms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/auth/mfa/sms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/auth/mfa/sms',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/mfa/sms'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Verify OTP
requires authentication
This endpoint lets you verify the OTP from Twilio
Example request:
curl --request POST \
"https://api.getdentalray.com/api/auth/mfa/verify" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"dolor\"
}"
const url = new URL(
"https://api.getdentalray.com/api/auth/mfa/verify"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "dolor"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/auth/mfa/verify',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'code' => 'dolor',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/mfa/verify'
payload = {
"code": "dolor"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Category Management
APIs for managing Categories
Get all Categories
requires authentication
This endpoint lets you get all the Categories
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/category" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/category"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/category',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/category'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a Category
requires authentication
This endpoint lets you store a new Category
Example request:
curl --request POST \
"https://api.getdentalray.com/api/category" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/category"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/category',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/category'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Show a Category
requires authentication
This endpoint lets you get a Category
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update a Category
requires authentication
This endpoint lets you update a single Category
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers)
response.json()Received response:
Request failed with error:
Delete a Category
requires authentication
This endpoint lets you delete a single Category
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/category/magnam-error-saepe-temporibus-id-fugiat'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Dicom Management
API for managing dicom (worklists, media, patient) information.
Store Dicom
requires authentication
Create worklists, media, and patient according to the parameters.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/dicom" \
--header "Authorization: bearer: {token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"studyInstanceUID\": \"occaecati\",
\"sopInstanceUID\": \"atque\",
\"studyDate\": \"2023-03-27T09:56:54\",
\"manufacturer\": \"suscipit\",
\"manufacturerModelName\": \"saepe\",
\"manufacturerModelVersion\": \"adipisci\",
\"patientId\": \"minima\",
\"patientName\": \"architecto\",
\"patientBirthDate\": \"2023-03-27T09:56:54\",
\"patientSex\": \"nihil\",
\"acquisitionDateTime\": \"2023-03-27T09:56:54\",
\"modality\": \"non\",
\"institutionName\": \"cumque\",
\"institutionAddress\": \"adipisci\",
\"referringPhysicianName\": \"maxime\"
}"
const url = new URL(
"https://api.getdentalray.com/api/dicom"
);
const headers = {
"Authorization": "bearer: {token}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"studyInstanceUID": "occaecati",
"sopInstanceUID": "atque",
"studyDate": "2023-03-27T09:56:54",
"manufacturer": "suscipit",
"manufacturerModelName": "saepe",
"manufacturerModelVersion": "adipisci",
"patientId": "minima",
"patientName": "architecto",
"patientBirthDate": "2023-03-27T09:56:54",
"patientSex": "nihil",
"acquisitionDateTime": "2023-03-27T09:56:54",
"modality": "non",
"institutionName": "cumque",
"institutionAddress": "adipisci",
"referringPhysicianName": "maxime"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/dicom',
[
'headers' => [
'Authorization' => 'bearer: {token}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'studyInstanceUID' => 'occaecati',
'sopInstanceUID' => 'atque',
'studyDate' => '2023-03-27T09:56:54',
'manufacturer' => 'suscipit',
'manufacturerModelName' => 'saepe',
'manufacturerModelVersion' => 'adipisci',
'patientId' => 'minima',
'patientName' => 'architecto',
'patientBirthDate' => '2023-03-27T09:56:54',
'patientSex' => 'nihil',
'acquisitionDateTime' => '2023-03-27T09:56:54',
'modality' => 'non',
'institutionName' => 'cumque',
'institutionAddress' => 'adipisci',
'referringPhysicianName' => 'maxime',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/dicom'
payload = {
"studyInstanceUID": "occaecati",
"sopInstanceUID": "atque",
"studyDate": "2023-03-27T09:56:54",
"manufacturer": "suscipit",
"manufacturerModelName": "saepe",
"manufacturerModelVersion": "adipisci",
"patientId": "minima",
"patientName": "architecto",
"patientBirthDate": "2023-03-27T09:56:54",
"patientSex": "nihil",
"acquisitionDateTime": "2023-03-27T09:56:54",
"modality": "non",
"institutionName": "cumque",
"institutionAddress": "adipisci",
"referringPhysicianName": "maxime"
}
headers = {
'Authorization': 'bearer: {token}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Update Dicom
requires authentication
Update worklist, media and patient according to the paramters where id matches worklist.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/dicom/74" \
--header "Authorization: bearer: {token}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"studyDate\": \"2023-03-27T09:56:54\",
\"patientId\": \"maxime\",
\"patientName\": \"sed\",
\"patientBirthDate\": \"2023-03-27T09:56:54\",
\"patientSex\": \"molestiae\",
\"status\": \"corrupti\",
\"scan_status\": \"assumenda\"
}"
const url = new URL(
"https://api.getdentalray.com/api/dicom/74"
);
const headers = {
"Authorization": "bearer: {token}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"studyDate": "2023-03-27T09:56:54",
"patientId": "maxime",
"patientName": "sed",
"patientBirthDate": "2023-03-27T09:56:54",
"patientSex": "molestiae",
"status": "corrupti",
"scan_status": "assumenda"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/dicom/74',
[
'headers' => [
'Authorization' => 'bearer: {token}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'studyDate' => '2023-03-27T09:56:54',
'patientId' => 'maxime',
'patientName' => 'sed',
'patientBirthDate' => '2023-03-27T09:56:54',
'patientSex' => 'molestiae',
'status' => 'corrupti',
'scan_status' => 'assumenda',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/dicom/74'
payload = {
"studyDate": "2023-03-27T09:56:54",
"patientId": "maxime",
"patientName": "sed",
"patientBirthDate": "2023-03-27T09:56:54",
"patientSex": "molestiae",
"status": "corrupti",
"scan_status": "assumenda"
}
headers = {
'Authorization': 'bearer: {token}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Endpoints
Authenticate the request for channel access.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/broadcasting/auth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/broadcasting/auth"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/broadcasting/auth',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/broadcasting/auth'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store User Heartbeat
requires authentication
This endpoint lets you store the last sync details from the user
Example request:
curl --request POST \
"https://api.getdentalray.com/api/heartbeat" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"version\": \"accusamus\"
}"
const url = new URL(
"https://api.getdentalray.com/api/heartbeat"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"version": "accusamus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/heartbeat',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'version' => 'accusamus',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/heartbeat'
payload = {
"version": "accusamus"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Form Management
All Forms
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/form" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/form',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/form'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store Form
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/form" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/form',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/form'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Show Form
Display the specified resource matching the given id.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/form/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/form/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/form/1',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/form/1'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Media Management
APIs for managing Media
Get all Media
requires authentication
This endpoint lets you get all the Media
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/media" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/media"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/media',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/media'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a Media
requires authentication
This endpoint lets you store a new Media
Example request:
curl --request POST \
"https://api.getdentalray.com/api/media" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "s3_object=voluptatum" \
--form "status=assumenda" \
--form "description=Quia quis ab incidunt aut accusantium officia nisi." \
--form "meta[is_dicom]=1" \
--form "file=@/tmp/phprHndDg" const url = new URL(
"https://api.getdentalray.com/api/media"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('s3_object', 'voluptatum');
body.append('status', 'assumenda');
body.append('description', 'Quia quis ab incidunt aut accusantium officia nisi.');
body.append('meta[is_dicom]', '1');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/media',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'multipart/form-data',
'Accept' => 'application/json',
],
'multipart' => [
[
'name' => 's3_object',
'contents' => 'voluptatum'
],
[
'name' => 'status',
'contents' => 'assumenda'
],
[
'name' => 'description',
'contents' => 'Quia quis ab incidunt aut accusantium officia nisi.'
],
[
'name' => 'meta[is_dicom]',
'contents' => '1'
],
[
'name' => 'file',
'contents' => fopen('/tmp/phprHndDg', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/media'
files = {
'file': open('/tmp/phprHndDg', 'rb')
}
payload = {
"s3_object": "voluptatum",
"status": "assumenda",
"description": "Quia quis ab incidunt aut accusantium officia nisi.",
"meta": {
"is_dicom": true
}
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'multipart/form-data',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, files=files, data=payload)
response.json()Received response:
Request failed with error:
Show a Media
requires authentication
This endpoint lets you get a Media
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/media/401" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/media/401"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/media/401',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/media/401'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update a Media
requires authentication
This endpoint lets you update a Media File matching the provided ID.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/media/401" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/media/401"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/media/401',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/media/401'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers)
response.json()Received response:
Request failed with error:
Delete a Media
requires authentication
This endpoint lets you delete a single Role
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/media/401" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/media/401"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/media/401',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/media/401'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Download Media
requires authentication
This endpoint lets you download a single Media file that matches the ID Request Query.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/media/401/download" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/media/401/download"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/media/401/download',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/media/401/download'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Office Management
APIs for managing Offices
Get all Offices
requires authentication
This endpoint lets you get all Offices
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/office" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/office"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/office',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/office'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
GET api/office/form-office
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/office/form-office" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/office/form-office"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/office/form-office',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/office/form-office'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
GET api/office/form-dentists
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/office/form-dentists" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/office/form-dentists"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/office/form-dentists',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/office/form-dentists'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store Office
requires authentication
This endpoint lets you add a new Office
Example request:
curl --request POST \
"https://api.getdentalray.com/api/office" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"necessitatibus\",
\"address_line_1\": \"ea\",
\"city\": \"sed\",
\"state\": \"voluptatem\",
\"zipcode\": \"aut\",
\"primary_contact_name\": \"repudiandae\",
\"primary_contact_email\": \"chyna.botsford@example.org\",
\"practice_management_software\": \"maxime\",
\"cbct_make_and_model\": \"quae\",
\"image_viewing_software\": \"recusandae\"
}"
const url = new URL(
"https://api.getdentalray.com/api/office"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "necessitatibus",
"address_line_1": "ea",
"city": "sed",
"state": "voluptatem",
"zipcode": "aut",
"primary_contact_name": "repudiandae",
"primary_contact_email": "chyna.botsford@example.org",
"practice_management_software": "maxime",
"cbct_make_and_model": "quae",
"image_viewing_software": "recusandae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/office',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'necessitatibus',
'address_line_1' => 'ea',
'city' => 'sed',
'state' => 'voluptatem',
'zipcode' => 'aut',
'primary_contact_name' => 'repudiandae',
'primary_contact_email' => 'chyna.botsford@example.org',
'practice_management_software' => 'maxime',
'cbct_make_and_model' => 'quae',
'image_viewing_software' => 'recusandae',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/office'
payload = {
"name": "necessitatibus",
"address_line_1": "ea",
"city": "sed",
"state": "voluptatem",
"zipcode": "aut",
"primary_contact_name": "repudiandae",
"primary_contact_email": "chyna.botsford@example.org",
"practice_management_software": "maxime",
"cbct_make_and_model": "quae",
"image_viewing_software": "recusandae"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Show Office
requires authentication
This endpoit lets you get a single Office that matched with the id.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/office/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/office/14"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/office/14',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/office/14'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update Office
requires authentication
This endpoint lets you get a single Office that matches with the id.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/office/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"similique\",
\"address_line_1\": \"itaque\",
\"address_line_2\": \"rerum\",
\"city\": \"cum\",
\"state\": \"ipsum\",
\"zipcode\": \"dolorem\",
\"primary_contact_name\": \"consequatur\",
\"primary_contact_email\": \"weissnat.maritza@example.net\",
\"practice_management_software\": \"architecto\",
\"cbct_make_and_model\": \"a\",
\"image_viewing_software\": \"deserunt\"
}"
const url = new URL(
"https://api.getdentalray.com/api/office/14"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "similique",
"address_line_1": "itaque",
"address_line_2": "rerum",
"city": "cum",
"state": "ipsum",
"zipcode": "dolorem",
"primary_contact_name": "consequatur",
"primary_contact_email": "weissnat.maritza@example.net",
"practice_management_software": "architecto",
"cbct_make_and_model": "a",
"image_viewing_software": "deserunt"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/office/14',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'similique',
'address_line_1' => 'itaque',
'address_line_2' => 'rerum',
'city' => 'cum',
'state' => 'ipsum',
'zipcode' => 'dolorem',
'primary_contact_name' => 'consequatur',
'primary_contact_email' => 'weissnat.maritza@example.net',
'practice_management_software' => 'architecto',
'cbct_make_and_model' => 'a',
'image_viewing_software' => 'deserunt',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/office/14'
payload = {
"name": "similique",
"address_line_1": "itaque",
"address_line_2": "rerum",
"city": "cum",
"state": "ipsum",
"zipcode": "dolorem",
"primary_contact_name": "consequatur",
"primary_contact_email": "weissnat.maritza@example.net",
"practice_management_software": "architecto",
"cbct_make_and_model": "a",
"image_viewing_software": "deserunt"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Destroy Office
requires authentication
This endpoint lets you destroy a single Office resource that matches with the id
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/office/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/office/14"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/office/14',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/office/14'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Options Management
APIs for managing Options
Get All Options
requires authentication
This endpoint lets you get all autoloaded options
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/option" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/option"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/option',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/option'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store Option
requires authentication
This endpoint lets you add a new option
Example request:
curl --request POST \
"https://api.getdentalray.com/api/option" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"et\",
\"value\": \"sit\"
}"
const url = new URL(
"https://api.getdentalray.com/api/option"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "et",
"value": "sit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/option',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'et',
'value' => 'sit',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/option'
payload = {
"name": "et",
"value": "sit"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Show Option
requires authentication
This endpoint lets you get a single option that matches the name.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/option/non" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/option/non"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/option/non',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/option/non'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update Option
requires authentication
This endpoint lets you update a single option that matches the neme.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/option/eveniet" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"value\": \"aut\"
}"
const url = new URL(
"https://api.getdentalray.com/api/option/eveniet"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"value": "aut"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/option/eveniet',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'value' => 'aut',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/option/eveniet'
payload = {
"value": "aut"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Destroy Option
requires authentication
This endpoint lets you delete a single option that matches the name.
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/option/consectetur" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/option/consectetur"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/option/consectetur',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/option/consectetur'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Organization Management
APIs for managing Organizations
Get all Organizations
requires authentication
This endpoint lets you get all Organizations
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/organization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/organization"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/organization',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/organization'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store Organization
requires authentication
This endpoint lets you add a new Organization
Example request:
curl --request POST \
"https://api.getdentalray.com/api/organization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_administrator_id\": 809074388.83513,
\"slug\": \"itaque\",
\"name\": \"facilis\",
\"description\": \"Vero ab nisi cum aut nemo molestias rem.\"
}"
const url = new URL(
"https://api.getdentalray.com/api/organization"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_administrator_id": 809074388.83513,
"slug": "itaque",
"name": "facilis",
"description": "Vero ab nisi cum aut nemo molestias rem."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/organization',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'organization_administrator_id' => 809074388.83513,
'slug' => 'itaque',
'name' => 'facilis',
'description' => 'Vero ab nisi cum aut nemo molestias rem.',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/organization'
payload = {
"organization_administrator_id": 809074388.83513,
"slug": "itaque",
"name": "facilis",
"description": "Vero ab nisi cum aut nemo molestias rem."
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Show Organization
requires authentication
This endpoit lets you get a single Organization that matched with the id.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/organization/4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/organization/4"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/organization/4',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/organization/4'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update Organization
requires authentication
This endpoint lets you get a single Organization that matches with the id.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/organization/6" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_administrator_id\": 21.695096,
\"slug\": \"neque\",
\"name\": \"aliquam\",
\"description\": \"Et dolores qui ut et assumenda quidem.\"
}"
const url = new URL(
"https://api.getdentalray.com/api/organization/6"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_administrator_id": 21.695096,
"slug": "neque",
"name": "aliquam",
"description": "Et dolores qui ut et assumenda quidem."
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/organization/6',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'organization_administrator_id' => 21.695096,
'slug' => 'neque',
'name' => 'aliquam',
'description' => 'Et dolores qui ut et assumenda quidem.',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/organization/6'
payload = {
"organization_administrator_id": 21.695096,
"slug": "neque",
"name": "aliquam",
"description": "Et dolores qui ut et assumenda quidem."
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Destroy Organization
requires authentication
This endpoint lets you destroy a single Organization resource that matches with the id
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/organization/8" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/organization/8"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/organization/8',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/organization/8'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Patient Management
All Patients
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/patient" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/patient',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Display Patient
Display only patients not existing on reports table
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/patient/form-patient-list" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient/form-patient-list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/patient/form-patient-list',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient/form-patient-list'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Get Patient List
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/patient/patient-list" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient/patient-list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/patient/patient-list',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient/patient-list'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Live Search
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/patient/patient-live" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient/patient-live"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/patient/patient-live',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient/patient-live'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store Patient
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/patient" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/patient',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Show Patient
Display the specified resource matching the given resource id.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/patient/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/patient/1',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient/1'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update Patient Update the specified resource in storage.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/patient/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/patient/1',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient/1'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers)
response.json()Received response:
Request failed with error:
Delete Patient
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/patient/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/patient/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/patient/1',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/patient/1'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Permission Management
Get all Permissions
requires authentication
This endpoint returns all the permissions available in the system.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/permission" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/permission"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/permission',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/permission'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Personal Access Token Management
User Tokens
Get all of the personal access tokens for the authenticated user.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/oauth/personal-access-token" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/oauth/personal-access-token"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/oauth/personal-access-token',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/oauth/personal-access-token'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Create Token
Create a new personal access token for the user.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/oauth/personal-access-token" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"bprsxulvntiznxpj\"
}"
const url = new URL(
"https://api.getdentalray.com/api/oauth/personal-access-token"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "bprsxulvntiznxpj"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/oauth/personal-access-token',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'bprsxulvntiznxpj',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/oauth/personal-access-token'
payload = {
"name": "bprsxulvntiznxpj"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Delete Token
Delete the given token.
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/oauth/personal-access-token/sunt" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/oauth/personal-access-token/sunt"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/oauth/personal-access-token/sunt',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/oauth/personal-access-token/sunt'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Radiologist Management
APIs for managing Radiologist Resources
All Radiologist
requires authentication
This endpoint lets you get all Radiologist Resources.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/radiologist" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/radiologist"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/radiologist',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/radiologist'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Report Management
This endpoint lets you store a new report
All Report This endpoint lets you get all reports
requires authentication
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/report" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/report"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/report',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/report'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store Report
requires authentication
Example request:
curl --request POST \
"https://api.getdentalray.com/api/report" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"form_id\": 662.486845,
\"office_id\": 50,
\"worklist_id\": 21.2531359,
\"patient_first_name\": \"smvedklwtsvej\",
\"patient_last_name\": \"tdhnyttfaz\",
\"patient_dob\": \"ex\",
\"body\": \"omnis\",
\"exam\": \"laborum\",
\"indication\": \"voluptatem\",
\"technique\": \"quo\",
\"comparison\": \"quis\",
\"osseous_structures\": \"qui\",
\"paranasal_sinuses\": \"sint\",
\"salivary_glands\": \"veritatis\",
\"oral_cavity_pharynx\": \"animi\",
\"other_areas\": \"dolores\",
\"additional_notes\": \"exercitationem\",
\"impression\": \"corrupti\"
}"
const url = new URL(
"https://api.getdentalray.com/api/report"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"form_id": 662.486845,
"office_id": 50,
"worklist_id": 21.2531359,
"patient_first_name": "smvedklwtsvej",
"patient_last_name": "tdhnyttfaz",
"patient_dob": "ex",
"body": "omnis",
"exam": "laborum",
"indication": "voluptatem",
"technique": "quo",
"comparison": "quis",
"osseous_structures": "qui",
"paranasal_sinuses": "sint",
"salivary_glands": "veritatis",
"oral_cavity_pharynx": "animi",
"other_areas": "dolores",
"additional_notes": "exercitationem",
"impression": "corrupti"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/report',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'form_id' => 662.486845,
'office_id' => 50.0,
'worklist_id' => 21.2531359,
'patient_first_name' => 'smvedklwtsvej',
'patient_last_name' => 'tdhnyttfaz',
'patient_dob' => 'ex',
'body' => 'omnis',
'exam' => 'laborum',
'indication' => 'voluptatem',
'technique' => 'quo',
'comparison' => 'quis',
'osseous_structures' => 'qui',
'paranasal_sinuses' => 'sint',
'salivary_glands' => 'veritatis',
'oral_cavity_pharynx' => 'animi',
'other_areas' => 'dolores',
'additional_notes' => 'exercitationem',
'impression' => 'corrupti',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/report'
payload = {
"form_id": 662.486845,
"office_id": 50,
"worklist_id": 21.2531359,
"patient_first_name": "smvedklwtsvej",
"patient_last_name": "tdhnyttfaz",
"patient_dob": "ex",
"body": "omnis",
"exam": "laborum",
"indication": "voluptatem",
"technique": "quo",
"comparison": "quis",
"osseous_structures": "qui",
"paranasal_sinuses": "sint",
"salivary_glands": "veritatis",
"oral_cavity_pharynx": "animi",
"other_areas": "dolores",
"additional_notes": "exercitationem",
"impression": "corrupti"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Preview Report
requires authentication
Example request:
curl --request POST \
"https://api.getdentalray.com/api/report/preview" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/report/preview"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/report/preview',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/report/preview'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Show Report
requires authentication
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/report/42" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/report/42"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/report/42',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/report/42'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update Report
requires authentication
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/report/42" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/report/42"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/report/42',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/report/42'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers)
response.json()Received response:
Request failed with error:
Destroy Report
requires authentication
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/report/42" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/report/42"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/report/42',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/report/42'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Role Management
APIs for managing Roles
Get all Roles
requires authentication
This endpoint lets you get all the Roles
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/role',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/role'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a Role
requires authentication
This endpoint lets you store a new Role
Example request:
curl --request POST \
"https://api.getdentalray.com/api/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"in\",
\"slug\": \"ut\",
\"permissions\": []
}"
const url = new URL(
"https://api.getdentalray.com/api/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "in",
"slug": "ut",
"permissions": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/role',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'in',
'slug' => 'ut',
'permissions' => [],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/role'
payload = {
"name": "in",
"slug": "ut",
"permissions": []
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Show a Role
requires authentication
This endpoint lets you get a Role
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/role/administrator" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/role/administrator"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/role/administrator',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/role/administrator'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update a Role
requires authentication
This endpoint lets you update a single Role
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/role/administrator" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/role/administrator"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/role/administrator',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/role/administrator'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers)
response.json()Received response:
Request failed with error:
Delete a Role
requires authentication
This endpoint lets you delete a single Role
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/role/administrator" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/role/administrator"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/role/administrator',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/role/administrator'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
User Management
APIs for managnign Users
Login API
This endpoint allows you to login users.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"sbul\",
\"password\": \"}cVG=LiVy54j4;exa\",
\"timezone\": \"America\\/Chihuahua\"
}"
const url = new URL(
"https://api.getdentalray.com/api/auth/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "sbul",
"password": "}cVG=LiVy54j4;exa",
"timezone": "America\/Chihuahua"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/auth/login',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'username' => 'sbul',
'password' => '}cVG=LiVy54j4;exa',
'timezone' => 'America/Chihuahua',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/login'
payload = {
"username": "sbul",
"password": "}cVG=LiVy54j4;exa",
"timezone": "America\/Chihuahua"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Register API
This endpoint allows you to register a new user.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/auth/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"z\",
\"email\": \"nienow.vincenzo@example.net\",
\"password\": \"r?7-V&e]MCc[BrC\",
\"first_name\": \"csv\",
\"middle_name\": \"excepturi\",
\"last_name\": \"yputfxfavr\",
\"role\": \"sapiente\",
\"activate\": true,
\"phone_number\": 85.7,
\"office_name\": \"oc\",
\"office_address_line_1\": \"adtlsstgcrlvgjferhmo\",
\"office_address_line_2\": \"avcz\",
\"office_city\": \"bxxigrlpjylt\",
\"office_state\": \"xrtccdlcgwhm\",
\"office_zipcode\": \"btanhzltdtwarryhday\",
\"school_diploma_id\": 4,
\"residency_diploma_id\": 1,
\"state_license_id\": 10,
\"abr_file_id\": 6,
\"medical_school_diploma_id\": 11
}"
const url = new URL(
"https://api.getdentalray.com/api/auth/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "z",
"email": "nienow.vincenzo@example.net",
"password": "r?7-V&e]MCc[BrC",
"first_name": "csv",
"middle_name": "excepturi",
"last_name": "yputfxfavr",
"role": "sapiente",
"activate": true,
"phone_number": 85.7,
"office_name": "oc",
"office_address_line_1": "adtlsstgcrlvgjferhmo",
"office_address_line_2": "avcz",
"office_city": "bxxigrlpjylt",
"office_state": "xrtccdlcgwhm",
"office_zipcode": "btanhzltdtwarryhday",
"school_diploma_id": 4,
"residency_diploma_id": 1,
"state_license_id": 10,
"abr_file_id": 6,
"medical_school_diploma_id": 11
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/auth/register',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'username' => 'z',
'email' => 'nienow.vincenzo@example.net',
'password' => 'r?7-V&e]MCc[BrC',
'first_name' => 'csv',
'middle_name' => 'excepturi',
'last_name' => 'yputfxfavr',
'role' => 'sapiente',
'activate' => true,
'phone_number' => 85.7,
'office_name' => 'oc',
'office_address_line_1' => 'adtlsstgcrlvgjferhmo',
'office_address_line_2' => 'avcz',
'office_city' => 'bxxigrlpjylt',
'office_state' => 'xrtccdlcgwhm',
'office_zipcode' => 'btanhzltdtwarryhday',
'school_diploma_id' => 4,
'residency_diploma_id' => 1,
'state_license_id' => 10,
'abr_file_id' => 6,
'medical_school_diploma_id' => 11,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/register'
payload = {
"username": "z",
"email": "nienow.vincenzo@example.net",
"password": "r?7-V&e]MCc[BrC",
"first_name": "csv",
"middle_name": "excepturi",
"last_name": "yputfxfavr",
"role": "sapiente",
"activate": true,
"phone_number": 85.7,
"office_name": "oc",
"office_address_line_1": "adtlsstgcrlvgjferhmo",
"office_address_line_2": "avcz",
"office_city": "bxxigrlpjylt",
"office_state": "xrtccdlcgwhm",
"office_zipcode": "btanhzltdtwarryhday",
"school_diploma_id": 4,
"residency_diploma_id": 1,
"state_license_id": 10,
"abr_file_id": 6,
"medical_school_diploma_id": 11
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Activate a User
requires authentication
This endpoint lets you activate a User.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/auth/activate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"
}"
const url = new URL(
"https://api.getdentalray.com/api/auth/activate"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/auth/activate',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'code' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/activate'
payload = {
"code": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Forgot Password
This endpoint will send an authorized email reset password
Example request:
curl --request POST \
"https://api.getdentalray.com/api/auth/password/forgot" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"halvorson.thalia@example.net\"
}"
const url = new URL(
"https://api.getdentalray.com/api/auth/password/forgot"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "halvorson.thalia@example.net"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/auth/password/forgot',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => 'halvorson.thalia@example.net',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/password/forgot'
payload = {
"email": "halvorson.thalia@example.net"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Reset Password
This endpoint lets you reset and update password
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/auth/password/reset" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"password\": \"n\\\"C$(ll+.:~=0kaiJ;\",
\"confirm_password\": \"libero\",
\"token\": \"assumenda\"
}"
const url = new URL(
"https://api.getdentalray.com/api/auth/password/reset"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"password": "n\"C$(ll+.:~=0kaiJ;",
"confirm_password": "libero",
"token": "assumenda"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/auth/password/reset',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'password' => 'n"C$(ll+.:~=0kaiJ;',
'confirm_password' => 'libero',
'token' => 'assumenda',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/password/reset'
payload = {
"password": "n\"C$(ll+.:~=0kaiJ;",
"confirm_password": "libero",
"token": "assumenda"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Me API
requires authentication
This endpoint will return the currently logged-in user.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/auth/me" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/auth/me"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/auth/me',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/me'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Logout API
This endpoint allows you to logout user.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/auth/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/auth/logout"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/auth/logout',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/auth/logout'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Get all Users
requires authentication
This endpoint lets you get all Users.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user?search=illum&role=molestiae&includes[]=quibusdam" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"https://api.getdentalray.com/api/user"
);
const params = {
"search": "illum",
"role": "molestiae",
"includes[0]": "quibusdam",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'query' => [
'search' => 'illum',
'role' => 'molestiae',
'includes[0]' => 'quibusdam',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user'
params = {
'search': 'illum',
'role': 'molestiae',
'includes[0]': 'quibusdam',
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, params=params)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store User
requires authentication
This endpoint lets you create a new User.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/user" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"lysgoeulraesciarjymovmu\",
\"email\": \"miguel47@example.com\",
\"password\": \"R\\/ub*E4l&Wa\",
\"first_name\": \"veritatis\",
\"last_name\": \"eos\",
\"role\": \"quia\",
\"activate\": false,
\"phone_number\": 3293.6102143,
\"country_code\": 6.1
}"
const url = new URL(
"https://api.getdentalray.com/api/user"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "lysgoeulraesciarjymovmu",
"email": "miguel47@example.com",
"password": "R\/ub*E4l&Wa",
"first_name": "veritatis",
"last_name": "eos",
"role": "quia",
"activate": false,
"phone_number": 3293.6102143,
"country_code": 6.1
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/user',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'username' => 'lysgoeulraesciarjymovmu',
'email' => 'miguel47@example.com',
'password' => 'R/ub*E4l&Wa',
'first_name' => 'veritatis',
'last_name' => 'eos',
'role' => 'quia',
'activate' => false,
'phone_number' => 3293.6102143,
'country_code' => 6.1,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user'
payload = {
"username": "lysgoeulraesciarjymovmu",
"email": "miguel47@example.com",
"password": "R\/ub*E4l&Wa",
"first_name": "veritatis",
"last_name": "eos",
"role": "quia",
"activate": false,
"phone_number": 3293.6102143,
"country_code": 6.1
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
PUT api/user/mfa
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/user/mfa" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"default_factor\": \"sms\"
}"
const url = new URL(
"https://api.getdentalray.com/api/user/mfa"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"default_factor": "sms"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/user/mfa',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'default_factor' => 'sms',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/mfa'
payload = {
"default_factor": "sms"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Change Password
requires authentication
This endpoint lets users change their own passwords
Example request:
curl --request POST \
"https://api.getdentalray.com/api/user/change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"password_current\": \"animi\",
\"password\": \"9.mfrvw&{\",
\"password_confirmation\": \"cknwahyldeh\"
}"
const url = new URL(
"https://api.getdentalray.com/api/user/change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"password_current": "animi",
"password": "9.mfrvw&{",
"password_confirmation": "cknwahyldeh"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/user/change',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'password_current' => 'animi',
'password' => '9.mfrvw&{',
'password_confirmation' => 'cknwahyldeh',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/change'
payload = {
"password_current": "animi",
"password": "9.mfrvw&{",
"password_confirmation": "cknwahyldeh"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
GET api/user/{user_id}/offices
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user/1/offices" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/offices"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user/1/offices',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/offices'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
POST api/user/{user_id}/offices
Example request:
curl --request POST \
"https://api.getdentalray.com/api/user/1/offices" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/offices"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/user/1/offices',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/offices'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Get a User
requires authentication
This endpoint lets you get a User.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user/1',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update a User
requires authentication
This endpoint lets you update a User's data.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/user/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"vkdtuylfs\",
\"email\": \"francis51@example.org\",
\"first_name\": \"ddlisshbwnlphjsntxowv\",
\"last_name\": \"qqjfudqdzlrbmjrq\"
}"
const url = new URL(
"https://api.getdentalray.com/api/user/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "vkdtuylfs",
"email": "francis51@example.org",
"first_name": "ddlisshbwnlphjsntxowv",
"last_name": "qqjfudqdzlrbmjrq"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/user/1',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'username' => 'vkdtuylfs',
'email' => 'francis51@example.org',
'first_name' => 'ddlisshbwnlphjsntxowv',
'last_name' => 'qqjfudqdzlrbmjrq',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1'
payload = {
"username": "vkdtuylfs",
"email": "francis51@example.org",
"first_name": "ddlisshbwnlphjsntxowv",
"last_name": "qqjfudqdzlrbmjrq"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
POST api/user/{user_id}/mfa
Example request:
curl --request POST \
"https://api.getdentalray.com/api/user/1/mfa" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/mfa"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/user/1/mfa',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/mfa'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
DELETE api/user/{user_id}/mfa
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/user/1/mfa" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/mfa"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/user/1/mfa',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/mfa'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
GET api/user/{user_id}/qr
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user/1/qr" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/qr"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user/1/qr',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/qr'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Destroy a User
requires authentication
This endpoint lets you update a User.
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/user/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/user/1',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
User Meta Management
APIs for User Meta Management
Get all User Meta Data
requires authentication
This endpoint lets you get all User Meta
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user/1/meta" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/meta"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user/1/meta',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/meta'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store User Meta
requires authentication
This endpoint lets you store User Meta
Example request:
curl --request POST \
"https://api.getdentalray.com/api/user/1/meta" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"corporis\",
\"autoload\": false
}"
const url = new URL(
"https://api.getdentalray.com/api/user/1/meta"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "corporis",
"autoload": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/user/1/meta',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'user_id' => 'corporis',
'autoload' => false,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/meta'
payload = {
"user_id": "corporis",
"autoload": false
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Show User Meta
requires authentication
This endpoint will return a single User Meta
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user/1/meta/nulla" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/meta/nulla"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user/1/meta/nulla',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/meta/nulla'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update User Meta
requires authentication
This endpoint will update a single User Meta
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/user/1/meta/earum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"autoload\": false
}"
const url = new URL(
"https://api.getdentalray.com/api/user/1/meta/earum"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"autoload": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/user/1/meta/earum',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'autoload' => false,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/meta/earum'
payload = {
"autoload": false
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Destroy User Meta
requires authentication
This endpoint will destroy a single User Meta
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/user/1/meta/ipsum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/meta/ipsum"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/user/1/meta/ipsum',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/meta/ipsum'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
User Permission Management
APIs for managing a User's Permissions
Get User Permission
requires authentication
This endpoint lets you get a User's Permissions
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user/1/permission" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/permission"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user/1/permission',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/permission'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update User Permission
requires authentication
This endpoint lets you update a Permission from a User
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/user/1/permission" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/permission"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/user/1/permission',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/permission'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers)
response.json()Received response:
Request failed with error:
Store User Permission
requires authentication
This endpoint lets you add a Permission to a User
Example request:
curl --request POST \
"https://api.getdentalray.com/api/user/1/permission" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/permission"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/user/1/permission',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/permission'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Destroy User Permission
requires authentication
This endpoint lets you delete a Permission from a User
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/user/1/permission" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/permission"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/user/1/permission',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/permission'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
User Role Management
APIs for managing a User's Role
Get User Roles
requires authentication
This endpoint lets you get a User's Roles
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/user/1/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/user/1/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/user/1/role',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/role'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Add Role to User
requires authentication
This endpoint lets you add a Role to a User.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/user/1/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"slug\": \"gdyuptatkqjjeymmaa\"
}"
const url = new URL(
"https://api.getdentalray.com/api/user/1/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"slug": "gdyuptatkqjjeymmaa"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/user/1/role',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'slug' => 'gdyuptatkqjjeymmaa',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/role'
payload = {
"slug": "gdyuptatkqjjeymmaa"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Update Role to User
requires authentication
The endpoint lets you update a Role to a User
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/user/1/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"slug\": \"kuzdmsilsitrlpwfn\"
}"
const url = new URL(
"https://api.getdentalray.com/api/user/1/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"slug": "kuzdmsilsitrlpwfn"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/user/1/role',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'slug' => 'kuzdmsilsitrlpwfn',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/role'
payload = {
"slug": "kuzdmsilsitrlpwfn"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Delete a User's Role
requires authentication
This endpoint lets you delete a User's Role
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/user/1/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"slug\": \"bbb\"
}"
const url = new URL(
"https://api.getdentalray.com/api/user/1/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"slug": "bbb"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/user/1/role',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'slug' => 'bbb',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/user/1/role'
payload = {
"slug": "bbb"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Worklist Controller
APIs for managing Worklists
Get all Worklists
requires authentication
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/worklist" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/worklist"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/worklist',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/worklist'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
GET api/worklist/search-suggestions
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/worklist/search-suggestions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/worklist/search-suggestions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/worklist/search-suggestions',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/worklist/search-suggestions'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store Worklist
requires authentication
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://api.getdentalray.com/api/worklist" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"office_id\": 5255.7,
\"dentist_id\": 160,
\"radiologist_id\": 1,
\"media_id\": 27578.2664,
\"patient_id\": 605181848,
\"study_type\": \"comprehensive_read\",
\"study_instance_uid\": \"perferendis\",
\"link\": \"dignissimos\",
\"status\": \"sapiente\"
}"
const url = new URL(
"https://api.getdentalray.com/api/worklist"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"office_id": 5255.7,
"dentist_id": 160,
"radiologist_id": 1,
"media_id": 27578.2664,
"patient_id": 605181848,
"study_type": "comprehensive_read",
"study_instance_uid": "perferendis",
"link": "dignissimos",
"status": "sapiente"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.getdentalray.com/api/worklist',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'office_id' => 5255.7,
'dentist_id' => 160.0,
'radiologist_id' => 1.0,
'media_id' => 27578.2664,
'patient_id' => 605181848.0,
'study_type' => 'comprehensive_read',
'study_instance_uid' => 'perferendis',
'link' => 'dignissimos',
'status' => 'sapiente',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/worklist'
payload = {
"office_id": 5255.7,
"dentist_id": 160,
"radiologist_id": 1,
"media_id": 27578.2664,
"patient_id": 605181848,
"study_type": "comprehensive_read",
"study_instance_uid": "perferendis",
"link": "dignissimos",
"status": "sapiente"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Show Worklist
requires authentication
Display the specified resource.
Example request:
curl --request GET \
--get "https://api.getdentalray.com/api/worklist/74" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/worklist/74"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.getdentalray.com/api/worklist/74',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/worklist/74'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update Worklist
requires authentication
Update the specified resource in storage.
Example request:
curl --request PUT \
"https://api.getdentalray.com/api/worklist/74" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"office_id\": 3,
\"radiologist_id\": 457.7707,
\"dentist_id\": 3803208.028,
\"patient_id\": 45444060.1,
\"study_type\": \"comprehensive_read\",
\"link\": \"commodi\",
\"status\": \"pending\"
}"
const url = new URL(
"https://api.getdentalray.com/api/worklist/74"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"office_id": 3,
"radiologist_id": 457.7707,
"dentist_id": 3803208.028,
"patient_id": 45444060.1,
"study_type": "comprehensive_read",
"link": "commodi",
"status": "pending"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://api.getdentalray.com/api/worklist/74',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'office_id' => 3.0,
'radiologist_id' => 457.7707,
'dentist_id' => 3803208.028,
'patient_id' => 45444060.1,
'study_type' => 'comprehensive_read',
'link' => 'commodi',
'status' => 'pending',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/worklist/74'
payload = {
"office_id": 3,
"radiologist_id": 457.7707,
"dentist_id": 3803208.028,
"patient_id": 45444060.1,
"study_type": "comprehensive_read",
"link": "commodi",
"status": "pending"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Destroy Worklist
requires authentication
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://api.getdentalray.com/api/worklist/74" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.getdentalray.com/api/worklist/74"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.getdentalray.com/api/worklist/74',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://api.getdentalray.com/api/worklist/74'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error: