openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_GP_DEF_DEPLOY:
    post:
      tags:
      - SWF_GP_DEF
      operationId: /rfc/SWF_GP_DEF_DEPLOY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_DEPLOYMENT_TYPE:
                  type: string
                  default: G
                  maxLength: 1
                IM_GP_CATEGORY:
                  type: string
                  maxLength: 32
                IM_GP_ID:
                  type: string
                  maxLength: 32
                IM_GP_TECH_NAME:
                  type: string
                  maxLength: 32
                IM_GP_VERSION:
                  type: integer
                  format: int64
                IM_GP_XML:
                  type: string
                  format: byte
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                ET_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
              required:
              - IM_GP_CATEGORY
              - IM_GP_ID
              - IM_GP_TECH_NAME
              - IM_GP_VERSION
              - IM_GP_XML
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_GPD:
                    type: object
                    properties:
                      GPD_ID:
                        type: string
                        maxLength: 32
                        description: ID of Guided Procedures Process Definition
                      GPD_VERSION:
                        type: string
                        maxLength: 4
                        description: Version of a Guided Procedures Process Definition
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Indicator Active/Not Active  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                  EX_RETURNCODE:
                    type: integer
                    format: int64
                  ET_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
