openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IDX_GET_CONFIG:
    post:
      tags:
      - IDOC_ADAPTER_MB
      operationId: /rfc/IDX_GET_CONFIG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                T_EDISDEF:
                  type: array
                  items:
                    type: object
                    properties:
                      PORT:
                        type: string
                        maxLength: 10
                        description: Ports in IDoc Adapter
                      SEGDEF:
                        type: string
                        maxLength: 30
                        description: 'IDoc Development : Segment definition'
                      SEGTYP:
                        type: string
                        maxLength: 27
                        description: Segment type
                      ACTRELEASE:
                        type: string
                        maxLength: 1
                        description: 'IDoc Adapter: Flag Current Release'
                      RELEASED:
                        type: string
                        maxLength: 4
                        description: 'IDoc development: Release of segment definition'
                      APPLREL:
                        type: string
                        maxLength: 10
                        description: 'IDoc Development: Application Release of Segment Definition'
                T_EDSAPPL:
                  type: array
                  items:
                    type: object
                    properties:
                      PORT:
                        type: string
                        maxLength: 10
                        description: Ports in IDoc Adapter
                      SEGTYP:
                        type: string
                        maxLength: 27
                        description: Segment type
                      POS:
                        type: integer
                        format: int64
                        description: Position of the field in the table
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      ROLLNAME:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      EXPLENG:
                        type: integer
                        format: int64
                        description: 'IDoc development: Export length of segment field'
                      IDX_OFFSET:
                        type: integer
                        format: int64
                        description: IDoc Adapter Offset
                T_IDOCINB:
                  type: array
                  items:
                    type: object
                    properties:
                      IDOCTYP:
                        type: string
                        maxLength: 30
                        description: Basic type
                T_IDOCSYN:
                  type: array
                  items:
                    type: object
                    properties:
                      PORT:
                        type: string
                        maxLength: 10
                        description: Ports in IDoc Adapter
                      IDOCTYP:
                        type: string
                        maxLength: 30
                        description: IDoc Type in IDoc Adapter
                      CIMTYP:
                        type: string
                        maxLength: 30
                        description: Extension (customer extension of basic IDoc type)
                      NR:
                        type: integer
                        format: int64
                        description: Sequential Number of Segment in IDoc Type
                      SEGTYP:
                        type: string
                        maxLength: 27
                        description: Segment type
                      PARPNO:
                        type: integer
                        format: int64
                        description: Sequential number of parent segment
                      OCCMIN:
                        type: integer
                        format: int64
                        description: Minimum number of segments in sequence
                      OCCMAX:
                        type: integer
                        format: int64
                        description: Maximum number of segments in sequence
                      MUSTFL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      PARFLG:
                        type: string
                        maxLength: 1
                        description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      HLEVEL:
                        type: integer
                        format: int64
                        description: Hierarchy level of IDoc type segment
                T_NOALE:
                  type: array
                  items:
                    type: object
                    properties:
                      PORT:
                        type: string
                        maxLength: 10
                        description: Ports in IDoc Adapter
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      MESTYP:
                        type: string
                        maxLength: 30
                        description: Message type
                      NEG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Not More Closely Defined Area, Possibly Used for Patchlevels
                T_PORSM59:
                  type: array
                  items:
                    type: object
                    properties:
                      PORT:
                        type: string
                        maxLength: 10
                        description: Ports in IDoc Adapter
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      TAR_LOGDES:
                        type: string
                        maxLength: 32
                        description: RFC Destination in IDoc Adapter
                      ST_PARTNER:
                        type: string
                        maxLength: 10
                        description: Partner Number of Receiver
                      ST_PARTART:
                        type: string
                        maxLength: 2
                        description: Partner Type of Receiver
                      DESCRP:
                        type: string
                        maxLength: 50
                        description: Port description
                      QRFC_NAME:
                        type: string
                        maxLength: 24
                        description: Name of tRFC Queue
                T_QUEUE:
                  type: array
                  items:
                    type: object
                    properties:
                      PORT:
                        type: string
                        maxLength: 10
                        description: Ports in IDoc Adapter
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      MESTYP:
                        type: string
                        maxLength: 30
                        description: Message type
                      QUEUEID:
                        type: string
                        maxLength: 32
                        description: ID for Message Queue
                T_SLOAD:
                  type: array
                  items:
                    type: object
                    properties:
                      PORT:
                        type: string
                        maxLength: 10
                        description: Ports in IDoc Adapter
                      IDOCTYP:
                        type: string
                        maxLength: 30
                        description: Basic type
                      CIMTYP:
                        type: string
                        maxLength: 30
                        description: Extension (customer extension of basic IDoc type)
                      UPDDATE:
                        type: string
                        format: date
                        description: Date on which control record was last changed
                      UPDTIME:
                        type: string
                        maxLength: 6
                        description: Time at which control record was last changed
                      DELETEABLE:
                        type: string
                        maxLength: 1
                        description: IDoc Adapter Flag Can Be Deleted
                      ONL_OPTION:
                        type: string
                        maxLength: 1
                        description: 'EDI processing online or in batch  enumValues: O=Online processing,B=Background Processing'
                        enum:
                        - O
                        - B
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User name
                      SYNCHECK:
                        type: string
                        maxLength: 1
                        description: 'IDoc Adapter: Flagging Whether Syntax Check Required  enumValues: 1=Check: Only Mandatory Segment,0=No Check,2=Check: Mandatory + Repeatability'
                        enum:
                        - '1'
                        - '0'
                        - '2'
                      LOGDES:
                        type: string
                        maxLength: 32
                        description: RFC destination
                      SEGNUM:
                        type: integer
                        format: int64
                        description: Number of SAP segment
                      RELEASED:
                        type: string
                        maxLength: 4
                        description: SAP Release for IDoc
                      PORTVERSION:
                        type: string
                        maxLength: 1
                        description: 'Version of control record  enumValues: 2=IDoc record types SAP Release 3.0/3.1,1=IDoc record types SAP Release 2.0/2.1,3=IDoc record types for SAP Release 4.0'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                      DIRECTION:
                        type: string
                        maxLength: 1
                        description: 'Direction for IDoc  enumValues: 1=Outbound,2=Inbound'
                        enum:
                        - '1'
                        - '2'
                      SAPREL:
                        type: string
                        maxLength: 4
                        description: SAP Release for IDoc
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VERSION:
                    type: string
                    maxLength: 3
                  T_EDISDEF:
                    type: array
                    items:
                      type: object
                      properties:
                        PORT:
                          type: string
                          maxLength: 10
                          description: Ports in IDoc Adapter
                        SEGDEF:
                          type: string
                          maxLength: 30
                          description: 'IDoc Development : Segment definition'
                        SEGTYP:
                          type: string
                          maxLength: 27
                          description: Segment type
                        ACTRELEASE:
                          type: string
                          maxLength: 1
                          description: 'IDoc Adapter: Flag Current Release'
                        RELEASED:
                          type: string
                          maxLength: 4
                          description: 'IDoc development: Release of segment definition'
                        APPLREL:
                          type: string
                          maxLength: 10
                          description: 'IDoc Development: Application Release of Segment Definition'
                  T_EDSAPPL:
                    type: array
                    items:
                      type: object
                      properties:
                        PORT:
                          type: string
                          maxLength: 10
                          description: Ports in IDoc Adapter
                        SEGTYP:
                          type: string
                          maxLength: 27
                          description: Segment type
                        POS:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        EXPLENG:
                          type: integer
                          format: int64
                          description: 'IDoc development: Export length of segment field'
                        IDX_OFFSET:
                          type: integer
                          format: int64
                          description: IDoc Adapter Offset
                  T_IDOCINB:
                    type: array
                    items:
                      type: object
                      properties:
                        IDOCTYP:
                          type: string
                          maxLength: 30
                          description: Basic type
                  T_IDOCSYN:
                    type: array
                    items:
                      type: object
                      properties:
                        PORT:
                          type: string
                          maxLength: 10
                          description: Ports in IDoc Adapter
                        IDOCTYP:
                          type: string
                          maxLength: 30
                          description: IDoc Type in IDoc Adapter
                        CIMTYP:
                          type: string
                          maxLength: 30
                          description: Extension (customer extension of basic IDoc type)
                        NR:
                          type: integer
                          format: int64
                          description: Sequential Number of Segment in IDoc Type
                        SEGTYP:
                          type: string
                          maxLength: 27
                          description: Segment type
                        PARPNO:
                          type: integer
                          format: int64
                          description: Sequential number of parent segment
                        OCCMIN:
                          type: integer
                          format: int64
                          description: Minimum number of segments in sequence
                        OCCMAX:
                          type: integer
                          format: int64
                          description: Maximum number of segments in sequence
                        MUSTFL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        PARFLG:
                          type: string
                          maxLength: 1
                          description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        HLEVEL:
                          type: integer
                          format: int64
                          description: Hierarchy level of IDoc type segment
                  T_NOALE:
                    type: array
                    items:
                      type: object
                      properties:
                        PORT:
                          type: string
                          maxLength: 10
                          description: Ports in IDoc Adapter
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        MESTYP:
                          type: string
                          maxLength: 30
                          description: Message type
                        NEG:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Not More Closely Defined Area, Possibly Used for Patchlevels
                  T_PORSM59:
                    type: array
                    items:
                      type: object
                      properties:
                        PORT:
                          type: string
                          maxLength: 10
                          description: Ports in IDoc Adapter
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        TAR_LOGDES:
                          type: string
                          maxLength: 32
                          description: RFC Destination in IDoc Adapter
                        ST_PARTNER:
                          type: string
                          maxLength: 10
                          description: Partner Number of Receiver
                        ST_PARTART:
                          type: string
                          maxLength: 2
                          description: Partner Type of Receiver
                        DESCRP:
                          type: string
                          maxLength: 50
                          description: Port description
                        QRFC_NAME:
                          type: string
                          maxLength: 24
                          description: Name of tRFC Queue
                  T_QUEUE:
                    type: array
                    items:
                      type: object
                      properties:
                        PORT:
                          type: string
                          maxLength: 10
                          description: Ports in IDoc Adapter
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        MESTYP:
                          type: string
                          maxLength: 30
                          description: Message type
                        QUEUEID:
                          type: string
                          maxLength: 32
                          description: ID for Message Queue
                  T_SLOAD:
                    type: array
                    items:
                      type: object
                      properties:
                        PORT:
                          type: string
                          maxLength: 10
                          description: Ports in IDoc Adapter
                        IDOCTYP:
                          type: string
                          maxLength: 30
                          description: Basic type
                        CIMTYP:
                          type: string
                          maxLength: 30
                          description: Extension (customer extension of basic IDoc type)
                        UPDDATE:
                          type: string
                          format: date
                          description: Date on which control record was last changed
                        UPDTIME:
                          type: string
                          maxLength: 6
                          description: Time at which control record was last changed
                        DELETEABLE:
                          type: string
                          maxLength: 1
                          description: IDoc Adapter Flag Can Be Deleted
                        ONL_OPTION:
                          type: string
                          maxLength: 1
                          description: 'EDI processing online or in batch  enumValues: O=Online processing,B=Background Processing'
                          enum:
                          - O
                          - B
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User name
                        SYNCHECK:
                          type: string
                          maxLength: 1
                          description: 'IDoc Adapter: Flagging Whether Syntax Check Required  enumValues: 1=Check: Only Mandatory Segment,0=No Check,2=Check: Mandatory + Repeatability'
                          enum:
                          - '1'
                          - '0'
                          - '2'
                        LOGDES:
                          type: string
                          maxLength: 32
                          description: RFC destination
                        SEGNUM:
                          type: integer
                          format: int64
                          description: Number of SAP segment
                        RELEASED:
                          type: string
                          maxLength: 4
                          description: SAP Release for IDoc
                        PORTVERSION:
                          type: string
                          maxLength: 1
                          description: 'Version of control record  enumValues: 2=IDoc record types SAP Release 3.0/3.1,1=IDoc record types SAP Release 2.0/2.1,3=IDoc record types for SAP Release 4.0'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                        DIRECTION:
                          type: string
                          maxLength: 1
                          description: 'Direction for IDoc  enumValues: 1=Outbound,2=Inbound'
                          enum:
                          - '1'
                          - '2'
                        SAPREL:
                          type: string
                          maxLength: 4
                          description: SAP Release for IDoc
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
