Overview
Languages
Servers
Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/
Sandbox
https://api-staging.heydonto.com/
Production
https://api.heydonto.com/
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/code
- Sandbox
https://api-staging.heydonto.com/code
- Production
https://api.heydonto.com/code
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/code?title=Nutritional+Counseling&page=0&pageSize=10&sortBy%5B0%5D%5Bfield%5D=id&sortBy%5B0%5D%5Bdir%5D=asc&sortBy%5B1%5D%5Bfield%5D=id&sortBy%5B1%5D%5Bdir%5D=asc' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Response
application/json
{ "data": [ { … } ], "meta": { "page": 0, "pageSize": 10, "total": 150, "totalPages": 15, "hasNext": true, "hasPrevious": false } }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/code
- Sandbox
https://api-staging.heydonto.com/code
- Production
https://api.heydonto.com/code
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.heydonto.com/_mock/apis/heydonto/openapi/code \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Medical Code Title",
"code": "M1234",
"category": "Dental",
"categoryCode": "D4567",
"isEnabled": true
}'
Response
application/json
{ "title": "Medical Code Title", "code": "M1234", "category": "Dental", "categoryCode": "D4567", "isEnabled": true, "id": 123, "createdAt": "2021-05-01T12:00:00Z", "updatedAt": "2021-05-01T12:00:00Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/code/{codeId}
- Sandbox
https://api-staging.heydonto.com/code/{codeId}
- Production
https://api.heydonto.com/code/{codeId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/code/{codeId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Medical Code Title",
"code": "M1234",
"category": "Dental",
"categoryCode": "D4567",
"isEnabled": true,
"id": 123
}'
Response
application/json
{ "title": "Medical Code Title", "code": "M1234", "category": "Dental", "categoryCode": "D4567", "isEnabled": true, "id": 123, "createdAt": "2021-05-01T12:00:00Z", "updatedAt": "2021-05-01T12:00:00Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/code/{codeId}
- Sandbox
https://api-staging.heydonto.com/code/{codeId}
- Production
https://api.heydonto.com/code/{codeId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/code/{codeId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'