openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPC_CHASEL_ENQUEUE_RFC:
    post:
      tags:
      - UPC_SERVICES
      operationId: /rfc/UPC_CHASEL_ENQUEUE_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_LOCK_INFO:
                  type: object
                  properties:
                    TYPE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    INFO:
                      type: string
                      description: Context Information (Area, Level, Package, Method, Param.)
                ITO_CHASEL:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      T_CHARNG:
                        type: array
                        items:
                          type: object
                          properties:
                            SIGN:
                              type: string
                              maxLength: 1
                              description: Type of SIGN component in row type of a Ranges type
                            OPTION:
                              type: string
                              maxLength: 2
                              description: Type of OPTION component in row type of a Ranges type
                            LOW:
                              type: string
                              maxLength: 60
                              description: Field for Any Characteristic Value
                            HIGH:
                              type: string
                              maxLength: 60
                              description: Field for Any Characteristic Value
                I_ACTION:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                I_AREA:
                  type: string
                  maxLength: 8
                  description: Planning Area
                I_ENQMODE:
                  type: string
                  maxLength: 1
                  description: Lock Mode
                I_INFOPROV:
                  type: string
                  maxLength: 30
              required:
              - ITO_CHASEL
              - I_ACTION
              - I_AREA
              - I_ENQMODE
              - I_INFOPROV
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_MESG:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
