openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPROJECT_GET_VIEW_TEXT:
    post:
      tags:
      - PROJECT_DATA
      operationId: /rfc/SPROJECT_GET_VIEW_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_V_LANGU:
                  type: string
                  maxLength: 1
                E_T_OBJECT_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Documentation language
                      ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      TEXT_CAP:
                        type: string
                        maxLength: 75
                        description: Description - only uppercase
                I_T_OBJECT_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      PROJECT_ID:
                        type: string
                        maxLength: 10
                        description: Project name
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Project management object type
                      OBJECT_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
              required:
              - I_V_LANGU
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_OBJECT_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Documentation language
                        ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        TEXT_CAP:
                          type: string
                          maxLength: 75
                          description: Description - only uppercase
                  I_T_OBJECT_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROJECT_ID:
                          type: string
                          maxLength: 10
                          description: Project name
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Project management object type
                        OBJECT_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
