Mews Account notes API

The Account notes API from Mews — 4 operation(s) for account notes.

Operations 4

POST /api/connector/v1/accountNotes/getAll Get all account notes #
POST /api/connector/v1/accountNotes/add Add account notes #
POST /api/connector/v1/accountNotes/update Update account notes #
POST /api/connector/v1/accountNotes/delete Delete account notes #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mews-com-account-notes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mews-com-account-notes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BookingEngineApi Account notes API
  version: v1
servers:
- url: https://api.mews.com
tags:
- name: Account notes
paths:
  /api/connector/v1/accountNotes/getAll:
    post:
      tags:
      - Account notes
      summary: Get all account notes
      description: 'Returns all account notes of an account, optionally filtered by activity state, account identifiers, specific account note identifiers or other filter parameters.

        Note this operation uses [Pagination](https://mews-systems.gitbook.io/connector-api/guidelines/pagination/) and supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property).'
      operationId: accountNotes_getAll
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountNoteFilterParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              ChainIds:
              - 1df21f06-0cfc-4960-9c58-a3bf1261663e
              - 5fcd1933-22f2-40b9-84da-7db04cbecec2
              AccountNoteIds:
              - 3ed9e2f3-4bba-4df6-8d41-ab1b009b6425
              - 8a98965a-7c03-48a1-a28c-ab1b009b53c8
              AccountIds:
              - a6738390-c241-45b7-8e46-14f47207abe5
              - 435d4d5f-d14f-48dc-a47e-0481fc28ead0
              UpdatedUtc:
                StartUtc: '2022-10-10T00:00:00Z'
                EndUtc: '2022-10-17T00:00:00Z'
              ActivityStates:
              - Active
              Limitation:
                Cursor: e7f26210-10e7-462e-9da8-ae8300be8ab7
                Count: 100
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountNoteResult'
              example:
                AccountNotes:
                - Id: a58ff7cb-77e3-495a-bd61-aecf00a3f19d
                  AccountId: 1df21f06-0cfc-4960-9c58-a3bf1261663e
                  Content: Customer receives a free bottle of champagne during stay
                  AccountType: Customer
                  Classifications:
                  - Gifts
                  IsActive: true
                  CreatorProfile:
                    Discriminator: Enterprise
                    EnterpriseProfile:
                      ProfileId: 52d19c34-b0aa-4635-905d-1326fa8b8e13
                  UpdaterProfile:
                    Discriminator: Integration
                    EnterpriseProfile: null
                - Id: da34b396-41f7-47f6-8847-aecf00a3f19e
                  AccountId: 5fcd1933-22f2-40b9-84da-7db04cbecec2
                  Content: Lactose intolerant
                  AccountType: Customer
                  Classifications:
                  - FoodAndBeverage
                  IsActive: true
                  CreatorProfile:
                    Discriminator: Enterprise
                    EnterpriseProfile:
                      ProfileId: 52d19c34-b0aa-4635-905d-1326fa8b8e13
                  UpdaterProfile:
                    Discriminator: Integration
                    EnterpriseProfile: null
                Cursor: da34b396-41f7-47f6-8847-aecf00a3f19e
        '400':
          description: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '401':
          description: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '403':
          description: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '408':
          description: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '204':
          description: Server has successfully fulfilled the request and there is no additional information to send back.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '429':
          description: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '500':
          description: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
  /api/connector/v1/accountNotes/add:
    post:
      tags:
      - Account notes
      summary: Add account notes
      description: Adds account notes to an account of the enterprise chain. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property).
      operationId: accountNotes_add
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultipleAccountNoteAddParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              ChainId: 1df21f06-0cfc-4960-9c58-a3bf1261663e
              AccountNotes:
              - AccountId: 8ddea57b-6a5c-4eec-8c4c-24467dce118e
                Content: Brother of the CEO
                Classifications:
                - FamilyRelations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountNoteAdditionResult'
              example:
                AccountNotes:
                - Id: a58ff7cb-77e3-495a-bd61-aecf00a3f19d
                  AccountId: 1df21f06-0cfc-4960-9c58-a3bf1261663e
                  Content: Brother of the CEO
                  AccountType: Customer
                  Classifications:
                  - FamilyRelations
                  IsActive: true
                  CreatorProfile:
                    Discriminator: Enterprise
                    EnterpriseProfile:
                      ProfileId: 52d19c34-b0aa-4635-905d-1326fa8b8e13
                  UpdaterProfile:
                    Discriminator: Integration
                    EnterpriseProfile: null
        '400':
          description: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '401':
          description: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '403':
          description: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '408':
          description: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '204':
          description: Server has successfully fulfilled the request and there is no additional information to send back.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '429':
          description: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '500':
          description: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
  /api/connector/v1/accountNotes/update:
    post:
      tags:
      - Account notes
      summary: Update account notes
      description: Updates information about the specified account notes.
      operationId: accountNotes_update
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultipleAccountNoteUpdateParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              AccountNoteUpdates:
              - AccountNoteId: a58ff7cb-77e3-495a-bd61-aecf00a3f19d
                Content:
                  Value: The AC in the room doesn't work anymore
                Classifications:
                  Maintenance:
                    Value: true
                  Housekeeping:
                    Value: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountNoteUpdateResult'
              example:
                AccountNotes:
                - Id: a58ff7cb-77e3-495a-bd61-aecf00a3f19d
                  AccountId: 1df21f06-0cfc-4960-9c58-a3bf1261663e
                  Content: The AC in the room doesn't work anymore
                  AccountType: Customer
                  Classifications:
                  - Maintenance
                  IsActive: true
                  CreatorProfile:
                    Discriminator: Enterprise
                    EnterpriseProfile:
                      ProfileId: 52d19c34-b0aa-4635-905d-1326fa8b8e13
                  UpdaterProfile:
                    Discriminator: Integration
                    EnterpriseProfile: null
        '400':
          description: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '401':
          description: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '403':
          description: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '408':
          description: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '204':
          description: Server has successfully fulfilled the request and there is no additional information to send back.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '429':
          description: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '500':
          description: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
  /api/connector/v1/accountNotes/delete:
    post:
      tags:
      - Account notes
      summary: Delete account notes
      description: Deletes specified account notes.
      operationId: accountNotes_delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultipleAccountNoteDeleteParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              AccountNoteIds:
              - a58ff7cb-77e3-495a-bd61-aecf00a3f19d
              - da34b396-41f7-47f6-8847-aecf00a3f19e
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unit'
        '400':
          description: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '401':
          description: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '403':
          description: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '408':
          description: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '204':
          description: Server has successfully fulfilled the request and there is no additional information to send back.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '429':
          description: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '500':
          description: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
