Mews Rates API

The Rates API from Mews — 7 operation(s) for rates.

OpenAPI Specification

mews-com-rates-api-openapi.yml Raw ↑
openapi: 3.0.4
info:
  title: BookingEngineApi Account notes Rates API
  version: v1
servers:
- url: https://api.mews.com
tags:
- name: Rates
paths:
  /api/connector/v1/rates/updateCapacityOffset:
    post:
      tags:
      - Rates
      summary: Update rate capacity offset pricing
      description: Updates capacity offset based pricing for specified rates. This operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/).
      operationId: rates_updateCapacityOffset
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultipleRateCapacityOffsetUpdateParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              CapacityOffsetUpdates:
              - RateId: ed4b660b-19d0-434b-9360-a4de2ea42eda
                NegativeOccupancyAdjustment:
                  Value: 10.0
                ExtraOccupancyAdjustment:
                  Value: 20.0
              - RateId: b7e6a1c2-4f3a-4e2b-9c1d-2a5e7b8c9d0f
                ExtraOccupancyAdjustment:
                  Value: 15.0
              EnterpriseId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
      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'
  /api/connector/v1/rates/getAll:
    post:
      tags:
      - Rates
      summary: Get all rates
      description: Returns all rates (pricing setups) of the default service provided by the enterprise. 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: rates_getAll
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RateFilterParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              EnterpriseIds:
              - 3fa85f64-5717-4562-b3fc-2c963f66afa6
              - 4d0201db-36f5-428b-8d11-4f0a65e960cc
              ServiceIds:
              - bd26d8db-86da-4f96-9efc-e5a4654a4a94
              RateIds:
              - ed4b660b-19d0-434b-9360-a4de2ea42eda
              UpdatedUtc:
                StartUtc: '2022-10-15T00:00:00Z'
                EndUtc: '2022-10-20T00:00:00Z'
              ExternalIdentifiers:
              - Rate-001
              - Rate-002
              ActivityStates:
              - Active
              Extent:
                Rates: true
                RateGroups: true
                AvailabilityBlockAssignments: true
              Limitation:
                Count: 10
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateResult'
              example:
                Rates:
                - BaseRateId: null
                  BusinessSegmentId: null
                  GroupId: c8b866b3-be2e-4a47-9486-034318e9f393
                  Id: ed4b660b-19d0-434b-9360-a4de2ea42eda
                  ServiceId: bd26d8db-86da-4f96-9efc-e5a4654a4a94
                  IsActive: true
                  IsEnabled: true
                  IsPublic: true
                  Name: Fully Flexible
                  ShortName: FF
                  ExternalNames:
                    en-US: Long Stay Flexible Rate
                  ExternalIdentifier: D001
                RateGroups:
                - Id: c8b866b3-be2e-4a47-9486-034318e9f393
                  ServiceId: bd26d8db-86da-4f96-9efc-e5a4654a4a94
                  IsActive: true
                  Name: Default
                  ExternalIdentifier: RG001
                AvailabilityBlockAssignments:
                - RateId: ed4b660b-19d0-434b-9360-a4de2ea42eda
                  AvailabilityBlockId: 12806ae8-9c15-44c7-9a44-afae01289928
        '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/rates/add:
    post:
      tags:
      - Rates
      summary: Add rates
      description: Adds rates to the enterprise. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property). Rate type of `AvailabilityBlock` cannot be created via this operation.
      operationId: rates_add
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RateAddParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              EnterpriseId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
              Rates:
              - ServiceId: bd26d8db-86da-4f96-9efc-e5a4654a4a94
                RateGroupId: b9f25a45-9b9a-4b33-99bd-b06f008eb6f5
                IsEnabled: true
                Type: Public
                AccountingCategoryId: 3620c660-a4ec-4e0f-a0bc-b06f008eb8bf
                Names:
                  EN: My rate
                ExternalIdentifier: D001
                PricingType: DependentRatePricing
                Pricing:
                  DependentRatePricing:
                    BaseRateId: 1a1ddd3b-e106-4a70-aef1-54a75b483943
                    RelativeAdjustment: 0.15
                    AbsoluteAdjustment: 10
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateAddResult'
              example:
                Rates:
                - Id: ed4b660b-19d0-434b-9360-a4de2ea42eda
                  GroupId: b9f25a45-9b9a-4b33-99bd-b06f008eb6f5
                  BaseRateId: 1a1ddd3b-e106-4a70-aef1-54a75b483943
                  BusinessSegmentId: null
                  ServiceId: bd26d8db-86da-4f96-9efc-e5a4654a4a94
                  IsActive: true
                  IsEnabled: true
                  IsPublic: true
                  Type: Public
                  Name: My rate
                  ShortName: FF
                  ExternalNames:
                    en-US: Long Stay Flexible Rate
                  ExternalIdentifier: D001
        '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/rates/set:
    post:
      tags:
      - Rates
      summary: Set rates
      description: Adds new Rates or updates existing ones if they are matched by `Id` or `ExternalIdentifier` property. This operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/).
      operationId: rates_set
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RateSetParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              Rates:
              - Id: e1b0bf46-32a3-4f7c-99c1-1ff78447d55d
                ServiceId: 956176af-e10b-4f3c-beb7-274801bce328
                RateGroupId: d7adfddc-c2dc-4798-ace2-28de7b25408f
                IsEnabled: true
                Type: Public
                Names:
                  en-US: Base rate
                Descriptions:
                  en-US: Base rate with all fields specified using GUID identifiers.
                PricingType: BaseRatePricing
                Pricing:
                  BaseRatePricing:
                    Amount:
                      Currency: EUR
                      NetValue: 100.0
              - ExternalIdentifier: '55698'
                ServiceId: eid:Stay
                RateGroupId: eid:RG10
                IsEnabled: false
                Type: Private
                Names:
                  en-US: Dependent rate
                Descriptions:
                  en-US: Dependent rate with all field specified using eid identifiers.
                PricingType: DependentRatePricing
                Pricing:
                  DependentRatePricing:
                    BaseRateId: 00392166-3869-4174-b491-cf0162524a38
                    RelativeAdjustment: 0.0
                    AbsoluteAdjustment: 0.0
              EnterpriseId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateSetResult'
              example:
                Rates:
                - Id: e1b0bf46-32a3-4f7c-99c1-1ff78447d55d
                  GroupId: d7adfddc-c2dc-4798-ace2-28de7b25408f
                  ServiceId: 956176af-e10b-4f3c-beb7-274801bce328
                  BaseRateId: null
                  IsBaseRate: true
                  BusinessSegmentId: dc9188f6-fb61-412c-b3fd-af32dab082ed
                  IsActive: true
                  IsEnabled: true
                  IsPublic: true
                  IsDefault: false
                  Type: Public
                  Name: null
                  Names:
                    en-US: Base rate
                  ShortName: BR
                  UpdatedUtc: '2024-11-20T00:00:00Z'
                  ExternalNames:
                    en-US: External base rate
                  Description:
                    en-US: Base rate description.
                  ExternalIdentifier: null
                  TaxExemptionReason: null
                  TaxExemptionLegalReference: null
                - Id: 8eb1f163-bce7-49ca-a62c-c9261951c85f
                  GroupId: d7adfddc-c2dc-4798-ace2-28de7b25408f
                  ServiceId: 956176af-e10b-4f3c-beb7-274801bce328
                  BaseRateId: 00392166-3869-4174-b491-cf0162524a38
                  IsBaseRate: false
                  BusinessSegmentId: dc9188f6-fb61-412c-b3fd-af32dab082ed
                  IsActive: true
                  IsEnabled: false
                  IsPublic: false
                  IsDefault: false
                  Type: Private
                  Name: null
                  Names:
                    en-US: Dependent rate
                  ShortName: DR
                  UpdatedUtc: '2024-11-20T00:00:00Z'
                  ExternalNames:
                    en-US: External dependent rate
                  Description:
                    en-US: Dependent rate description.
                  ExternalIdentifier: '55698'
                  TaxExemptionReason: null
                  TaxExemptionLegalReference: 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'
      x-restricted: true
  /api/connector/v1/rates/delete:
    post:
      tags:
      - Rates
      summary: Delete rates
      description: Deletes specified rates. This operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/).
      operationId: rates_delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RateDeleteParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              RateIds:
              - 7e89ee8e-11a0-4d9d-8880-f8d8494824b5
              - eid:BasicRate
              EnterpriseId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
      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'
  /api/connector/v1/rates/getPricing:
    post:
      tags:
      - Rates
      summary: Get rate pricing
      description: 'Returns prices for a given rate for a specified time interval. Prices will be returned for all service time units that the specified time interval intersects. So, for example, an interval `1st Jan 23:00 UTC - 1st Jan 23:00 UTC` will result in one price for `2nd Jan`, while Interval `1st Jan 23:00 UTC - 2nd Jan 23:00 UTC` will result in two prices for `2nd Jan` and `3rd Jan` (assuming a time unit period of "Day"). UTC timestamps must correspond to the start boundary of a time unit, e.g. 00:00 converted to UTC for a time unit of "Day". Other timestamps are not permitted. The __maximum size of time interval__ depends on the service''s time unit: 367 hours if hours, 367 days if days, or 60 months if months. For more information about time units, see [Time units](https://mews-systems.gitbook.io/connector-api/concepts/time-units).'
      operationId: rates_getPricing
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RatePricingFilterParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              RateId: ed4b660b-19d0-434b-9360-a4de2ea42eda
              FirstTimeUnitStartUtc: '2022-01-01T23:00:00.000Z'
              LastTimeUnitStartUtc: '2022-01-03T23:00:00.000Z'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RatePricing'
              example:
                Currency: EUR
                BaseAmountPrices:
                - Currency: EUR
                  NetValue: 93.46
                  GrossValue: 100
                  TaxValues:
                  - Code: DE-2020-1-L
                    Value: 6.54
                  Breakdown:
                    Items:
                    - TaxRateCode: DE-2020-1-L
                      NetValue: 93.46
                      TaxValue: 6.54
                - Currency: EUR
                  NetValue: 93.46
                  GrossValue: 100
                  TaxValues:
                  - Code: DE-2020-1-L
                    Value: 6.54
                  Breakdown:
                    Items:
                    - TaxRateCode: DE-2020-1-L
                      NetValue: 93.46
                      TaxValue: 6.54
                CategoryAdjustments:
                - AbsoluteValue: 0
                  CategoryId: 34c29e73-c8db-4e93-b51b-981e42655e03
                  ParentCategoryId: null
                  RelativeValue: 0.2
                - AbsoluteValue: 50
                  CategoryId: a0a7a5c5-c4ef-494a-8b34-6cca97629076
                  ParentCategoryId: 34c29e73-c8db-4e93-b51b-981e42655e03
                  RelativeValue: 0
                CategoryPrices:
                - CategoryId: e3aa3117-dff0-46b7-b49a-2c0391e70ff9
                  AmountPrices:
                  - Currency: EUR
                    NetValue: 93.46
                    GrossValue: 100
                    TaxValues:
                    - Code: DE-2020-1-L
                      Value: 6.54
                    Breakdown:
                      Items:
                      - TaxRateCode: DE-2020-1-L
                        NetValue: 93.46
                        TaxValue: 6.54
                  - Currency: EUR
                    NetValue: 93.46
                    GrossValue: 100
                    TaxValues:
                    - Code: DE-2020-1-L
                      Value: 6.54
                    Breakdown:
                      Items:
                      - TaxRateCode: DE-2020-1-L
                        NetValue: 93.46
                        TaxValue: 6.54
                TimeUnitStartsUtc:
                - '2022-01-01T23:00:00Z'
                - '2022-01-02T23:00:00Z'
                - '2022-01-03T23:00:00Z'
        '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/rates/updatePrice:
    post:
      ta

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