openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_M_IOCL_ATTRS_GET:
    post:
      tags:
      - SDC_MODEL
      operationId: /rfc/SDOK_M_IOCL_ATTRS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS:
                  type: object
                  properties:
                    IO_CLASS:
                      type: string
                      maxLength: 30
                      description: 'Model: Entity Name'
                    VERSION:
                      type: string
                      maxLength: 1
                      description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                      enum:
                      - '0'
                      - '9'
                      - ''
                      - '2'
                      - '1'
                X_CUSTOM:
                  type: string
                  maxLength: 1
                X_CUSTOM_NOPH:
                  type: string
                  maxLength: 1
                X_PROPS_SELF:
                  type: string
                  default: X
                  maxLength: 1
                X_PROPS_VIRTUAL:
                  type: string
                  default: X
                  maxLength: 1
                X_SELF:
                  type: string
                  default: X
                  maxLength: 1
                X_VIRTUAL:
                  type: string
                  default: X
                  maxLength: 1
                ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRIBUTE:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      X_OBLIGAT:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_UNIQUE:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_MAINTAIN:
                        type: string
                        maxLength: 1
                        description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_CUSTOM:
                        type: string
                        maxLength: 1
                        description: 'Model: Customizing property  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRIBUTE:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: 'Model: Attribute for an attribute assignment'
                      PROP_VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                      X_CUSTOM:
                        type: string
                        maxLength: 1
                        description: 'Model: Customizing property  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - CLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VIRTUAL_CLASS:
                    type: object
                    properties:
                      IO_CLASS:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                        enum:
                        - '0'
                        - '9'
                        - ''
                        - '2'
                        - '1'
                  ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRIBUTE:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        X_OBLIGAT:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_UNIQUE:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_MAINTAIN:
                          type: string
                          maxLength: 1
                          description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_CUSTOM:
                          type: string
                          maxLength: 1
                          description: 'Model: Customizing property  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  PROPERTIES:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRIBUTE:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: 'Model: Attribute for an attribute assignment'
                        PROP_VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                        X_CUSTOM:
                          type: string
                          maxLength: 1
                          description: 'Model: Customizing property  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
