openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCP_GET_CODEPAGE_NUMBER:
    post:
      tags:
      - SCP2
      operationId: /rfc/SCP_GET_CODEPAGE_NUMBER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATABASE_ALSO:
                  type: string
                  default: X
                  maxLength: 1
                DATABASE_CODEPAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      CODEPAGE:
                        type: integer
                        format: int64
                        description: SAP Character Set ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  APPL_CODEPAGE:
                    type: integer
                    format: int64
                  APPL_FOR_DISPLAY:
                    type: integer
                    format: int64
                  APPL_FOR_INPUT:
                    type: integer
                    format: int64
                  APPL_FOR_PROPOSE:
                    type: integer
                    format: int64
                  DATABASE_CODEPAGE:
                    type: integer
                    format: int64
                  DATABASE_NONUNIQ:
                    type: string
                    maxLength: 1
                  GUI_CODEPAGE:
                    type: integer
                    format: int64
                  START_APPL_CODEPAGE:
                    type: integer
                    format: int64
                  USER_EMODE_CODEPAGE:
                    type: integer
                    format: int64
                  USER_LOGIN_CODEPAGE:
                    type: integer
                    format: int64
                  DATABASE_CODEPAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        CODEPAGE:
                          type: integer
                          format: int64
                          description: SAP Character Set ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
