openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_CTXS_OF_CLASS_GET:
    post:
      tags:
      - SKWF_CONTEXT
      operationId: /rfc/SKWF_CTXS_OF_CLASS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CTX_CLASS:
                  type: string
                  maxLength: 30
                  description: 'Model: Entity Name'
                CONTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      ID:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: Context ID'
                      CLASS:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      DESCRIPT:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: Created By
                      CREA_TIME:
                        type: integer
                        format: int64
                        description: Creation time (UTC)
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHNG_TIME:
                        type: integer
                        format: int64
                        description: Time of change (UTC)
                      X_RDCETO1:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                        enum:
                        - X
                        - ''
              required:
              - CTX_CLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        ID:
                          type: string
                          maxLength: 32
                          description: 'KW Framework: Context ID'
                        CLASS:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                        DESCRIPT:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        CREA_USER:
                          type: string
                          maxLength: 12
                          description: Created By
                        CREA_TIME:
                          type: integer
                          format: int64
                          description: Creation time (UTC)
                        CHNG_USER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        CHNG_TIME:
                          type: integer
                          format: int64
                          description: Time of change (UTC)
                        X_RDCETO1:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
