openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UWL_GET_ITEMS_PROXY:
    post:
      tags:
      - UWLCONN
      summary: prototype for UWL proxy
      operationId: /rfc/UWL_GET_ITEMS_PROXY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANNEL_ID:
                  type: string
                  maxLength: 255
                  description: UWL type, id and general name
                FROM_TIMESTAMP:
                  type: integer
                  format: int64
                  description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                PROVIDER_MODULE:
                  type: string
                  maxLength: 255
                  description: UWL type, id and general name
                PROVIDER_OBJECT:
                  type: string
                  maxLength: 255
                  description: UWL type, id and general name
                REMOVED_ITEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      USER_ID:
                        type: string
                        maxLength: 12
                        description: User Name
                      EXTERNAL_ID:
                        type: string
                        maxLength: 300
                        description: 'UWL: External id of item from provider'
                USERS:
                  type: array
                  items:
                    type: object
                    properties:
                      USER_ID:
                        type: string
                        maxLength: 12
                        description: User Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
              required:
              - CHANNEL_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ITEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        USER_ID:
                          type: string
                          maxLength: 12
                          description: User Name
                        EXTERNAL_ID:
                          type: string
                          maxLength: 300
                          description: 'UWL: External id of item from provider'
                        EXTERNAL_TYPE:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        SUBJECT:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        CREATED_TIME:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        CREATOR_ID:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        COMPLETED_FLAG:
                          type: string
                          maxLength: 1
                          description: UWL flag
                        DUE_TIME:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        DESCRIPTION:
                          type: string
                          maxLength: 1024
                          description: UWL long string
                        EXECUTION_URL:
                          type: string
                          maxLength: 1024
                          description: UWL Execution Url
                        EXTERNAL_OBJECT_ID:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        ESCALATED_BY:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        ITEM_TYPE:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        ATTACHMENT_COUNT:
                          type: integer
                          format: int32
                          description: UWL count
                        MEMO_COUNT:
                          type: integer
                          format: int32
                          description: UWL count
                        PRIORITY:
                          type: string
                          maxLength: 12
                          description: UWL short string
                        STATUS:
                          type: string
                          maxLength: 12
                          description: UWL short string
                        SUBSTITUTED_FOR:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        FORWARDED_BY:
                          type: string
                          maxLength: 255
                          description: UWL type, id and general name
                        ADDTL_ATTRIBUTES:
                          type: array
                          items:
                            type: object
                            properties:
                              NAME:
                                type: string
                                maxLength: 32
                                description: BOR attribute name
                              VALUE:
                                type: string
                                maxLength: 255
                                description: UWL attribute value
                              TYPE:
                                type: string
                                maxLength: 1
                                description: UWL char
                  ITEM_TYPE:
                    type: string
                    maxLength: 255
                    description: UWL type, id and general name
                  RESULT_TYPE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  SYSTEM_TIMESTAMP:
                    type: integer
                    format: int64
                    description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                  REMOVED_ITEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        USER_ID:
                          type: string
                          maxLength: 12
                          description: User Name
                        EXTERNAL_ID:
                          type: string
                          maxLength: 300
                          description: 'UWL: External id of item from provider'
                  USERS:
                    type: array
                    items:
                      type: object
                      properties:
                        USER_ID:
                          type: string
                          maxLength: 12
                          description: User Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
