openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_TYPE_TEXT_GET:
    post:
      tags:
      - SWWF
      operationId: /rfc/SWW_WI_TYPE_TEXT_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                WORKITEM_TYPE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Work item type ID
                TYPETEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      WI_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Work item type  enumValues: E=Work Item that Waits for an Event (Wait Step),C=Work Item that Represents a Container Linkage,R=Work Item that Represents a Remote Work Item (http),F=Workflow (Also Subworkflow),X=Work Item that Represents a Block,B=Work Item for Background Step,A=Work Item that Represents a Work Queue,Q=Work Item that Represents a Dialog Block,W=Dialog Work Item; Represents a Single-Step Task,N=Notification Item (No Longer Used),P=Work Item that
                          Represents a Remote Work Item (Proxy WI),D=Deadline Work Item; Notification upon Missed Deadline'
                        enum:
                        - E
                        - C
                        - R
                        - F
                        - X
                        - B
                        - A
                        - Q
                        - W
                        - N
                        - P
                        - D
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TYPETEXT:
                        type: string
                        maxLength: 20
                        description: Work Item Type
                      DEF_WITEXT:
                        type: string
                        maxLength: 120
                        description: Work item text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WI_TYPETEXT:
                    type: object
                    properties:
                      WI_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Work item type  enumValues: E=Work Item that Waits for an Event (Wait Step),C=Work Item that Represents a Container Linkage,R=Work Item that Represents a Remote Work Item (http),F=Workflow (Also Subworkflow),X=Work Item that Represents a Block,B=Work Item for Background Step,A=Work Item that Represents a Work Queue,Q=Work Item that Represents a Dialog Block,W=Dialog Work Item; Represents a Single-Step Task,N=Notification Item (No Longer Used),P=Work Item that
                          Represents a Remote Work Item (Proxy WI),D=Deadline Work Item; Notification upon Missed Deadline'
                        enum:
                        - E
                        - C
                        - R
                        - F
                        - X
                        - B
                        - A
                        - Q
                        - W
                        - N
                        - P
                        - D
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TYPETEXT:
                        type: string
                        maxLength: 20
                        description: Work Item Type
                      DEF_WITEXT:
                        type: string
                        maxLength: 120
                        description: Work item text
                  TYPETEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        WI_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Work item type  enumValues: E=Work Item that Waits for an Event (Wait Step),C=Work Item that Represents a Container Linkage,R=Work Item that Represents a Remote Work Item (http),F=Workflow (Also Subworkflow),X=Work Item that Represents a Block,B=Work Item for Background Step,A=Work Item that Represents a Work Queue,Q=Work Item that Represents a Dialog Block,W=Dialog Work Item; Represents a Single-Step Task,N=Notification Item (No Longer Used),P=Work Item that
                            Represents a Remote Work Item (Proxy WI),D=Deadline Work Item; Notification upon Missed Deadline'
                          enum:
                          - E
                          - C
                          - R
                          - F
                          - X
                          - B
                          - A
                          - Q
                          - W
                          - N
                          - P
                          - D
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TYPETEXT:
                          type: string
                          maxLength: 20
                          description: Work Item Type
                        DEF_WITEXT:
                          type: string
                          maxLength: 120
                          description: Work item text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
