API documentation for HeyDonto API
curl -i -X GET \ https://docs.heydonto.com/_mock/apis/heydonto/openapi/practice-management-system \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
[ { "title": "OpenDental", "isEnabled": true, "id": 123, "createdAt": "2021-07-01T00:00:00.000Z", "updatedAt": "2021-07-01T00:00:00.000Z" } ]
curl -i -X POST \ https://docs.heydonto.com/_mock/apis/heydonto/openapi/practice-management-system \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "title": "OpenDental", "isEnabled": true }'
{ "title": "OpenDental", "isEnabled": true, "id": 123, "createdAt": "2021-07-01T00:00:00.000Z", "updatedAt": "2021-07-01T00:00:00.000Z" }
curl -i -X PUT \ 'https://docs.heydonto.com/_mock/apis/heydonto/openapi/practice-management-system/{practiceManagementSystemId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "title": "OpenDental", "isEnabled": true, "id": 123 }'
{ "title": "OpenDental", "isEnabled": true, "id": 123, "createdAt": "2021-07-01T00:00:00.000Z", "updatedAt": "2021-07-01T00:00:00.000Z" }
curl -i -X DELETE \ 'https://docs.heydonto.com/_mock/apis/heydonto/openapi/practice-management-system/{practiceManagementSystemId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "message": "Unauthorized", "statusCode": 401 }