openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MERGE_IDOC_WITH_EXTENSION:
    post:
      tags:
      - EDI8
      operationId: /rfc/MERGE_IDOC_WITH_EXTENSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LT_CIMSYN:
                  type: array
                  items:
                    type: object
                    properties:
                      REFSEGTYP:
                        type: string
                        maxLength: 27
                        description: Segment type
                      NR:
                        type: integer
                        format: int64
                        description: Sequential Number of Segment in IDoc Type
                      SEGTYP:
                        type: string
                        maxLength: 27
                        description: Name of segment in extension
                      PARSEG:
                        type: string
                        maxLength: 27
                        description: Name of parent segment
                      PARPNO:
                        type: integer
                        format: int64
                        description: Sequential number of parent segment
                      PARFLG:
                        type: string
                        maxLength: 1
                        description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MUSTFL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OCCMIN:
                        type: integer
                        format: int64
                        description: Minimum number of segments in sequence
                      OCCMAX:
                        type: integer
                        format: int64
                        description: Maximum number of segments in sequence
                      HLEVEL:
                        type: integer
                        format: int64
                        description: Hierarchy level of IDoc type segment
                LT_EDISYN:
                  type: array
                  items:
                    type: object
                    properties:
                      NR:
                        type: integer
                        format: int64
                        description: Sequential Number of Segment in IDoc Type
                      SEGTYP:
                        type: string
                        maxLength: 27
                        description: Segment type
                      PARSEG:
                        type: string
                        maxLength: 27
                        description: Name of parent segment
                      PARPNO:
                        type: integer
                        format: int64
                        description: Sequential number of parent segment
                      PARFLG:
                        type: string
                        maxLength: 1
                        description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MUSTFL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OCCMIN:
                        type: integer
                        format: int64
                        description: Minimum number of segments in sequence
                      OCCMAX:
                        type: integer
                        format: int64
                        description: Maximum number of segments in sequence
                      HLEVEL:
                        type: integer
                        format: int64
                        description: Hierarchy level of IDoc type segment
                LT_IDOCSYN:
                  type: array
                  items:
                    type: object
                    properties:
                      NR:
                        type: integer
                        format: int64
                        description: Sequential Number of Segment in IDoc Type
                      SEGTYP:
                        type: string
                        maxLength: 27
                        description: Segment type
                      PARSEG:
                        type: string
                        maxLength: 27
                        description: Name of parent segment
                      PARPNO:
                        type: integer
                        format: int64
                        description: Sequential number of parent segment
                      PARFLG:
                        type: string
                        maxLength: 1
                        description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MUSTFL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OCCMIN:
                        type: integer
                        format: int64
                        description: Minimum number of segments in sequence
                      OCCMAX:
                        type: integer
                        format: int64
                        description: Maximum number of segments in sequence
                      HLEVEL:
                        type: integer
                        format: int64
                        description: Hierarchy level of IDoc type segment
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LT_CIMSYN:
                    type: array
                    items:
                      type: object
                      properties:
                        REFSEGTYP:
                          type: string
                          maxLength: 27
                          description: Segment type
                        NR:
                          type: integer
                          format: int64
                          description: Sequential Number of Segment in IDoc Type
                        SEGTYP:
                          type: string
                          maxLength: 27
                          description: Name of segment in extension
                        PARSEG:
                          type: string
                          maxLength: 27
                          description: Name of parent segment
                        PARPNO:
                          type: integer
                          format: int64
                          description: Sequential number of parent segment
                        PARFLG:
                          type: string
                          maxLength: 1
                          description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        MUSTFL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        OCCMIN:
                          type: integer
                          format: int64
                          description: Minimum number of segments in sequence
                        OCCMAX:
                          type: integer
                          format: int64
                          description: Maximum number of segments in sequence
                        HLEVEL:
                          type: integer
                          format: int64
                          description: Hierarchy level of IDoc type segment
                  LT_EDISYN:
                    type: array
                    items:
                      type: object
                      properties:
                        NR:
                          type: integer
                          format: int64
                          description: Sequential Number of Segment in IDoc Type
                        SEGTYP:
                          type: string
                          maxLength: 27
                          description: Segment type
                        PARSEG:
                          type: string
                          maxLength: 27
                          description: Name of parent segment
                        PARPNO:
                          type: integer
                          format: int64
                          description: Sequential number of parent segment
                        PARFLG:
                          type: string
                          maxLength: 1
                          description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        MUSTFL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        OCCMIN:
                          type: integer
                          format: int64
                          description: Minimum number of segments in sequence
                        OCCMAX:
                          type: integer
                          format: int64
                          description: Maximum number of segments in sequence
                        HLEVEL:
                          type: integer
                          format: int64
                          description: Hierarchy level of IDoc type segment
                  LT_IDOCSYN:
                    type: array
                    items:
                      type: object
                      properties:
                        NR:
                          type: integer
                          format: int64
                          description: Sequential Number of Segment in IDoc Type
                        SEGTYP:
                          type: string
                          maxLength: 27
                          description: Segment type
                        PARSEG:
                          type: string
                          maxLength: 27
                          description: Name of parent segment
                        PARPNO:
                          type: integer
                          format: int64
                          description: Sequential number of parent segment
                        PARFLG:
                          type: string
                          maxLength: 1
                          description: 'Flag for parent segment: Segment is start of segment group  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        MUSTFL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Mandatory entry  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        OCCMIN:
                          type: integer
                          format: int64
                          description: Minimum number of segments in sequence
                        OCCMAX:
                          type: integer
                          format: int64
                          description: Maximum number of segments in sequence
                        HLEVEL:
                          type: integer
                          format: int64
                          description: Hierarchy level of IDoc type segment
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
