Platform API
Intraconnects Engine API (1.0.0)
Download OpenAPI specification:Download
Documentation of API endpoints of Intraconnects Engine
auth_login_create
Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to register User ID in Django session framework
Accept the following POST parameters: username, password Return the REST Framework Token Object's key.
Authorizations:
Request Body schema:
email required | string <email> |
password required | string |
Responses
Request samples
- Payload
{- "email": "user@example.com",
- "password": "string"
}
Response samples
- 200
{- "access_token": "string",
- "refresh_token": "string",
- "user": "string"
}
auth_password_change_create
Calls Django Auth SetPasswordForm save method.
Accepts the following POST parameters: new_password1, new_password2 Returns the success/fail message.
Authorizations:
Request Body schema:
new_password1 required | string <= 128 characters |
new_password2 required | string <= 128 characters |
Responses
Request samples
- Payload
{- "new_password1": "string",
- "new_password2": "string"
}
Response samples
- 200
{- "detail": "string"
}
auth_password_reset_confirm_create
Password reset e-mail link is confirmed, therefore this resets the user's password.
Accepts the following POST parameters: token, uid, new_password1, new_password2 Returns the success/fail message.
Authorizations:
Request Body schema:
new_password1 required | string <= 128 characters |
new_password2 required | string <= 128 characters |
uid required | string |
token required | string |
Responses
Request samples
- Payload
{- "new_password1": "string",
- "new_password2": "string",
- "uid": "string",
- "token": "string"
}
Response samples
- 200
{- "detail": "string"
}
auth_password_reset_confirm_create_2
Password reset e-mail link is confirmed, therefore this resets the user's password.
Accepts the following POST parameters: token, uid, new_password1, new_password2 Returns the success/fail message.
Authorizations:
path Parameters
token required | string |
uidb64 required | string |
Request Body schema:
new_password1 required | string <= 128 characters |
new_password2 required | string <= 128 characters |
uid required | string |
token required | string |
Responses
Request samples
- Payload
{- "new_password1": "string",
- "new_password2": "string",
- "uid": "string",
- "token": "string"
}
Response samples
- 200
{- "detail": "string"
}
auth_registration_create
Authorizations:
Request Body schema:
username required | string [ 1 .. 150 ] characters |
email required | string <email> |
password1 required | string |
password2 required | string |
Responses
Request samples
- Payload
{- "username": "string",
- "email": "user@example.com",
- "password1": "string",
- "password2": "string"
}
Response samples
- 201
{- "detail": "string"
}
auth_token_refresh_create
Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
Request Body schema:
refresh required | string |
Responses
Request samples
- Payload
{- "refresh": "string"
}
Response samples
- 200
{- "access": "string"
}
auth_token_verify_create
Takes a token and indicates if it is valid. This view provides no information about a token's fitness for a particular use.
Request Body schema:
token required | string |
Responses
Request samples
- Payload
{- "token": "string"
}
Response samples
- 200
{- "token": "string"
}
auth_user_retrieve
Reads and updates UserModel fields Accepts GET, PUT, PATCH methods.
Default accepted fields: username, first_name, last_name Default display fields: pk, username, email, first_name, last_name Read-only fields: pk, email
Returns UserModel fields.
Authorizations:
Responses
Response samples
- 200
{- "pk": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string"
}
auth_user_update
Reads and updates UserModel fields Accepts GET, PUT, PATCH methods.
Default accepted fields: username, first_name, last_name Default display fields: pk, username, email, first_name, last_name Read-only fields: pk, email
Returns UserModel fields.
Authorizations:
Request Body schema:
username required | string <= 150 characters ^[\w.@+-]+$ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
first_name | string <= 150 characters |
last_name | string <= 150 characters |
Responses
Request samples
- Payload
{- "username": "string",
- "first_name": "string",
- "last_name": "string"
}
Response samples
- 200
{- "pk": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string"
}
auth_user_partial_update
Reads and updates UserModel fields Accepts GET, PUT, PATCH methods.
Default accepted fields: username, first_name, last_name Default display fields: pk, username, email, first_name, last_name Read-only fields: pk, email
Returns UserModel fields.
Authorizations:
Request Body schema:
username | string <= 150 characters ^[\w.@+-]+$ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
first_name | string <= 150 characters |
last_name | string <= 150 characters |
Responses
Request samples
- Payload
{- "username": "string",
- "first_name": "string",
- "last_name": "string"
}
Response samples
- 200
{- "pk": 0,
- "username": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string"
}
logs_list
Authorizations:
query Parameters
DataModel | string |
EventType | string |
connectionid | string <uuid> |
customerid | string <uuid> |
organizationid | integer |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "added_on": "2019-08-24T14:15:22Z",
- "api": "string",
- "headers": "string",
- "body": "string",
- "method": "string",
- "client_ip_address": "string",
- "response": "string",
- "ehr_api": {
- "property1": null,
- "property2": null
}, - "ehr_body": {
- "property1": null,
- "property2": null
}, - "ehr_response": {
- "property1": null,
- "property2": null
}, - "ehr_method": {
- "property1": null,
- "property2": null
}, - "ehr_status_code": {
- "property1": null,
- "property2": null
}, - "status_code": 32767,
- "execution_time": "string",
- "webhook_url": "string",
- "webhook_body": {
- "property1": null,
- "property2": null
}, - "webhook_method": "string",
- "webhook_status_code": 32767,
- "organization": 0,
- "connection": "05107f3a-70a0-49c6-879b-3a441d6562d4",
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad"
}
]
}
organizations_list
Authorizations:
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "id": 0,
- "name": "string",
- "is_active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox",
- "users": [
- 0
]
}
]
}
organizations_create
Authorizations:
Request Body schema:
name required | string <= 200 characters The name of the organization |
is_active | boolean |
alertemail required | string <email> <= 70 characters |
salesemail required | string <email> <= 70 characters |
phonenumber required | string <= 12 characters |
string or null <= 255 characters | |
object or null | |
website | string or null <uri> <= 255 characters |
overview | string or null |
object or null | |
org_type | string (OrgTypeEnum) Enum: "sandbox" "stage" "production" |
Responses
Request samples
- Payload
{- "name": "string",
- "is_active": true,
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox"
}
Response samples
- 201
{- "id": 0,
- "name": "string",
- "is_active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox",
- "users": [
- 0
]
}
organizations_connections_list
Authorizations:
path Parameters
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
]
}
organizations_connections_create
Authorizations:
path Parameters
id required | integer |
Request Body schema:
connection_name required | string <= 250 characters |
ehr_name required | string (EhrNameEnum) Enum: "epic" "athena" "cerner" "nextgen" |
app_type required | string (AppTypeEnum) Enum: "provider" "patient" "system" |
(GrantTypeEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) | |
client_id required | string <= 250 characters |
client_secret | string or null <= 250 characters |
redirect_uri | string or null <uri> <= 255 characters |
org_redirect_uri | string or null <uri> <= 255 characters |
scope | string or null |
audiance | string or null <= 255 characters |
state | string or null <= 255 characters |
nonce | string or null <= 255 characters |
launch | string or null <= 255 characters |
site_id | string or null <= 255 characters |
base_url_test | string or null <uri> <= 250 characters |
base_url_prod | string or null <uri> <= 250 characters |
auth_url_test | string or null <uri> <= 250 characters |
auth_url_prod | string or null <uri> <= 250 characters |
authorize_url_test | string or null <uri> <= 255 characters |
authorize_url_prod | string or null <uri> <= 255 characters |
customer_auth_url_test | string or null <uri> |
customer_auth_url_prod | string or null <uri> |
access_token | string or null |
private_key | string or null |
tenant | string or null <= 255 characters |
Responses
Request samples
- Payload
{- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
Response samples
- 201
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
organizations_connections_retrieve
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
Responses
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
organizations_connections_update
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
Request Body schema:
connection_name required | string <= 250 characters |
ehr_name required | string (EhrNameEnum) Enum: "epic" "athena" "cerner" "nextgen" |
app_type required | string (AppTypeEnum) Enum: "provider" "patient" "system" |
(GrantTypeEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) | |
client_id required | string <= 250 characters |
client_secret | string or null <= 250 characters |
redirect_uri | string or null <uri> <= 255 characters |
org_redirect_uri | string or null <uri> <= 255 characters |
scope | string or null |
audiance | string or null <= 255 characters |
state | string or null <= 255 characters |
nonce | string or null <= 255 characters |
launch | string or null <= 255 characters |
site_id | string or null <= 255 characters |
base_url_test | string or null <uri> <= 250 characters |
base_url_prod | string or null <uri> <= 250 characters |
auth_url_test | string or null <uri> <= 250 characters |
auth_url_prod | string or null <uri> <= 250 characters |
authorize_url_test | string or null <uri> <= 255 characters |
authorize_url_prod | string or null <uri> <= 255 characters |
customer_auth_url_test | string or null <uri> |
customer_auth_url_prod | string or null <uri> |
access_token | string or null |
private_key | string or null |
tenant | string or null <= 255 characters |
Responses
Request samples
- Payload
{- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
organizations_connections_partial_update
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
Request Body schema:
connection_name | string <= 250 characters |
ehr_name | string (EhrNameEnum) Enum: "epic" "athena" "cerner" "nextgen" |
app_type | string (AppTypeEnum) Enum: "provider" "patient" "system" |
(GrantTypeEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) | |
client_id | string <= 250 characters |
client_secret | string or null <= 250 characters |
redirect_uri | string or null <uri> <= 255 characters |
org_redirect_uri | string or null <uri> <= 255 characters |
scope | string or null |
audiance | string or null <= 255 characters |
state | string or null <= 255 characters |
nonce | string or null <= 255 characters |
launch | string or null <= 255 characters |
site_id | string or null <= 255 characters |
base_url_test | string or null <uri> <= 250 characters |
base_url_prod | string or null <uri> <= 250 characters |
auth_url_test | string or null <uri> <= 250 characters |
auth_url_prod | string or null <uri> <= 250 characters |
authorize_url_test | string or null <uri> <= 255 characters |
authorize_url_prod | string or null <uri> <= 255 characters |
customer_auth_url_test | string or null <uri> |
customer_auth_url_prod | string or null <uri> |
access_token | string or null |
private_key | string or null |
tenant | string or null <= 255 characters |
Responses
Request samples
- Payload
{- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
organizations_customers_list
Authorizations:
path Parameters
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "connection": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
], - "webhook": {
- "Source_json": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "athena_id": "string"
}
]
}
organizations_customers_create
Authorizations:
path Parameters
id required | integer |
Request Body schema:
name required | string <= 255 characters |
string or null <email> <= 70 characters | |
athena_id | string or null <= 250 characters |
Responses
Request samples
- Payload
{- "name": "string",
- "email": "user@example.com",
- "athena_id": "string"
}
Response samples
- 201
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "connection": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
], - "webhook": {
- "Source_json": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "athena_id": "string"
}
organizations_customers_retrieve
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
Responses
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "athena_id": "string",
- "webhook": "34cff408-bf77-4bc5-b31b-e3f4b806d7e8",
- "connection": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
organizations_customers_update
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
Request Body schema:
name required | string <= 255 characters |
string or null <email> <= 70 characters | |
athena_id | string or null <= 250 characters |
webhook | string or null <uuid> |
connection | Array of strings or null <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "name": "string",
- "email": "user@example.com",
- "athena_id": "string",
- "webhook": "34cff408-bf77-4bc5-b31b-e3f4b806d7e8",
- "connection": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "athena_id": "string",
- "webhook": "34cff408-bf77-4bc5-b31b-e3f4b806d7e8",
- "connection": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
organizations_customers_partial_update
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
Request Body schema:
name | string <= 255 characters |
string or null <email> <= 70 characters | |
athena_id | string or null <= 250 characters |
webhook | string or null <uuid> |
connection | Array of strings or null <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "name": "string",
- "email": "user@example.com",
- "athena_id": "string",
- "webhook": "34cff408-bf77-4bc5-b31b-e3f4b806d7e8",
- "connection": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "athena_id": "string",
- "webhook": "34cff408-bf77-4bc5-b31b-e3f4b806d7e8",
- "connection": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
organizations_customers_patients_list
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "customer": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "connection": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
], - "webhook": {
- "Source_json": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "athena_id": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstname": "string",
- "status": "string",
- "ehr_id": "string",
- "gender": "string",
- "athena_id": "string",
- "authorize_code": "string",
- "access_token": "string",
- "refresh_token": "string",
- "refresh_token_last_updated_at": "2019-08-24T14:15:22Z"
}
]
}
organizations_customers_providers_list
Authorizations:
path Parameters
cid required | string <uuid> |
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "customer": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "connection": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "connection_name": "string",
- "ehr_name": "epic",
- "app_type": "provider",
- "grant_type": "client_credentials",
- "client_id": "string",
- "client_secret": "string",
- "scope": "string",
- "audiance": "string",
- "state": "string",
- "nonce": "string",
- "launch": "string",
- "site_id": "string",
- "access_token": "string",
- "private_key": "string",
- "tenant": "string"
}
], - "webhook": {
- "Source_json": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "athena_id": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstname": "string",
- "lastname": "string",
- "status": "string",
- "ehr_id": "string",
- "gender": "string",
- "athena_id": "string",
- "authorize_code": "string",
- "access_token": "string",
- "refresh_token": "string",
- "refresh_token_last_updated_at": "2019-08-24T14:15:22Z"
}
]
}
organizations_invitation_list
Authorizations:
path Parameters
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "id": 0,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "invitee_identifier": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "invited_by": 0,
- "invitee": 0
}
]
}
organizations_invitation_create
Authorizations:
path Parameters
id required | integer |
Request Body schema:
invitee_identifier required | string <= 1000 characters The contact identifier for the invitee, email, phone number, social media handle, etc. |
invited_by required | integer |
invitee | integer or null |
Responses
Request samples
- Payload
{- "invitee_identifier": "string",
- "invited_by": 0,
- "invitee": 0
}
Response samples
- 201
{- "id": 0,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "invitee_identifier": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "invited_by": 0,
- "invitee": 0
}
organizations_invitation_retrieve
Authorizations:
path Parameters
id required | integer |
uid required | integer |
Responses
Response samples
- 200
{- "id": 0,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "invitee_identifier": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "invited_by": 0,
- "invitee": 0
}
organizations_invitation_update
Authorizations:
path Parameters
id required | integer |
uid required | integer |
Request Body schema:
invitee_identifier required | string <= 1000 characters The contact identifier for the invitee, email, phone number, social media handle, etc. |
invited_by required | integer |
invitee | integer or null |
Responses
Request samples
- Payload
{- "invitee_identifier": "string",
- "invited_by": 0,
- "invitee": 0
}
Response samples
- 200
{- "id": 0,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "invitee_identifier": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "invited_by": 0,
- "invitee": 0
}
organizations_invitation_partial_update
Authorizations:
path Parameters
id required | integer |
uid required | integer |
Request Body schema:
invitee_identifier | string <= 1000 characters The contact identifier for the invitee, email, phone number, social media handle, etc. |
invited_by | integer |
invitee | integer or null |
Responses
Request samples
- Payload
{- "invitee_identifier": "string",
- "invited_by": 0,
- "invitee": 0
}
Response samples
- 200
{- "id": 0,
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "invitee_identifier": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "invited_by": 0,
- "invitee": 0
}
organizations_owner_list
Authorizations:
path Parameters
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "organization_user": 0
}
]
}
organizations_owner_create
Authorizations:
path Parameters
id required | integer |
Request Body schema:
organization_user required | integer |
Responses
Request samples
- Payload
{- "organization_user": 0
}
Response samples
- 201
{- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "organization_user": 0
}
organizations_owner_update
Authorizations:
path Parameters
id required | integer |
uid required | integer |
Request Body schema:
organization_user required | integer |
Responses
Request samples
- Payload
{- "organization_user": 0
}
Response samples
- 200
{- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "organization_user": 0
}
organizations_owner_partial_update
Authorizations:
path Parameters
id required | integer |
uid required | integer |
Request Body schema:
organization_user | integer |
Responses
Request samples
- Payload
{- "organization_user": 0
}
Response samples
- 200
{- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "organization_user": 0
}
organizations_user_list
Authorizations:
path Parameters
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "is_admin": true,
- "user": 0
}
]
}
organizations_user_create
Authorizations:
path Parameters
id required | integer |
Request Body schema:
is_admin | boolean |
user required | integer |
Responses
Request samples
- Payload
{- "is_admin": true,
- "user": 0
}
Response samples
- 201
{- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "is_admin": true,
- "user": 0
}
organizations_user_update
Authorizations:
path Parameters
id required | integer |
uid required | integer |
Request Body schema:
is_admin | boolean |
user required | integer |
Responses
Request samples
- Payload
{- "is_admin": true,
- "user": 0
}
Response samples
- 200
{- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "is_admin": true,
- "user": 0
}
organizations_user_partial_update
Authorizations:
path Parameters
id required | integer |
uid required | integer |
Request Body schema:
is_admin | boolean |
user | integer |
Responses
Request samples
- Payload
{- "is_admin": true,
- "user": 0
}
Response samples
- 200
{- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "is_admin": true,
- "user": 0
}
organizations_webhooks_list
Authorizations:
path Parameters
id required | integer |
query Parameters
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Responses
Response samples
- 200
{- "count": 123,
- "results": [
- {
- "Source_json": "string"
}
]
}
organizations_webhooks_retrieve
Authorizations:
path Parameters
id required | integer |
wid required | string <uuid> |
Responses
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_verified": true,
- "token": "b5507016-7da2-4777-a161-1e8042a6a377",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "webhook_url": "string",
- "is_active": true,
- "method": "get"
}
organizations_webhooks_update
Authorizations:
path Parameters
id required | integer |
wid required | string <uuid> |
Request Body schema:
name required | string <= 120 characters |
webhook_url | string or null <= 150 characters |
is_active | boolean |
(MethodEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) |
Responses
Request samples
- Payload
{- "name": "string",
- "webhook_url": "string",
- "is_active": true,
- "method": "get"
}
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_verified": true,
- "token": "b5507016-7da2-4777-a161-1e8042a6a377",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "webhook_url": "string",
- "is_active": true,
- "method": "get"
}
organizations_webhooks_partial_update
Authorizations:
path Parameters
id required | integer |
wid required | string <uuid> |
Request Body schema:
name | string <= 120 characters |
webhook_url | string or null <= 150 characters |
is_active | boolean |
(MethodEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) |
Responses
Request samples
- Payload
{- "name": "string",
- "webhook_url": "string",
- "is_active": true,
- "method": "get"
}
Response samples
- 200
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_verified": true,
- "token": "b5507016-7da2-4777-a161-1e8042a6a377",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "webhook_url": "string",
- "is_active": true,
- "method": "get"
}
organizations_retrieve
Authorizations:
path Parameters
id required | integer A unique integer value identifying this organization. |
Responses
Response samples
- 200
{- "id": 0,
- "name": "string",
- "is_active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox",
- "users": [
- 0
]
}
organizations_update
Authorizations:
path Parameters
id required | integer A unique integer value identifying this organization. |
Request Body schema:
name required | string <= 200 characters The name of the organization |
is_active | boolean |
alertemail required | string <email> <= 70 characters |
salesemail required | string <email> <= 70 characters |
phonenumber required | string <= 12 characters |
string or null <= 255 characters | |
object or null | |
website | string or null <uri> <= 255 characters |
overview | string or null |
object or null | |
org_type | string (OrgTypeEnum) Enum: "sandbox" "stage" "production" |
Responses
Request samples
- Payload
{- "name": "string",
- "is_active": true,
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox"
}
Response samples
- 200
{- "id": 0,
- "name": "string",
- "is_active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox",
- "users": [
- 0
]
}
organizations_partial_update
Authorizations:
path Parameters
id required | integer A unique integer value identifying this organization. |
Request Body schema:
name | string <= 200 characters The name of the organization |
is_active | boolean |
alertemail | string <email> <= 70 characters |
salesemail | string <email> <= 70 characters |
phonenumber | string <= 12 characters |
string or null <= 255 characters | |
object or null | |
website | string or null <uri> <= 255 characters |
overview | string or null |
object or null | |
org_type | string (OrgTypeEnum) Enum: "sandbox" "stage" "production" |
Responses
Request samples
- Payload
{- "name": "string",
- "is_active": true,
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox"
}
Response samples
- 200
{- "id": 0,
- "name": "string",
- "is_active": true,
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "alertemail": "user@example.com",
- "salesemail": "user@example.com",
- "phonenumber": "string",
- "twitter": "string",
- "logo": {
- "property1": null,
- "property2": null
}, - "overview": "string",
- "category": {
- "property1": null,
- "property2": null
}, - "org_type": "sandbox",
- "users": [
- 0
]
}
schema_retrieve
OpenApi3 schema for this API. Format can be selected via content negotiation.
- YAML: application/vnd.oai.openapi
- JSON: application/vnd.oai.openapi+json
Authorizations:
query Parameters
format | string Enum: "json" "yaml" |
lang | string Enum: "af" "ar" "ar-dz" "ast" "az" "be" "bg" "bn" "br" "bs" "ca" "cs" "cy" "da" "de" "dsb" "el" "en" "en-au" "en-gb" "eo" "es" "es-ar" "es-co" "es-mx" "es-ni" "es-ve" "et" "eu" "fa" "fi" "fr" "fy" "ga" "gd" "gl" "he" "hi" "hr" "hsb" "hu" "hy" "ia" "id" "ig" "io" "is" "it" "ja" "ka" "kab" "kk" "km" "kn" "ko" "ky" "lb" "lt" "lv" "mk" "ml" "mn" "mr" "ms" "my" "nb" "ne" "nl" "nn" "os" "pa" "pl" "pt" "pt-br" "ro" "ru" "sk" "sl" "sq" "sr" "sr-latn" "sv" "sw" "ta" "te" "tg" "th" "tk" "tr" "tt" "udm" "uk" "ur" "uz" "vi" "zh-hans" "zh-hant" |
Responses
Response samples
- 200
users_update
Authorizations:
path Parameters
username required | string Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
Request Body schema:
username required | string <= 150 characters ^[\w.@+-]+$ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
name | string (Name of User) <= 255 characters |
Responses
Request samples
- Payload
{- "username": "string",
- "name": "string"
}
Response samples
- 200
{- "username": "string",
- "name": "string",
}
users_partial_update
Authorizations:
path Parameters
username required | string Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
Request Body schema:
username | string <= 150 characters ^[\w.@+-]+$ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
name | string (Name of User) <= 255 characters |
Responses
Request samples
- Payload
{- "username": "string",
- "name": "string"
}
Response samples
- 200
{- "username": "string",
- "name": "string",
}
Response samples
- 200
{- "username": "string",
- "name": "string",
}