AlayaCare Bill Code Rate RRules API

The Bill Code Rate RRules API from AlayaCare — 2 operation(s) for bill code rate rrules.

Operations 5

GET /billcodes/{billcode_id}/rates/{billcode_rate_id}/rrules Get all Bill Code Rate Recurrence Rules
POST /billcodes/{billcode_id}/rates/{billcode_rate_id}/rrules Create a Recurrence Rule for a Bill Code Rate
GET /billcodes/{billcode_id}/rates/{billcode_rate_id}/rrules/{billcode_rate_rrule_id} Get a Bill Code Rate Recurrence Rule
PUT /billcodes/{billcode_id}/rates/{billcode_rate_id}/rrules/{billcode_rate_rrule_id} Update a Bill Code Rate Recurrence Rule
DELETE /billcodes/{billcode_id}/rates/{billcode_rate_id}/rrules/{billcode_rate_rrule_id} Delete a Bill Code Rate Recurrence Rule

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/alayacare-bill-code-rate-rrules-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

alayacare-bill-code-rate-rrules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.19-oas3
  title: AlayaCare Accounting Bill Code Rate RRules API
  description: '**AlayaCare IDs:**

    The following terms are used to reference IDs that identify resources in AlayaCare:

    - id

    - visit_id

    - premium_id

    - visit_premium_id

    - employee_id

    - cost_centre_id

    - client_id


    **External IDs**

    The following terms are used to reference IDs that identify resources systems external to AlayaCare:

    - employee_external_id

    - client_external_id


    External IDs are required to be unique.

    No other assumptions are made regarding their format they are treated as strings.

    '
servers:
- url: https://example.alayacare.com/ext/api/v2/accounting
security:
- basic_auth: []
tags:
- name: Bill Code Rate RRules
paths:
  /billcodes/{billcode_id}/rates/{billcode_rate_id}/rrules:
    parameters:
    - $ref: '#/components/parameters/billcodeId'
    - $ref: '#/components/parameters/billcodeRateId'
    - $ref: '#/components/parameters/page'
    - $ref: '#/components/parameters/count'
    get:
      tags:
      - Bill Code Rate RRules
      summary: Get all Bill Code Rate Recurrence Rules
      parameters:
      - name: ids
        in: query
        required: false
        schema:
          type: array
          items:
            type: integer
      - name: billcode_id
        in: query
        required: false
        schema:
          type: integer
      - name: billcode_rate_id
        in: query
        required: false
        schema:
          type: integer
      - name: search
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Collection of Bill Code Rate Rrules
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PaginatedList'
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/BillCodeRateRRuleQuerySchema'
        '404':
          $ref: '#/components/responses/BillCodeRateNotFound'
    post:
      tags:
      - Bill Code Rate RRules
      summary: Create a Recurrence Rule for a Bill Code Rate
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillCodeRateRRuleCreateSchema'
      responses:
        '201':
          description: Collection create a Bill Code Rates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillCodeRateRRuleQuerySchema'
        '401':
          $ref: '#/components/responses/ErrorResponseAuthentication'
        '404':
          $ref: '#/components/responses/BillCodeRateNotFound'
  /billcodes/{billcode_id}/rates/{billcode_rate_id}/rrules/{billcode_rate_rrule_id}:
    parameters:
    - $ref: '#/components/parameters/billcodeId'
    - $ref: '#/components/parameters/billcodeRateId'
    - $ref: '#/components/parameters/billcodeRateRRuleId'
    get:
      parameters:
      - name: rate
        description: Filter by rate
        in: query
        required: false
        schema:
          type: number
      - name: order
        description: Filter by order
        in: query
        required: false
        schema:
          type: integer
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/count'
      tags:
      - Bill Code Rate RRules
      summary: Get a Bill Code Rate Recurrence Rule
      responses:
        '200':
          description: A Bill Code Rate Recurrence Rule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillCodeRateRRuleQuerySchema'
        '404':
          $ref: '#/components/responses/BillCodeRateRRuleNotFound'
    put:
      tags:
      - Bill Code Rate RRules
      summary: Update a Bill Code Rate Recurrence Rule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillCodeRateRRuleUpdateSchema'
      responses:
        '200':
          description: A Bill Code Rate Recurrence Rule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillCodeRateRRuleQuerySchema'
        '404':
          $ref: '#/components/responses/BillCodeRateRRuleNotFound'
    delete:
      tags:
      - Bill Code Rate RRules
      summary: Delete a Bill Code Rate Recurrence Rule
      responses:
        '204':
          description: Bill Code Rate Recurrence Rule deleted successfully
        '401':
          $ref: '#/components/responses/ErrorResponseAuthentication'
        '404':
          $ref: '#/components/responses/BillCodeRateRRuleNotFound'
