openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWLWP_TASK_SRVID_READ:
    post:
      tags:
      - SWLWP_CENTRAL_CUST
      operationId: /rfc/SWLWP_TASK_SRVID_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                IM_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical System
                IM_SELECT_FOR_LOGSYS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: General Flag
                IM_SRV_DIR:
                  type: string
                  maxLength: 20
                  description: Service Directory
                IM_TASK_ID:
                  type: string
                  maxLength: 14
                  description: Task ID
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                ET_TASK_SRV:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      TASK_ID:
                        type: string
                        maxLength: 14
                        description: Task ID
                      SRV_DIR:
                        type: string
                        maxLength: 20
                        description: 'Service Directory  enumValues: WP_PCD=SAP Workplace/Portal Content Directory,WFCACHE=XML Cache'
                        enum:
                        - WP_PCD
                        - WFCACHE
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      CREATION_TS:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      CREATION_RL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      CREATOR:
                        type: string
                        maxLength: 12
                        description: User Name
                      SRV_ID:
                        type: string
                        maxLength: 255
                        description: Service ID
                      INTFID:
                        type: string
                        maxLength: 32
                        description: Interface Definition ID
                      IMPLID:
                        type: string
                        maxLength: 32
                        description: ID of an Implementation Definition
                      PORTID:
                        type: string
                        maxLength: 32
                        description: Service Port ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_IMPLID:
                    type: string
                    maxLength: 32
                    description: ID of an Implementation Definition
                  E_INTFID:
                    type: string
                    maxLength: 32
                    description: Interface Definition ID
                  E_LOGSYS:
                    type: string
                    maxLength: 10
                    description: Logical System
                  E_MESSAGE:
                    type: string
                    maxLength: 120
                    description: Language-Specific Message
                  E_PORTID:
                    type: string
                    maxLength: 32
                    description: Service Port ID
                  E_RETCODE:
                    type: integer
                    format: int32
                    description: Error Code
                  E_SRV_ID:
                    type: string
                    maxLength: 255
                    description: Service ID
                  ET_TASK_SRV:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        TASK_ID:
                          type: string
                          maxLength: 14
                          description: Task ID
                        SRV_DIR:
                          type: string
                          maxLength: 20
                          description: 'Service Directory  enumValues: WP_PCD=SAP Workplace/Portal Content Directory,WFCACHE=XML Cache'
                          enum:
                          - WP_PCD
                          - WFCACHE
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        CREATION_TS:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        CREATION_RL:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                        CREATOR:
                          type: string
                          maxLength: 12
                          description: User Name
                        SRV_ID:
                          type: string
                          maxLength: 255
                          description: Service ID
                        INTFID:
                          type: string
                          maxLength: 32
                          description: Interface Definition ID
                        IMPLID:
                          type: string
                          maxLength: 32
                          description: ID of an Implementation Definition
                        PORTID:
                          type: string
                          maxLength: 32
                          description: Service Port ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
