openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_ODSO_READ_DATA_UC:
    post:
      tags:
      - RSODSO_BAPI
      summary: Reads Data From A DataSource (Unicode)
      operationId: /rfc/BAPI_ODSO_READ_DATA_UC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODEPAGE:
                  type: integer
                  format: int64
                  description: Code Page of Caller
                MAXROWS:
                  type: integer
                  format: int32
                  description: Maximum Number of Lines of Hits
                ODSOBJECT:
                  type: string
                  maxLength: 30
                  description: Data Store
                SELECTALLINFOOBJECTS:
                  type: string
                  maxLength: 1
                  description: Boolean
                UNICODE:
                  type: string
                  maxLength: 1
                  description: Is Initiator Unicode-Enabled?
                DATALAYOUT:
                  type: array
                  items:
                    type: object
                    properties:
                      INFOOBJECT:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'IntType  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
                      OFFSET:
                        type: integer
                        format: int64
                        description: Field offset (in the InfoCube)
                      LENGTH:
                        type: integer
                        format: int64
                        description: IntLen
                INFOOBJECTLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      INFOOBJECT:
                        type: string
                        maxLength: 30
                        description: InfoObject
                ORDERBY:
                  type: array
                  items:
                    type: object
                    properties:
                      INFOOBJECT:
                        type: string
                        maxLength: 30
                        description: InfoObject
                RESULTDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      USABLE:
                        type: integer
                        format: int32
                        description: Natural number
                      CONTINUATION:
                        type: string
                        maxLength: 1
                        description: 'Continuation indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DATA:
                        type: string
                        maxLength: 250
                        description: Generic structure for transferring data
                SELECTIONCRITERIA:
                  type: array
                  items:
                    type: object
                    properties:
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection criteria: SIGN'
                      OPT:
                        type: string
                        maxLength: 2
                        description: 'Selection criteria: OPTION'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: From value'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: To value'
              required:
              - ODSOBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMROWS:
                    type: integer
                    format: int32
                    description: Maximum Number of Lines of Hits
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                  DATALAYOUT:
                    type: array
                    items:
                      type: object
                      properties:
                        INFOOBJECT:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'IntType  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
                        OFFSET:
                          type: integer
                          format: int64
                          description: Field offset (in the InfoCube)
                        LENGTH:
                          type: integer
                          format: int64
                          description: IntLen
                  INFOOBJECTLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        INFOOBJECT:
                          type: string
                          maxLength: 30
                          description: InfoObject
                  ORDERBY:
                    type: array
                    items:
                      type: object
                      properties:
                        INFOOBJECT:
                          type: string
                          maxLength: 30
                          description: InfoObject
                  RESULTDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        USABLE:
                          type: integer
                          format: int32
                          description: Natural number
                        CONTINUATION:
                          type: string
                          maxLength: 1
                          description: 'Continuation indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DATA:
                          type: string
                          maxLength: 250
                          description: Generic structure for transferring data
                  SELECTIONCRITERIA:
                    type: array
                    items:
                      type: object
                      properties:
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection criteria: SIGN'
                        OPT:
                          type: string
                          maxLength: 2
                          description: 'Selection criteria: OPTION'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: From value'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: To value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