components:
  schemas:
    ErrorResponse:
      description: Error response
      type: object
      properties:
        code:
          type: integer
          example: 400
          description: Response code
        message:
          type: string
          example: Invalid request
          description: Detailed error message
      required:
      - code
      - message
    BillCodeRateRRuleUpdateSchema:
      allOf:
      - $ref: '#/components/schemas/BillCodeRateRRuleBaseSchema'
    RRuleSchema:
      type: object
      description: A recurrence rule for a Bill Code Rate
      properties:
        duration:
          type: integer
        rrule:
          type: string
          pattern: ^(\w+=\w+)?(;\w+=\w+)*;?$
          example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;INTERVAL=1
          description: A recurrence rule string following RFC-5545
        start_at:
          type: string
          format: date-time
          example: '2019-01-01T00:00:00+00:00'
          description: Date the Rate begins to apply
        end_at:
          type: string
          format: date-time
          example: '2019-01-01T00:00:00+00:00'
          description: Date the Rate begins to apply
    BillCodeRateRRuleBaseSchema:
      type: object
      properties:
        rate:
          type: number
          example: 12.5
        external_id:
          type: string
          pattern: (^$|^[0-9a-zA-Z\\-_]+$)
          example: '123'
        order:
          type: integer
          example: 1
        override_holiday_multiplicator:
          type: integer
          description: effectively a boolean
          enum:
          - 0
          - 1
          example: 1
        duration:
          type: integer
          example: 10
        rrule:
          $ref: '#/components/schemas/RRuleSchema'
    NotFound:
      type: object
      properties:
        code:
          type: string
          example: 404
        message:
          type: string
          example: Entity not found
      required:
      - code
      - message
    BillCodeRateRRuleQuerySchema:
      allOf:
      - $ref: '#/components/schemas/BillCodeRateRRuleBaseSchema'
      - type: object
        properties:
          id:
            type: integer
            example: 12
        required:
        - id
        - rate
        - external_id
        - duration
        - order
        - override_holiday_multiplicator
    BillCodeRateRRuleCreateSchema:
      allOf:
      - $ref: '#/components/schemas/BillCodeRateRRuleBaseSchema'
      - type: object
        required:
        - rate
        - order
        - override_holiday_multiplicator
    PaginatedList:
      description: Base model of all paginated lists
      type: object
      properties:
        count:
          type: integer
          description: Number of items in the response
          example: 10
        page:
          type: integer
          description: Current page number
          example: 1
          minimum: 1
        total_pages:
          type: integer
          description: Total number of pages available
          example: 1
        items:
          type: array
          items:
            type: object
      required:
      - count
      - page
      - total_pages
      - items
  responses:
    BillCodeRateNotFound:
      description: The Bill Code Rate Recurrence Rule referenced by id was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFound'
    BillCodeRateRRuleNotFound:
      description: The Bill Code Rate Recurrence Rule referenced by id was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFound'
    ErrorResponseAuthentication:
      description: Authorization required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            response:
              value:
                code: '401'
                message: Authorization required.
  parameters:
    billcodeRateRRuleId:
      name: billcode_rate_rrule_id
      in: path
      required: true
      schema:
        type: integer
    page:
      description: Filter by page number.
      name: page
      in: query
      required: false
      schema:
        type: integer
        default: 1
        minimum: 1
    billcodeId:
      name: billcode_id
      in: path
      required: true
      schema:
        type: integer
    count:
      description: Number of items per page.
      name: count
      in: query
      required: false
      schema:
        type: integer
        default: 100
    billcodeRateId:
      name: billcode_rate_id
      in: path
      required: true
      schema:
        type: integer
  securitySchemes:
    basic_auth:
      type: http
      description: Basic HTTP auth over https
      scheme: basic