Devapi bulk API
6 operations. Back to the API overview. Examples use synthetic data.
Vendor link bulk
POST /admin/v1/vendor-links/{id}/bulk
Needs the permission: developers:manage.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
all_patients | boolean | optional | - |
all_patients_confirm | string | optional | - |
bulk_types | array of string | optional | - |
freshness_hours | integer | optional | - |
version | integer | optional | - |
{
"all_patients": true,
"all_patients_confirm": "example",
"bulk_types": [
"example"
],
"freshness_hours": 1,
"version": 1
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
applies | string | optional | - |
link | any | optional | - |
{
"applies": "example",
"link": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"all_patients":true,"all_patients_confirm":"example","bulk_types":["example"],"freshness_hours":1,"version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/bulk"Vendor link exports
GET /admin/v1/vendor-links/{id}/exports
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
exports | any | optional | - |
note | string | optional | - |
pulls | integer | optional | - |
resources_exported | integer | optional | - |
reused | integer | optional | - |
since | any | optional | - |
{
"exports": {},
"note": "example",
"pulls": 1,
"resources_exported": 1,
"reused": 1,
"since": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/exports"Vendor link exports clear
POST /admin/v1/vendor-links/{id}/exports/clear
Needs the permission: developers:manage.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
applies | string | optional | - |
cleared | any | optional | - |
{
"applies": "example",
"cleared": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/exports/clear"Vendor link groups
GET /admin/v1/vendor-links/{id}/groups
Needs the permission: transactions:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
groups | array of object (GroupView) | optional | - |
groups.[]created_at | string (date-time) | optional | - |
groups.[]created_by | string | optional | - |
groups.[]id | string | optional | - |
groups.[]kind | string | optional | - |
groups.[]members | integer | optional | - |
groups.[]name | string | optional | - |
groups.[]provider_group | string | optional | - |
groups.[]version | integer | optional | - |
max_groups | any | optional | - |
max_members | any | optional | - |
{
"groups": [
{
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"id": "example-id",
"kind": "example",
"members": 1,
"name": "example-name",
"provider_group": "example",
"version": 1
}
],
"max_groups": {},
"max_members": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/groups"Vendor link group create
POST /admin/v1/vendor-links/{id}/groups
Needs the permission: developers:manage.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
id | string | optional | - |
kind | string | optional | - |
name | string | optional | - |
patient_ids | array of string | optional | - |
provider_group | string | optional | - |
{
"id": "example-id",
"kind": "example",
"name": "example-name",
"patient_ids": [
"example"
],
"provider_group": "example"
}Response 201
| Field | Type | Presence | Description |
|---|---|---|---|
group | object (GroupView) | optional | groupView is a group as the console shows it (never its members). |
group.created_at | string (date-time) | optional | - |
group.created_by | string | optional | - |
group.id | string | optional | - |
group.kind | string | optional | - |
group.members | integer | optional | - |
group.name | string | optional | - |
group.provider_group | string | optional | - |
group.version | integer | optional | - |
{
"group": {
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"id": "example-id",
"kind": "example",
"members": 1,
"name": "example-name",
"provider_group": "example",
"version": 1
}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"id":"example-id","kind":"example","name":"example-name","patient_ids":["example"],"provider_group":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/groups"Vendor link group delete
DELETE /admin/v1/vendor-links/{id}/groups/{gid}
Needs the permission: developers:manage.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
gid | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
deleted | any | optional | - |
{
"deleted": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request DELETE \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/groups/example-gid"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.