openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_TWB_STATUS_UPDATE:
    post:
      tags:
      - S_TWB_RFC
      operationId: /rfc/S_TWB_STATUS_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STA_VALUES:
                  type: object
                  properties:
                    TC_LNR:
                      type: integer
                      format: int64
                      description: eCATT - Sequence Number
                    TC_NAME:
                      type: string
                      maxLength: 30
                      description: eCATT Object
                    TC_VARIANT:
                      type: string
                      maxLength: 30
                      description: Variant name
                    OBJ_TYPE:
                      type: string
                      maxLength: 4
                      description: 'eCATT Object Type (Test Data, Script, Configuration, etc.)  enumValues: ECSD=System Data Container,ECSC=Test Script,ECTC=Test Configuration,ECTD=Test Data Container'
                      enum:
                      - ECSD
                      - ECSC
                      - ECTC
                      - ECTD
                    FILTER_ID:
                      type: string
                      maxLength: 32
                      description: Unique ID - 32 characters
                    STATUS_ID:
                      type: string
                      maxLength: 32
                      description: Unique identifier for status information
                    STATUS:
                      type: string
                      maxLength: 10
                      description: Processing status
                    RET_CODE:
                      type: integer
                      format: int32
                      description: Return Value of ABAP Statements
                    LOG_NUMBER:
                      type: integer
                      format: int64
                      description: Current operation number
                    RFC_DEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
              required:
              - STA_VALUES
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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.
