openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPROJECT_HEADER_EDIT_R:
    post:
      tags:
      - PROJECT_ADMINISTRATION
      operationId: /rfc/SPROJECT_HEADER_EDIT_R
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVE_TAB:
                  type: string
                  maxLength: 100
                  description: General Flag
                ACTIVITY:
                  type: string
                  default: D
                  maxLength: 1
                  description: Project Name
                HIDE_PROJECTSTRUCTURE:
                  type: string
                  maxLength: 1
                  description: General Flag
                JUMP_TO_STRUCTURE:
                  type: string
                  default: X
                  maxLength: 1
                  description: Project Name
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Project Name
                PROJECT_ID:
                  type: string
                  maxLength: 10
                  description: Project Name
                TREE_VIEW:
                  type: string
                  maxLength: 1
                  description: Project Name
              required:
              - PROJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTION:
                    type: string
                    maxLength: 70
                    description: Transfer structure for messages
                  LAST_ACTIVITY:
                    type: string
                    maxLength: 1
                    description: Transfer structure for messages
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
