openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STREE_EXTERNAL_TRANS_ONE_EXT:
    post:
      tags:
      - SHI21
      operationId: /rfc/STREE_EXTERNAL_TRANS_ONE_EXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTENSION_ID:
                  type: string
                  maxLength: 15
                GENERIC_REFERENCE_TRANSPORT:
                  type: string
                  default: 'FALSE'
                  maxLength: 1
                STRUCTURE_ID:
                  type: string
                  maxLength: 32
                TRANSPORT_ORDER:
                  type: string
                  default: ' '
                  maxLength: 20
                ADDITIONAL_LANGUAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LASPEZ:
                        type: string
                        maxLength: 1
                        description: 'Language specifications  enumValues: S=Single byte,M=Single and double byte,D=Double byte,L=Single byte / Inverse write direction'
                        enum:
                        - S
                        - M
                        - D
                        - L
                      LAHQ:
                        type: string
                        maxLength: 1
                        description: 'Degree of Translation of Language  enumValues: 1=DE/Customizing and documentation complete,4=DE/Customizing application-dependent; No documentation,2=DE/Customizing complete; Documentation partly,0=Not classified; Not a SAP standard language,3=DE/Customizing complete; No documentation'
                        enum:
                        - '1'
                        - '4'
                        - '2'
                        - '0'
                        - '3'
                      LAISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                USER_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Hierarchy maintenance display attribute
                      VALUE:
                        type: string
                        maxLength: 128
                        description: Hierarchy maintenance attribute value
              required:
              - EXTENSION_ID
              - STRUCTURE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGTXT:
                        type: string
                        maxLength: 256
                        description: Text, 256 Characters
                  ADDITIONAL_LANGUAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LASPEZ:
                          type: string
                          maxLength: 1
                          description: 'Language specifications  enumValues: S=Single byte,M=Single and double byte,D=Double byte,L=Single byte / Inverse write direction'
                          enum:
                          - S
                          - M
                          - D
                          - L
                        LAHQ:
                          type: string
                          maxLength: 1
                          description: 'Degree of Translation of Language  enumValues: 1=DE/Customizing and documentation complete,4=DE/Customizing application-dependent; No documentation,2=DE/Customizing complete; Documentation partly,0=Not classified; Not a SAP standard language,3=DE/Customizing complete; No documentation'
                          enum:
                          - '1'
                          - '4'
                          - '2'
                          - '0'
                          - '3'
                        LAISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  USER_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Hierarchy maintenance display attribute
                        VALUE:
                          type: string
                          maxLength: 128
                          description: Hierarchy maintenance attribute value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
