openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FDU_PROT_DEL_BATCH:
    post:
      tags:
      - KCDX
      operationId: /rfc/FDU_PROT_DEL_BATCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DTB:
                  type: string
                  format: date
                DTV:
                  type: string
                  format: date
                PROTNAME:
                  type: string
                  maxLength: 40
                USR:
                  type: string
                  maxLength: 12
                ZTB:
                  type: string
                  maxLength: 6
                ZTV:
                  type: string
                  maxLength: 6
                PROT_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      EXTNUMBER:
                        type: string
                        maxLength: 100
                        description: 'Application Log: External ID'
                      EXTNUMBER_SMALL:
                        type: string
                        maxLength: 100
                        description: 'Application Log: External ID'
                      LOGNUMBER:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      DDIC_PROTNAME:
                        type: string
                        maxLength: 40
                        description: 'ABAP/4 Dictionary: name of SDIC log'
                      PROTTYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      REPID:
                        type: string
                        maxLength: 40
                        description: Sender structure
                      STATE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      STATE_TEXT:
                        type: string
                        maxLength: 20
                        description: Char 20
                      TEST_RUN:
                        type: string
                        maxLength: 1
                        description: 'Test or update run  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      KORR:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      APROT_LINE:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      CPROT_LINE:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      DATE:
                        type: string
                        format: date
                        description: 'Application log: date'
                      TIME:
                        type: string
                        maxLength: 6
                        description: 'Application log: time'
                      USER:
                        type: string
                        maxLength: 12
                        description: 'Application log: user name'
                      TEXT1:
                        type: string
                        maxLength: 28
                        description: 'Application log: Standard text'
                      TEXT2:
                        type: string
                        maxLength: 28
                        description: 'Application log: Standard text'
                      TYP:
                        type: string
                        maxLength: 28
                        description: 'Application log: Standard text'
                      TYPTEXT:
                        type: string
                        maxLength: 28
                        description: 'Application log: Standard text'
                      JOBSTATE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      PROCESSING:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      WP_NO:
                        type: string
                        maxLength: 2
                        description: Work process no.
                      WP_PID:
                        type: string
                        maxLength: 8
                        description: Process Identification
                      WP_INDEX:
                        type: integer
                        format: int32
                        description: Index of Work Process
                      APP_SERVER:
                        type: string
                        maxLength: 20
                        description: Server name
                      FINISHED:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      JOBCOUNT:
                        type: string
                        maxLength: 8
                        description: Job ID
                      JOBNAME:
                        type: string
                        maxLength: 32
                        description: Background job name
              required:
              - DTB
              - DTV
              - PROTNAME
              - USR
              - ZTB
              - ZTV
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PROT_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        EXTNUMBER:
                          type: string
                          maxLength: 100
                          description: 'Application Log: External ID'
                        EXTNUMBER_SMALL:
                          type: string
                          maxLength: 100
                          description: 'Application Log: External ID'
                        LOGNUMBER:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        DDIC_PROTNAME:
                          type: string
                          maxLength: 40
                          description: 'ABAP/4 Dictionary: name of SDIC log'
                        PROTTYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        REPID:
                          type: string
                          maxLength: 40
                          description: Sender structure
                        STATE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        STATE_TEXT:
                          type: string
                          maxLength: 20
                          description: Char 20
                        TEST_RUN:
                          type: string
                          maxLength: 1
                          description: 'Test or update run  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        KORR:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        APROT_LINE:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        CPROT_LINE:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        DATE:
                          type: string
                          format: date
                          description: 'Application log: date'
                        TIME:
                          type: string
                          maxLength: 6
                          description: 'Application log: time'
                        USER:
                          type: string
                          maxLength: 12
                          description: 'Application log: user name'
                        TEXT1:
                          type: string
                          maxLength: 28
                          description: 'Application log: Standard text'
                        TEXT2:
                          type: string
                          maxLength: 28
                          description: 'Application log: Standard text'
                        TYP:
                          type: string
                          maxLength: 28
                          description: 'Application log: Standard text'
                        TYPTEXT:
                          type: string
                          maxLength: 28
                          description: 'Application log: Standard text'
                        JOBSTATE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        PROCESSING:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        WP_NO:
                          type: string
                          maxLength: 2
                          description: Work process no.
                        WP_PID:
                          type: string
                          maxLength: 8
                          description: Process Identification
                        WP_INDEX:
                          type: integer
                          format: int32
                          description: Index of Work Process
                        APP_SERVER:
                          type: string
                          maxLength: 20
                          description: Server name
                        FINISHED:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        JOBCOUNT:
                          type: string
                          maxLength: 8
                          description: Job ID
                        JOBNAME:
                          type: string
                          maxLength: 32
                          description: Background job name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
