openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRW3_GET_ITEM:
    post:
      tags:
      - RRW3
      operationId: /rfc/RRW3_GET_ITEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_PAGENO:
                  type: integer
                  format: int32
                I_PARAMETER_STRING_SEPARATOR:
                  type: string
                  default: '"'
                  maxLength: 1
                I_RESET_RETURN:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                C_T_RETURN:
                  type: array
                  items:
                    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
                C_T_RETURN_HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                E_T_CUSTOM_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Line for binary document contents, length for upload
                E_T_HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                E_T_MIME:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
                E_T_NAMED_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      REN_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      ATR_NAME:
                        type: string
                        maxLength: 30
                        description: Renderer attribute name
                      ATR_TYP:
                        type: string
                        maxLength: 10
                        description: 'Semantic type for an attribute  enumValues: INTEGER=Integer,TEXT=Text for Display,RAW=Byte flow,BOOL=Boolean   ''X''= TRUE, '' ''=FALSE,RENDERER=Renderer Name,COLOR=Color,ISCOMPOSIT=Combined Attribute,HIDDEN=Invisible,MULTIPLE=Multi-Value Attribute, Indexed Through _n'
                        enum:
                        - INTEGER
                        - TEXT
                        - RAW
                        - BOOL
                        - RENDERER
                        - COLOR
                        - ISCOMPOSIT
                        - HIDDEN
                        - MULTIPLE
                      CAPTION:
                        type: string
                        maxLength: 60
                        description: Long description
                      DESCRIPTION:
                        type: string
                        maxLength: 132
                        description: Text Line
                      CHR_MAX_LEN:
                        type: integer
                        format: int64
                        description: Length of a value in character
                      MANDATORY:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Character Display for an Attribute Value
                I_T_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Name for WWW query string name/value pair
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Value for WWW query string name/value pair
                I_T_PARAMETERS_STRING:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
              required:
              - I_PAGENO
              - I_PARAMETER_STRING_SEPARATOR
              - I_RESET_RETURN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_CONTENT_LENGTH:
                    type: integer
                    format: int32
                  E_CONTENT_TYPE:
                    type: string
                    maxLength: 128
                  E_FORCE_STATEFULL:
                    type: string
                    maxLength: 1
                  E_RETURN_CODE:
                    type: integer
                    format: int32
                  C_T_RETURN:
                    type: array
                    items:
                      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
                  C_T_RETURN_HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  E_T_CUSTOM_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Line for binary document contents, length for upload
                  E_T_HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  E_T_MIME:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
                  E_T_NAMED_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        REN_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        ATR_NAME:
                          type: string
                          maxLength: 30
                          description: Renderer attribute name
                        ATR_TYP:
                          type: string
                          maxLength: 10
                          description: 'Semantic type for an attribute  enumValues: INTEGER=Integer,TEXT=Text for Display,RAW=Byte flow,BOOL=Boolean   ''X''= TRUE, '' ''=FALSE,RENDERER=Renderer Name,COLOR=Color,ISCOMPOSIT=Combined Attribute,HIDDEN=Invisible,MULTIPLE=Multi-Value Attribute, Indexed Through _n'
                          enum:
                          - INTEGER
                          - TEXT
                          - RAW
                          - BOOL
                          - RENDERER
                          - COLOR
                          - ISCOMPOSIT
                          - HIDDEN
                          - MULTIPLE
                        CAPTION:
                          type: string
                          maxLength: 60
                          description: Long description
                        DESCRIPTION:
                          type: string
                          maxLength: 132
                          description: Text Line
                        CHR_MAX_LEN:
                          type: integer
                          format: int64
                          description: Length of a value in character
                        MANDATORY:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        VALUE:
                          type: string
                          maxLength: 250
                          description: Character Display for an Attribute Value
                  I_T_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 30
                          description: Name for WWW query string name/value pair
                        VALUE:
                          type: string
                          maxLength: 250
                          description: Value for WWW query string name/value pair
                  I_T_PARAMETERS_STRING:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