components:
  schemas:
    AccountNoteResult:
      title: AccountNoteResult
      required:
      - AccountNotes
      type: object
      properties:
        AccountNotes:
          type: array
          items:
            $ref: '#/components/schemas/AccountNote'
          description: The set of requested account notes.
        Cursor:
          type:
          - string
          - 'null'
          description: Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.
          format: uuid
      additionalProperties: false
      x-schema-id: AccountNoteResult
    AccountNoteUpdateClassifications:
      title: Account note update classifications
      type: object
      properties:
        General:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Company and Customer: Boolean value defining the general classification for the account note (or `null` if the value should not be updated).'
        FoodAndBeverage:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the food and beverage classification for the account note (or `null` if the value should not be updated).'
        FrontOffice:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the front office classification for the account note (or `null` if the value should not be updated).'
        Reservations:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the reservations classification for the account note (or `null` if the value should not be updated).'
        Housekeeping:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the housekeeping classification for the account note (or `null` if the value should not be updated).'
        Maintenance:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the maintenance classification for the account note (or `null` if the value should not be updated).'
        PreviousStay:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the previous stay classification for the account note (or `null` if the value should not be updated).'
        FamilyRelations:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the family relations classification for the account note (or `null` if the value should not be updated).'
        Gifts:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the gifts classification for the account note (or `null` if the value should not be updated).'
        Accounting:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the accounting classification for the account note (or `null` if the value should not be updated).'
        Complaints:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the complaints classification for the account note (or `null` if the value should not be updated).'
        Other:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: 'Customer only: Boolean value defining the other classification for the account note (or `null` if the value should not be updated).'
      additionalProperties: false
      x-schema-id: AccountNoteUpdateClassifications
    Unit:
      type: object
      additionalProperties: false
    ConnectorApiExceptionResult:
      title: ConnectorApiExceptionResult
      type: object
      properties:
        Message:
          type:
          - string
          - 'null'
        RequestId:
          type:
          - string
          - 'null'
        Details: {}
      additionalProperties: false
      x-schema-id: ConnectorApiExceptionResult
    MultipleAccountNoteDeleteParameters:
      title: MultipleAccountNoteDeleteParameters
      required:
      - AccessToken
      - AccountNoteIds
      - Client
      - ClientToken
      type: object
      properties:
        ClientToken:
          minLength: 1
          type: string
          description: Token identifying the client application.
        AccessToken:
          minLength: 1
          type: string
          description: Access token of the client application.
        Client:
          minLength: 1
          type: string
          description: Name and version of the client application.
        ChainId:
          type:
          - string
          - 'null'
          description: Unique identifier of the chain. Required when using [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property), ignored otherwise.
          format: uuid
        AccountNoteIds:
          maxItems: 1000
          minItems: 1
          type: array
          items:
            type: string
            format: uuid
          description: Unique identifiers of the account notes to be deleted.
      additionalProperties: false
      x-schema-id: MultipleAccountNoteDeleteParameters
    TimeFilterInterval:
      title: Time interval
      type: object
      properties:
        StartUtc:
          type:
          - string
          - 'null'
          format: date-time
        EndUtc:
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: false
      description: "When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply:\n\n- **Start equals End (equality mode)**  \n  If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time:\n  \n  ```\n  CreatedUtc == StartUtc\n  ```\n  \n  This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned.\n\n- **Start differs from End (interval mode)**  \n  If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval:\n  \n  ```\n  StartUtc <= CreatedUtc < EndUtc\n  ```\n  \n  In other words, the start is inclusive and the end is exclusive.\n\nMake sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted."
      x-schema-id: TimeFilterInterval
    AccountNoteUpdateParameters:
      title: Account note update parameters
      required:
      - AccountNoteId
      - Classifications
      type: object
      properties:
        AccountNoteId:
          type: string
          description: Unique identifier of the account note.
          format: uuid
        Content:
          title: String update value
          maxLength: 1000
          minLength: 1
          allOf:
          - $ref: '#/components/schemas/StringUpdateValue'
          description: Content of the account note (or `null` if the content should not be updated).
        Classifications:
          title: Account note update classifications
          allOf:
          - $ref: '#/components/schemas/AccountNoteUpdateClassifications'
          description: Classification of the account note.
      additionalProperties: false
      x-schema-id: AccountNoteUpdateParameters
    AccountNoteClassificationEnum:
      title: Account note classification
      enum:
      - General
      - FoodAndBeverage
      - FrontOffice
      - Reservations
      - Housekeeping
      - Maintenance
      - PreviousStay
      - FamilyRelations
      - Gifts
      - Accounting
      - Complaints
      - Other
      type: string
      description: '


        General (For Company and Customer)


        FoodAndBeverage (Only Customer)


        FrontOffice (Only Customer)


        Reservations (Only Customer)


        Housekeeping (Only Customer)


        Maintenance (Only Customer)


        PreviousStay (Only Customer)


        FamilyRelations (Only Customer)


        Gifts (Only Customer)


        Accounting (Only Customer)


        Complaints (Only Customer)


        Other (Only Customer)'
      x-enumNames:
      - General
      - FoodAndBeverage
      - FrontOffice
      - Reservations
      - Housekeeping
      - Maintenance
      - PreviousStay
      - FamilyRelations
      - Gifts
      - Accounting
      - Complaints
      - Other
      x-enumDescriptions:
      - For Company and Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      - Only Customer
      x-extensible: true
    AccountNoteAdditionResult:
      title: AccountNoteAdditionResult
      required:
      - AccountNotes
      type: object
      properties:
        AccountNotes:
          type: array
          items:
            $ref: '#/components/schemas/AccountNote'
          description: Added account notes.
      additionalProperties: false
      x-schema-id: AccountNoteAdditionResult
    EnterpriseProfileData:
      title: Enterprise profile data
      required:
      - ProfileId
      type: object
      properties:
        ProfileId:
          type: string
          description: Unique identifier of the profile.
          format: uuid
      additionalProperties: false
      x-schema-id: EnterpriseProfileData
    StringUpdateValue:
      title: String update value
      type: object
      properties:
        Value:
          type:
          - string
          - 'null'
          description: Value which is to be updated.
      additionalProperties: false
      x-schema-id: StringUpdateValue
    BooleanUpdateValue:
      title: Boolean update value
      type: object
      properties:
        Value:
          type: boolean
          description: Value which is to be updated.
      additionalProperties: false
      x-schema-id: BooleanUpdateValue
    AccountNote:
      title: Account note
      required:
      - AccountId
      - AccountType
      - Classifications
      - Content
      - CreatorProfile
      - Id
      - IsActive
      - UpdaterProfile
      type: object
      properties:
        Id:
          type: string
          description: Unique identifier of the account note.
          format: uuid
        AccountId:
          type: string
          description: Unique identifier of the account.
          format: uuid
        Content:
          minLength: 1
          type: string
          description: The content of the account note.
        AccountType:
          title: Account type
          allOf:
          - $ref: '#/components/schemas/AccountTypeEnum'
          description: 'Specifying type of associated account.


            Company


            Customer'
          x-enumNames:
          - Company
          - Customer
          x-enumDescriptions:
          - ''
          - ''
        Classifications:
          type: array
          items:
            $ref: '#/components/schemas/AccountNoteClassificationEnum'
          description: Specifying the classifications of the note based on account type.
        IsActive:
          type: boolean
          description: Whether the account note is still active.
        CreatorProfile:
          title: Profile data
          allOf:
          - $ref: '#/components/schemas/ProfileData'
          description: The profile data of the user who created the account note.
        UpdaterProfile:
          title: Profile data
          allOf:
          - $ref: '#/components/schemas/ProfileData'
          description: The profile data of the user who updated the account note.
      additionalProperties: false
      x-schema-id: AccountNote
    AccountNoteAddParameters:
      title: Account note parameters
      required:
      - AccountId
      - Classifications
      - Content
      type: object
      properties:
        AccountId:
          type: string
          format: uuid
        Content:
          maxLength: 1000
          minLength: 1
          type: string
          description: The content of the account note.
        Classifications:
          maxItems: 1
          minItems: 1
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/AccountNoteClassificationEnum'
          description: Specifying the classifications of the note based on account type.
      additionalProperties: false
      x-schema-id: AccountNoteAddParameters
    ProfileData:
      title: Profile data
      required:
      - Discriminator
      type: object
      properties:
        Discrimina

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mews-com/refs/heads/main/openapi/mews-com-account-notes-api-openapi.yml