openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRXWS_LOAD_ITEM:
    post:
      tags:
      - RRXWS
      operationId: /rfc/RRXWS_LOAD_ITEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ITEMID:
                  type: string
                  maxLength: 20
                I_OBJVERS:
                  type: string
                  default: RS_C_OBJVERS-ACTIVE
                  maxLength: 1
                I_PUBLISHER:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                I_VIEWID:
                  type: string
                  maxLength: 40
                I_WBID:
                  type: string
                  maxLength: 25
                E_T_CUSTOM_ATR:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Line for binary document contents, length for upload
                E_T_RENDER_ATR:
                  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
              required:
              - I_ITEMID
              - I_WBID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  C_S_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
                  E_T_CUSTOM_ATR:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Line for binary document contents, length for upload
                  E_T_RENDER_ATR:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
