HeyDonto API Documentation (1.0)

API documentation for HeyDonto API

Languages
Servers
Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/
Sandbox
https://api-staging.heydonto.com/
Production
https://api.heydonto.com/

AppointmentType

Operations

Brands

Operations

Retrieve all brands based on the user role

Request

curl -i -X GET \
  https://docs.heydonto.com/_mock/apis/heydonto/openapi/brands \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

List of brands retrieved successfully.

Bodyapplication/jsonArray [
idnumberrequired

The ID of the brand to be updated

Example: 456
titlestringrequired

The title of the brand

Example: "HealthCorp"
isEnabledboolean

Indicates whether the brand is enabled

Example: true
createdAtstringrequired

The date and time the brand was created

Example: "2021-05-01T12:00:00Z"
updatedAtstringrequired

The date and time the brand was last updated

Example: "2021-05-01T12:00:00Z"
]
Response
application/json
[ { "id": 456, "title": "HealthCorp", "isEnabled": true, "createdAt": "2021-05-01T12:00:00Z", "updatedAt": "2021-05-01T12:00:00Z" } ]

Create a new brand

Request

Bodyapplication/jsonrequired
titlestringrequired

The title of the brand

Example: "HealthCorp"
organizationTitlestring

The title of the organization the brand is associated with (if applicable)

Example: "Global Health Group"
organizationIdnumber

The ID of the organization the brand is associated with (if applicable)

Example: 123
isAddingNewOrganizationboolean

Indicates whether a new organization is being added for the brand

Example: true
isEnabledboolean

Indicates whether the brand is enabled

Example: true
curl -i -X POST \
  https://docs.heydonto.com/_mock/apis/heydonto/openapi/brands \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "HealthCorp",
    "organizationTitle": "Global Health Group",
    "organizationId": 123,
    "isAddingNewOrganization": true,
    "isEnabled": true
  }'

Responses

Brand created successfully.

Bodyapplication/json
titlestringrequired

The title of the brand

Example: "HealthCorp"
organizationTitlestring

The title of the organization the brand is associated with (if applicable)

Example: "Global Health Group"
organizationIdnumber

The ID of the organization the brand is associated with (if applicable)

Example: 123
isAddingNewOrganizationboolean

Indicates whether a new organization is being added for the brand

Example: true
isEnabledboolean

Indicates whether the brand is enabled

Example: true
Response
application/json
{ "title": "HealthCorp", "organizationTitle": "Global Health Group", "organizationId": 123, "isAddingNewOrganization": true, "isEnabled": true }

Retrieve a brand by ID

Request

Path
brandIdnumberrequired
curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/heydonto/openapi/brands/{brandId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Brand retrieved successfully.

Bodyapplication/json
titlestringrequired

The title of the brand

Example: "HealthCorp"
organizationTitlestring

The title of the organization the brand is associated with (if applicable)

Example: "Global Health Group"
organizationIdnumber

The ID of the organization the brand is associated with (if applicable)

Example: 123
isAddingNewOrganizationboolean

Indicates whether a new organization is being added for the brand

Example: true
isEnabledboolean

Indicates whether the brand is enabled

Example: true
Response
application/json
{ "title": "HealthCorp", "organizationTitle": "Global Health Group", "organizationId": 123, "isAddingNewOrganization": true, "isEnabled": true }

Update an existing brand

Request

Path
brandIdnumberrequired
Bodyapplication/jsonrequired
titlestringrequired

The title of the brand

Example: "HealthCorp"
organizationTitlestring

The title of the organization the brand is associated with (if applicable)

Example: "Global Health Group"
organizationIdnumber

The ID of the organization the brand is associated with (if applicable)

Example: 123
isAddingNewOrganizationboolean

Indicates whether a new organization is being added for the brand

Example: true
isEnabledboolean

Indicates whether the brand is enabled

Example: true
idnumberrequired

The ID of the brand to be updated

Example: 456
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/heydonto/openapi/brands/{brandId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "HealthCorp",
    "organizationTitle": "Global Health Group",
    "organizationId": 123,
    "isAddingNewOrganization": true,
    "isEnabled": true,
    "id": 456
  }'

Responses

Brand updated successfully.

Bodyapplication/json
titlestringrequired

The title of the brand

Example: "HealthCorp"
organizationTitlestring

The title of the organization the brand is associated with (if applicable)

Example: "Global Health Group"
organizationIdnumber

The ID of the organization the brand is associated with (if applicable)

Example: 123
isAddingNewOrganizationboolean

Indicates whether a new organization is being added for the brand

Example: true
isEnabledboolean

Indicates whether the brand is enabled

Example: true
idnumberrequired

The ID of the brand to be updated

Example: 456
Response
application/json
{ "title": "HealthCorp", "organizationTitle": "Global Health Group", "organizationId": 123, "isAddingNewOrganization": true, "isEnabled": true, "id": 456 }

Delete a brand by ID

Request

Path
brandIdnumberrequired
curl -i -X DELETE \
  'https://docs.heydonto.com/_mock/apis/heydonto/openapi/brands/{brandId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Brand deleted successfully.

Response
application/json
{ "message": "Unauthorized", "statusCode": 401 }

Dental Practices

Operations

Dental Services

Operations

Organizations

Operations

Practice Management Systems

Operations

Sites

Operations

Codes

Operations

Site Assistants

Operations

Periomeasure

Operations