openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWD_STORE_WF_TEXT:
    post:
      tags:
      - SWDB
      operationId: /rfc/SWD_STORE_WF_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                ACT_TASK:
                  type: string
                  maxLength: 14
                ACT_WFDKEY:
                  type: object
                  properties:
                    WFD_ID:
                      type: string
                      maxLength: 10
                      description: Number of workflow definition
                    VERSION:
                      type: string
                      maxLength: 4
                      description: Version
                    EXETYP:
                      type: string
                      maxLength: 1
                      description: 'Workflow Type  enumValues: E=Runtime,R=Ad Hoc Runtime,S=Definition,D=Ad Hoc Definition,C=Configuration Definition,A=Configuration Runtime'
                      enum:
                      - E
                      - R
                      - S
                      - D
                      - C
                      - A
                DO_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                ACT_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: 'Workflow definition: Client'
                      WFD_ID:
                        type: string
                        maxLength: 10
                        description: Number of workflow definition
                      VERSION:
                        type: string
                        maxLength: 4
                        description: Version
                      EXETYP:
                        type: string
                        maxLength: 1
                        description: 'Workflow Type  enumValues: E=Runtime,R=Ad Hoc Runtime,S=Definition,D=Ad Hoc Definition,C=Configuration Definition,A=Configuration Runtime'
                        enum:
                        - E
                        - R
                        - S
                        - D
                        - C
                        - A
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Language key'
                      NODEID:
                        type: integer
                        format: int64
                        description: Node Number
                      TEXTTYP:
                        type: string
                        maxLength: 2
                        description: 'Type of language-dependent text  enumValues: HD=Short text of workflow definition header,TI=Title for manual decision,ND=Short text of a node,MD=Decision texts for manual decision'
                        enum:
                        - HD
                        - TI
                        - ND
                        - MD
                      TEXTNUMBER:
                        type: integer
                        format: int64
                        description: Text number
                      WFD_TEXT:
                        type: string
                        maxLength: 80
                        description: Language-dependent text of a workflow definition
              required:
              - ACT_TASK
              - ACT_WFDKEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: 'Workflow definition: Client'
                        WFD_ID:
                          type: string
                          maxLength: 10
                          description: Number of workflow definition
                        VERSION:
                          type: string
                          maxLength: 4
                          description: Version
                        EXETYP:
                          type: string
                          maxLength: 1
                          description: 'Workflow Type  enumValues: E=Runtime,R=Ad Hoc Runtime,S=Definition,D=Ad Hoc Definition,C=Configuration Definition,A=Configuration Runtime'
                          enum:
                          - E
                          - R
                          - S
                          - D
                          - C
                          - A
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: 'Workflow definition: Language key'
                        NODEID:
                          type: integer
                          format: int64
                          description: Node Number
                        TEXTTYP:
                          type: string
                          maxLength: 2
                          description: 'Type of language-dependent text  enumValues: HD=Short text of workflow definition header,TI=Title for manual decision,ND=Short text of a node,MD=Decision texts for manual decision'
                          enum:
                          - HD
                          - TI
                          - ND
                          - MD
                        TEXTNUMBER:
                          type: integer
                          format: int64
                          description: Text number
                        WFD_TEXT:
                          type: string
                          maxLength: 80
                          description: Language-dependent text of a workflow definition
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
