openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_ADMIN_ERROR_RESTART:
    post:
      tags:
      - SWW_ADM
      summary: Administrator Activates Repaired Work Item
      operationId: /rfc/SWW_WI_ADMIN_ERROR_RESTART
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTHORIZATION_CHECKED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator for Control of Authorization Check
                CALLED_BY_PROXY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator Showing Whether FM Called Via tRFC from Proxy WI
                DO_COMMIT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Control of Commit Logic
                ENABLE_IMPLICITLY:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Automatic Reactivation
                EXECUTED_BY_ADDRESS:
                  type: object
                  properties:
                    IDTYPE:
                      type: string
                      maxLength: 3
                      description: Recipient type from ID
                    IDYEAR:
                      type: string
                      maxLength: 2
                      description: Recipient year from the ID
                    IDNUMBER:
                      type: string
                      maxLength: 12
                      description: Recipient number from ID
                    SENDTYPE:
                      type: string
                      maxLength: 8
                      description: 'Output device  enumValues: MAIL=Mail,SCREEN=Screen,TELEFAX=Fax Number,PRINTER=Printer'
                      enum:
                      - MAIL
                      - SCREEN
                      - TELEFAX
                      - PRINTER
                    SEQUENCENO:
                      type: string
                      maxLength: 3
                      description: 'Addresses: Sequence Number of Address'
                EXECUTED_BY_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: User Who Executed the WI
                PRECONDITIONS_CHECKED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator for Control of Status Checks and Type Checks
                WI_ID:
                  type: integer
                  format: int64
                  description: Work Item ID
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_MESSAGE:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      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
                  NEW_STATUS:
                    type: string
                    maxLength: 12
                    description: New Status of Work Item
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
