openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_READ_CONTAINERS_OF_OBJS:
    post:
      tags:
      - SWWF
      operationId: /rfc/SWW_WI_READ_CONTAINERS_OF_OBJS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TARGET_OBJECT_TYPE:
                  type: string
                  default: ' '
                  maxLength: 10
                RELATED_CONTAINER_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      TAB_INDEX:
                        type: integer
                        format: int64
                        description: Index for table element
                      ELEMLENGTH:
                        type: integer
                        format: int64
                        description: Length of the field in bytes
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP Type of element  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string (old
                          Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                SOURCE_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      DESCRIBE:
                        type: string
                        maxLength: 10
                        description: Describe flag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RELATED_CONTAINER_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                        ELEMENT:
                          type: string
                          maxLength: 32
                          description: Element
                        TAB_INDEX:
                          type: integer
                          format: int64
                          description: Index for table element
                        ELEMLENGTH:
                          type: integer
                          format: int64
                          description: Length of the field in bytes
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP Type of element  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                            (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                  SOURCE_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        DESCRIBE:
                          type: string
                          maxLength: 10
                          description: Describe flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
