openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_WSS_TASK_GENERATE_WP_PCD:
    post:
      tags:
      - SWF_WS_UTILITY
      operationId: /rfc/SWF_WSS_TASK_GENERATE_WP_PCD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_IMPLEMENTATION:
                  type: object
                  properties:
                    SID:
                      type: string
                      maxLength: 32
                      description: WebFlow Service ID
                    PROTCL:
                      type: string
                      maxLength: 5
                      description: 'Log  enumValues: https=HTTPS,http=HTTP'
                      enum:
                      - https
                      - http
                    SERVER:
                      type: string
                      maxLength: 255
                      description: Server Names
                    PORTNUM:
                      type: integer
                      format: int64
                      description: Port Number
                    PATH:
                      type: string
                      maxLength: 255
                      description: Service path
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                    CALLMODE:
                      type: string
                      maxLength: 1
                      description: 'Call Mode of an External Service  enumValues: 3=Dialog-Based Service Without Callback (in Frame),4=Dialog-Based Service Without Callback (in Separate Browser),1=Background Service (Synchronous),2=Background Service with Callback (Asynchronous),""=Dialog-Based Service'
                      enum:
                      - '3'
                      - '4'
                      - '1'
                      - '2'
                      - ''
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                I_SHORT:
                  type: string
                  maxLength: 12
                  description: Object Abbreviation
                I_STEXT:
                  type: string
                  maxLength: 40
                  description: Object Description
                I_UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                IT_INTERFACE:
                  type: array
                  items:
                    type: object
                    properties:
                      SID:
                        type: string
                        maxLength: 32
                        description: WebFlow Service ID
                      PID:
                        type: string
                        maxLength: 32
                        description: Parameter ID for WebFlow Service
                      XMLTYPE:
                        type: string
                        maxLength: 20
                        description: 'XML Type for a WebFlow Service Parameter  enumValues: time=,FLOAT=Float,int=Integer (int),TIME=Time,STRING=String,DATE=Date'
                        enum:
                        - time
                        - FLOAT
                        - int
                        - TIME
                        - STRING
                        - DATE
                      CATEGORY:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Parameter Type  enumValues: C=Import & Export,I=Import,E=Export'
                        enum:
                        - C
                        - I
                        - E
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: 'WebFlow Service Parameter: Optional Attribute  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      VDEFAULT:
                        type: string
                        maxLength: 255
                        description: 'Workflow: Default Value of Service Parameter'
                      TEXT:
                        type: string
                        maxLength: 132
                        description: 'Workflow: Short Text for External Service'
                IT_WITEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      WITEXT:
                        type: string
                        maxLength: 120
                        description: Work Item Text
              required:
              - I_IMPLEMENTATION
              - I_SHORT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_OBJID:
                    type: integer
                    format: int64
                    description: Object ID of Standard Object
                  E_OTYPE:
                    type: string
                    maxLength: 2
                    description: Standard object type
                  IT_INTERFACE:
                    type: array
                    items:
                      type: object
                      properties:
                        SID:
                          type: string
                          maxLength: 32
                          description: WebFlow Service ID
                        PID:
                          type: string
                          maxLength: 32
                          description: Parameter ID for WebFlow Service
                        XMLTYPE:
                          type: string
                          maxLength: 20
                          description: 'XML Type for a WebFlow Service Parameter  enumValues: time=,FLOAT=Float,int=Integer (int),TIME=Time,STRING=String,DATE=Date'
                          enum:
                          - time
                          - FLOAT
                          - int
                          - TIME
                          - STRING
                          - DATE
                        CATEGORY:
                          type: string
                          maxLength: 1
                          description: 'Workflow: Parameter Type  enumValues: C=Import & Export,I=Import,E=Export'
                          enum:
                          - C
                          - I
                          - E
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: 'WebFlow Service Parameter: Optional Attribute  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        VDEFAULT:
                          type: string
                          maxLength: 255
                          description: 'Workflow: Default Value of Service Parameter'
                        TEXT:
                          type: string
                          maxLength: 132
                          description: 'Workflow: Short Text for External Service'
                  IT_WITEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        WITEXT:
                          type: string
                          maxLength: 120
                          description: Work Item Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
