openapi: 3.1.0 info: title: API Reference subpackage_auth.subpackage_auth/default subpackage_billing-notes.subpackage_billing-notes/v2 API version: 1.0.0 servers: - url: https://pre-api.joincandidhealth.com description: Production - url: https://pre-api-staging.joincandidhealth.com description: Staging - url: https://sandbox-pre-api.joincandidhealth.com description: CandidSandbox - url: https://staging-pre-api.joincandidhealth.com description: CandidStaging - url: http://localhost:4000 description: Local - url: https://api.joincandidhealth.com description: Production - url: https://api-staging.joincandidhealth.com description: Staging - url: https://sandbox-api.joincandidhealth.com description: CandidSandbox - url: https://staging-api.joincandidhealth.com description: CandidStaging - url: http://localhost:5050 description: Local tags: - name: subpackage_billing-notes.subpackage_billing-notes/v2 paths: /api/billing_notes/v2: post: operationId: create summary: Create billing note tags: - subpackage_billing-notes.subpackage_billing-notes/v2 parameters: - name: Authorization in: header description: OAuth authentication required: true schema: type: string responses: '200': description: Response with status 200 content: application/json: schema: $ref: '#/components/schemas/type_billing-notes/v2:BillingNote' requestBody: content: application/json: schema: type: object properties: text: type: string description: Empty string not allowed. encounter_id: $ref: '#/components/schemas/type_commons:EncounterId' required: - text - encounter_id /api/billing_notes/v2/{billing_note_id}: delete: operationId: delete summary: Delete billing note tags: - subpackage_billing-notes.subpackage_billing-notes/v2 parameters: - name: billing_note_id in: path required: true schema: $ref: '#/components/schemas/type_billing-notes/v2:BillingNoteId' - name: Authorization in: header description: OAuth authentication required: true schema: type: string responses: '200': description: Successful response '400': description: Error response with status 400 content: application/json: schema: type: object properties: errorName: type: string enum: - OrganizationNotAuthorizedError content: $ref: '#/components/schemas/type_commons:OrganizationNotAuthorizedErrorMessage' required: - errorName - content '403': description: Error response with status 403 content: application/json: schema: type: object properties: errorName: type: string enum: - UnauthorizedError content: $ref: '#/components/schemas/type_commons:UnauthorizedErrorMessage' required: - errorName - content '404': description: Error response with status 404 content: application/json: schema: type: object properties: errorName: type: string enum: - EntityNotFoundError content: $ref: '#/components/schemas/type_commons:EntityNotFoundErrorMessage' required: - errorName - content patch: operationId: update summary: Update tags: - subpackage_billing-notes.subpackage_billing-notes/v2 parameters: - name: billing_note_id in: path required: true schema: $ref: '#/components/schemas/type_billing-notes/v2:BillingNoteId' - name: Authorization in: header description: OAuth authentication required: true schema: type: string responses: '200': description: Response with status 200 content: application/json: schema: $ref: '#/components/schemas/type_billing-notes/v2:BillingNote' '400': description: Error response with status 400 content: application/json: schema: type: object properties: errorName: type: string enum: - OrganizationNotAuthorizedError content: $ref: '#/components/schemas/type_commons:OrganizationNotAuthorizedErrorMessage' required: - errorName - content '403': description: Error response with status 403 content: application/json: schema: type: object properties: errorName: type: string enum: - UnauthorizedError content: $ref: '#/components/schemas/type_commons:UnauthorizedErrorMessage' required: - errorName - content '404': description: Error response with status 404 content: application/json: schema: type: object properties: errorName: type: string enum: - EntityNotFoundError content: $ref: '#/components/schemas/type_commons:EntityNotFoundErrorMessage' required: - errorName - content '422': description: Error response with status 422 content: application/json: schema: type: object properties: errorName: type: string enum: - HttpRequestValidationsError content: type: array items: $ref: '#/components/schemas/type_commons:RequestValidationError' required: - errorName - content requestBody: content: application/json: schema: type: object properties: text: type: string description: Empty string not allowed. required: - text components: schemas: type_commons:EntityNotFoundErrorMessage: type: object properties: id: type: string required: - id title: EntityNotFoundErrorMessage type_commons:OrganizationNotAuthorizedErrorMessage: type: object properties: message: type: string required: - message title: OrganizationNotAuthorizedErrorMessage type_commons:UnauthorizedErrorMessage: type: object properties: message: type: string title: UnauthorizedErrorMessage type_commons:RequestValidationError: type: object properties: fieldName: type: string humanReadableMessage: type: string required: - fieldName title: RequestValidationError type_commons:EncounterId: type: string format: uuid title: EncounterId securitySchemes: OAuthScheme: type: http scheme: bearer description: OAuth 2.0 authentication