openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TR40_TASK_CHECK_RELEASE:
    post:
      tags:
      - STRQ
      operationId: /rfc/TR40_TASK_CHECK_RELEASE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_TRANSPORT_TARGET:
                  type: string
                  default: ' '
                  maxLength: 10
                IV_TRKORR:
                  type: string
                  maxLength: 20
                  description: Request number
                IV_WITH_PRE_TRANSP:
                  type: string
                  default: ' '
                  maxLength: 1
                TT_TASKS:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      TRFUNCTION:
                        type: string
                        maxLength: 1
                        description: Function
                      TRSTATUS:
                        type: string
                        maxLength: 1
                        description: Status
                      TARSYSTEM:
                        type: string
                        maxLength: 10
                        description: Transport Target
                      KORRDEV:
                        type: string
                        maxLength: 4
                        description: Category
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last Changed at
                      STRKORR:
                        type: string
                        maxLength: 20
                        description: Higher-level request
              required:
              - IV_TRKORR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_MSG:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message type (E, I, W,...)
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message number
                      MSGTEXT:
                        type: string
                        maxLength: 200
                        description: Log line
                  ES_ORDER:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      TRFUNCTION:
                        type: string
                        maxLength: 1
                        description: Function
                      TRSTATUS:
                        type: string
                        maxLength: 1
                        description: Status
                      TARSYSTEM:
                        type: string
                        maxLength: 10
                        description: Transport Target
                      KORRDEV:
                        type: string
                        maxLength: 4
                        description: Category
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last Changed at
                      STRKORR:
                        type: string
                        maxLength: 20
                        description: Higher-level request
                  ES_PRE_TRANSPORT:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      TRFUNCTION:
                        type: string
                        maxLength: 1
                        description: Function
                      TRSTATUS:
                        type: string
                        maxLength: 1
                        description: Status
                      TARSYSTEM:
                        type: string
                        maxLength: 10
                        description: Transport Target
                      KORRDEV:
                        type: string
                        maxLength: 4
                        description: Category
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last Changed at
                      STRKORR:
                        type: string
                        maxLength: 20
                        description: Higher-level request
                  EV_EXCEPTION:
                    type: string
                    maxLength: 50
                  TT_TASKS:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        TRFUNCTION:
                          type: string
                          maxLength: 1
                          description: Function
                        TRSTATUS:
                          type: string
                          maxLength: 1
                          description: Status
                        TARSYSTEM:
                          type: string
                          maxLength: 10
                          description: Transport Target
                        KORRDEV:
                          type: string
                          maxLength: 4
                          description: Category
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: Last Changed by
                        AS4DATE:
                          type: string
                          format: date
                          description: Date of Last Change
                        AS4TIME:
                          type: string
                          maxLength: 6
                          description: Last Changed at
                        STRKORR:
                          type: string
                          maxLength: 20
                          description: Higher-level request
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
