> ## Documentation Index
> Fetch the complete documentation index at: https://nextgen-docs.enfuce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get entities by rule type id

> Return entities bound to rule set.



## OpenAPI

````yaml json-files/standard-spend-control-v1.openapi.json get /v1/rule-sets/{rule-set-id}/entity-bindings
openapi: 3.0.3
info:
  title: Standard Spend Control API
  description: API for managing standard spend control rules
  version: 1.0.0
servers:
  - url: https://api.{{tenant}}.ext-uat1-sandbox.mycore.enfuce.com/processor
    description: UAT Sandbox
  - url: https://api.{{tenant}}.eu.live.prod.mycore.enfuce.com/processor
    description: Production
security: []
tags:
  - name: RuleSets
    description: Rule Sets are collections of rules bound the entities.
  - name: Rules
    description: >
      Rules define the actual spend control rule that is applied to request.
      Rules can have filter that determine if  the rule should be processed.
  - name: Parameters
paths:
  /v1/rule-sets/{rule-set-id}/entity-bindings:
    get:
      tags:
        - RuleSets
      description: Return entities bound to rule set.
      operationId: getEntityBindingsForRuleSet
      parameters:
        - name: rule-set-id
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/Id'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityBindingList'
components:
  schemas:
    Id:
      type: integer
      format: int64
    EntityBindingList:
      type: object
      properties:
        entities:
          type: array
          items:
            $ref: '#/components/schemas/ExternalEntityReference'
    ExternalEntityReference:
      type: object
      properties:
        id:
          type: string
        type:
          $ref: '#/components/schemas/EntityType'
      required:
        - id
        - type
    EntityType:
      type: string
      format: enum
      enum:
        - card
        - program_application
      x-enum-varnames:
        - card
        - program_application

````