openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPROJECT_TR_PROJECT_DECOUPLE_R:
    post:
      tags:
      - PROJECT_TR_INTERFACES
      operationId: /rfc/SPROJECT_TR_PROJECT_DECOUPLE_R
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DECOUPLE_ONLY_RELEASED_PROJECT:
                  type: string
                  default: X
                  maxLength: 1
                PROJECT_ID:
                  type: string
                  maxLength: 10
              required:
              - PROJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_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
                  E_TRPROJECT:
                    type: object
                    properties:
                      EXTERNALPS:
                        type: string
                        maxLength: 32
                        description: External Project System
                      PS_TEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      EXTERNALID:
                        type: string
                        maxLength: 32
                        description: Project ID
                      SRCSYSTEM:
                        type: string
                        maxLength: 10
                        description: Source system of a transport request
                      SRCCLIENT:
                        type: string
                        maxLength: 3
                        description: Source client of request
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Project in Change and Transport System
                      DESCRIPTN:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      TRSTATUS:
                        type: string
                        maxLength: 1
                        description: 'Status of request/task  enumValues: N=Released (with Import Protection for Repaired Objects),L=Modifiable, Protected,R=Released,O=Release Started,D=Modifiable'
                        enum:
                        - N
                        - L
                        - R
                        - O
                        - D
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Owner of a Request or Task
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
