openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TMW_PROJECT_LOCK_UPDATE:
    post:
      tags:
      - TMW_PROJECT_LOCK
      operationId: /rfc/TMW_PROJECT_LOCK_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_REQUEST:
                  type: string
                  maxLength: 20
                IV_UPDATE_MODE:
                  type: string
                  default: ' '
                  maxLength: 1
              required:
              - IV_REQUEST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_TLOCKP:
                    type: array
                    items:
                      type: object
                      properties:
                        PROJECT:
                          type: string
                          maxLength: 20
                          description: Project in Change and Transport System
                        HIOBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        HIKEY:
                          type: string
                          maxLength: 120
                          description: Lock key in CTS
                        LOKEY:
                          type: string
                          maxLength: 120
                          description: Lock key in CTS
                        LASTTRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        TRDATE:
                          type: string
                          format: date
                          description: Date of Last Change
                        TRTIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                  ET_TLOCKPC:
                    type: array
                    items:
                      type: object
                      properties:
                        PROJECT:
                          type: string
                          maxLength: 20
                          description: Project in Change and Transport System
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        HIKEY:
                          type: string
                          maxLength: 120
                          description: Lock key in CTS
                        LOKEY:
                          type: string
                          maxLength: 120
                          description: Lock key in CTS
                        LASTTRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        TRDATE:
                          type: string
                          format: date
                          description: Date of Last Change
                        TRTIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                  EV_MSG_TYPE:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
