MV sistemas Conta API

The Conta API from MV sistemas — 1 operation(s) for conta.

OpenAPI Specification

mv-sistemas-conta-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Clinic Agenda Agendamento Conta API
  version: 1.0.0
  description: Esta API permite consultar as agendas disponíveis no sistema Clinic, retornando informações sobre dias e horários que possuem disponibilidade para agendamento.
servers:
- url: https://api.globalhealth.mv/available-appointments/api
  description: Ambiente de PRODUÇÃO
- url: https://api.globalhealth.mv/hml/available-appointments/api
  description: Ambiente de HOMOLOGAÇÃO
- url: https://api.globalhealth.mv/qa/available-appointments/api
  description: Ambiente de QA
security:
- x-api-key: []
tags:
- name: Conta
paths:
  /v1/subscriptions:
    post:
      tags:
      - Conta
      summary: Criar conta Clinic Connect
      description: Endpoint responsável pela criação de contas no Clinic Connect, permitindo o registro de novas integrações com o sistema Clinic.
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectSubscriptionDTO'
      responses:
        '201':
          description: Conta cadastrada com sucesso.
        '400':
          description: Requisição inválida. Verifique os dados enviados.
        '500':
          description: Erro interno do servidor.
components:
  schemas:
    ConnectSubscriptionDTO:
      type: object
      properties:
        externalId:
          type: integer
          format: int32
        identificationNumber:
          type: string
        accessCode:
          type: string
        clientKey:
          type: string
        email:
          type: string
          format: email
        login:
          type: string
        name:
          type: string
        password:
          type: string
          format: password
        phone:
          type: string
        termCbo:
          $ref: '#/components/schemas/TermCboConnectDTO'
        accreditation:
          $ref: '#/components/schemas/EmployeeAccreditationDTO'
    EmployeeAccreditationDTO:
      type: object
      properties:
        accreditationType:
          type: string
          example: CRM
        accreditationState:
          type: string
          example: PE
        accreditationNumber:
          type: string
          example: '123456'
    TermCboConnectDTO:
      type: object
      properties:
        termCode:
          type: string
  securitySchemes:
    x-api-key:
      type: apiKey
      name: x-api-key
      in: header