openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_PRT_LABEL_GET:
    post:
      tags:
      - CRM_PRT_TEXT_UTILITIES
      summary: Retrieve a label for a text key
      operationId: /rfc/CRM_PRT_LABEL_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGUAGE_ISO:
                  type: string
                  maxLength: 2
                  description: Language according to ISO 639
                IV_TEXT_KEY:
                  type: string
                  maxLength: 32
                  description: Text key
              required:
              - IV_TEXT_KEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_TEXT_LABELS:
                    type: object
                    properties:
                      TEXT_KEY:
                        type: string
                        maxLength: 32
                        description: Text Key
                      SCRTEXT_S:
                        type: string
                        maxLength: 10
                        description: Short Field Label
                      SCRTEXT_M:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      SCRTEXT_L:
                        type: string
                        maxLength: 40
                        description: Long Field Label
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
