List service codes assigned to a group
curl --request GET \
--url https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"group_code": "<string>",
"taxonomy": "service_group",
"total": 123,
"codes": [
{
"code": "<string>",
"code_type": "<string>",
"category": "<string>",
"short_description": "<string>"
}
],
"group_name": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}codes
List service codes assigned to a group
List HCPCS/CPT codes assigned to a single group node.
Works for any of the three taxonomies:
service_group— codes joined viaServiceCode.service_group_idto the matching slug.betos/rbcs— codes whosebetos_code/rbcs_codecolumn matchesgroup_code. Wheninclude_descendants=trueand the group is a non-leaf category (e.g. BETOS “P”), the response also includes codes assigned to any leaf below it.
GET
/
v1
/
codes
/
groups
/
{taxonomy}
/
{group_code}
/
codes
List service codes assigned to a group
curl --request GET \
--url https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.rcintell.com/v1/codes/groups/{taxonomy}/{group_code}/codes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"group_code": "<string>",
"taxonomy": "service_group",
"total": 123,
"codes": [
{
"code": "<string>",
"code_type": "<string>",
"category": "<string>",
"short_description": "<string>"
}
],
"group_name": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Path Parameters
Grouping taxonomy namespace (service_group, betos, or rbcs).
Group identifier within the selected taxonomy.
Query Parameters
Pagination offset (number of records to skip).
Required range:
x >= 0Maximum number of records to return.
Required range:
1 <= x <= 500If the group is a category node, include codes from all descendant leaves.