openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_IF_INFO_OBJECT_REL_GET:
    post:
      tags:
      - SI19
      operationId: /rfc/IWB_IF_INFO_OBJECT_REL_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INFO_OBJECT:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                P_DIRECTION:
                  type: string
                  default: W
                  maxLength: 1
                RELATION_CLASS:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Info Object Class
                RESOLVE_INCLUDE:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                AREAS:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCUSPACE:
                        type: string
                        maxLength: 10
                        description: Document Area
                      INDEX_SPC:
                        type: string
                        maxLength: 10
                        description: Index space
                      FCT_QUERY:
                        type: string
                        maxLength: 30
                        description: Function module for value help on web pages
                      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)
                      FCT_PSTSEA:
                        type: string
                        maxLength: 30
                        description: Exit function for post-search editing
                      FCT_IDXCMP:
                        type: string
                        maxLength: 30
                        description: Exit function for component types to be indexed
                      FCT_ATTVAL:
                        type: string
                        maxLength: 30
                        description: Exit function, for change internal <-> external attr. values
                      FCT_IDXDOC:
                        type: string
                        maxLength: 30
                        description: Exit Function that Tests Whether PHIO is Released
                      FCT_IDXQCK:
                        type: string
                        maxLength: 30
                        description: Exit Function, Deletes Context Ambiguities in Index
                      X_TREX:
                        type: string
                        maxLength: 1
                        description: 'Use TRex  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                INFO_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                REQPROPS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
              required:
              - INFO_OBJECT
              - P_DIRECTION
              - RELATION_CLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  AREAS:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCUSPACE:
                          type: string
                          maxLength: 10
                          description: Document Area
                        INDEX_SPC:
                          type: string
                          maxLength: 10
                          description: Index space
                        FCT_QUERY:
                          type: string
                          maxLength: 30
                          description: Function module for value help on web pages
                        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)
                        FCT_PSTSEA:
                          type: string
                          maxLength: 30
                          description: Exit function for post-search editing
                        FCT_IDXCMP:
                          type: string
                          maxLength: 30
                          description: Exit function for component types to be indexed
                        FCT_ATTVAL:
                          type: string
                          maxLength: 30
                          description: Exit function, for change internal <-> external attr. values
                        FCT_IDXDOC:
                          type: string
                          maxLength: 30
                          description: Exit Function that Tests Whether PHIO is Released
                        FCT_IDXQCK:
                          type: string
                          maxLength: 30
                          description: Exit Function, Deletes Context Ambiguities in Index
                        X_TREX:
                          type: string
                          maxLength: 1
                          description: 'Use TRex  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  INFO_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  PROPERTIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  REQPROPS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
