openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_SET_LANGPROF:
    post:
      tags:
      - SAIO
      summary: Modifying the Instance Profile (Language, Code Page)
      operationId: /rfc/INST_SET_LANGPROF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODEPAGE:
                  type: integer
                  format: int64
                  description: SAP character set identification
                INSTLANG:
                  type: string
                  maxLength: 60
                  description: Language vector
                SYSTLANG:
                  type: string
                  maxLength: 1
                  description: R/3 System, current language
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTRESULT:
                        type: string
                        maxLength: 1
                        description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                        enum:
                        - E
                        - W
                        - S
                      INSTRESTXT:
                        type: string
                        maxLength: 128
                        description: 'SAP Installation: Result Text'
                      INSTRESPRG:
                        type: string
                        maxLength: 40
                        description: 'SAP Installation: Result Program Name'
                      JOBNAME:
                        type: string
                        maxLength: 32
                        description: Background job name
                      JOBCOUNT:
                        type: string
                        maxLength: 8
                        description: Job ID
              required:
              - CODEPAGE
              - INSTLANG
              - SYSTLANG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT_RC:
                    type: string
                    maxLength: 1
                    description: 'SAP Installation: Result Value'
                  RESULT_TEXT:
                    type: string
                    maxLength: 128
                    description: 'SAP Installation: Result Text'
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        INSTRESULT:
                          type: string
                          maxLength: 1
                          description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                          enum:
                          - E
                          - W
                          - S
                        INSTRESTXT:
                          type: string
                          maxLength: 128
                          description: 'SAP Installation: Result Text'
                        INSTRESPRG:
                          type: string
                          maxLength: 40
                          description: 'SAP Installation: Result Program Name'
                        JOBNAME:
                          type: string
                          maxLength: 32
                          description: Background job name
                        JOBCOUNT:
                          type: string
                          maxLength: 8
                          description: Job ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
