openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPLS_ENQ_DISPATCHER:
    post:
      tags:
      - RSPLS_ENQ
      operationId: /rfc/RSPLS_ENQ_DISPATCHER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ACTION:
                  type: string
                  maxLength: 1
                I_ENQMODE:
                  type: string
                  maxLength: 1
                I_ENQ_OWNER:
                  type: string
                  maxLength: 22
                I_HASH:
                  type: string
                  maxLength: 40
                I_INFOPROV:
                  type: string
                  maxLength: 30
                I_S_FOREIGN_LCK:
                  type: object
                  properties:
                    INFOPROV:
                      type: string
                      maxLength: 30
                      description: InfoProvider
                    TIME_LCK:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    UNAME:
                      type: string
                      maxLength: 12
                      description: User name in lock entry
                    UNAME_LCK:
                      type: string
                      maxLength: 12
                      description: User name in lock entry
                    MASTER_LCK:
                      type: string
                      maxLength: 1
                      description: Master Sperren
                    T_SEL:
                      type: array
                      items:
                        type: object
                        properties:
                          CHANM:
                            type: string
                            maxLength: 30
                            description: Characteristic
                          OPT:
                            type: string
                            maxLength: 2
                            description: Type of OPTION component in row type of a Ranges type
                          LOW:
                            type: string
                            maxLength: 60
                            description: 'Dim: Field for a User-Defined Characteristic Value'
                          HIGH:
                            type: string
                            maxLength: 60
                            description: 'Dim: Field for a User-Defined Characteristic Value'
                          GUID:
                            type: string
                            maxLength: 32
                            description: GUID in 'CHAR' Format in Uppercase
                          ENQMODE:
                            type: string
                            maxLength: 1
                            description: Lock mode
                          ENQ_OWNER:
                            type: string
                            maxLength: 22
                            description: GUID in 'CHAR' format with upper-/lowercase (!)
                    T_SEL_LCK:
                      type: array
                      items:
                        type: object
                        properties:
                          CHANM:
                            type: string
                            maxLength: 30
                            description: Characteristic
                          OPT:
                            type: string
                            maxLength: 2
                            description: Type of OPTION component in row type of a Ranges type
                          LOW:
                            type: string
                            maxLength: 60
                            description: 'Dim: Field for a User-Defined Characteristic Value'
                          HIGH:
                            type: string
                            maxLength: 60
                            description: 'Dim: Field for a User-Defined Characteristic Value'
                          GUID:
                            type: string
                            maxLength: 32
                            description: GUID in 'CHAR' Format in Uppercase
                          ENQMODE:
                            type: string
                            maxLength: 1
                            description: Lock mode
                          ENQ_OWNER:
                            type: string
                            maxLength: 22
                            description: GUID in 'CHAR' format with upper-/lowercase (!)
                I_S_LOCK_METH:
                  type: object
                  properties:
                    LOCK_METH:
                      type: string
                      maxLength: 3
                      description: 'Planning: Lock Method'
                    HOST:
                      type: string
                      maxLength: 32
                      description: Name of Application Server
                    RFCDEST:
                      type: string
                      maxLength: 40
                      description: Application Server Name
                    LCK_TRACE:
                      type: string
                      maxLength: 1
                      description: 'Lock Trace  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    SYNC_CNT:
                      type: integer
                      format: int32
                      description: Counter for Synchronization with Lock Server
                    SHM_AREA_CLAS:
                      type: string
                      maxLength: 30
                      description: Object Type Name
                    ENQSER_REQ:
                      type: integer
                      format: int32
                      description: Number of Attempts at Exclusive Access to Lock Server
                    ABAP_WAIT:
                      type: integer
                      format: int32
                      description: Wait Time in Seconds
                    NO_LOCK:
                      type: string
                      maxLength: 1
                      description: 'Switch Off Locks  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ENQSER_REQ_SHM:
                      type: integer
                      format: int32
                      description: Number of Attempts at Exclusive Access to Lock Server
                    ABAP_WAIT_SHM:
                      type: integer
                      format: int32
                      description: Wait Time in Seconds
                I_T_CHAS:
                  type: array
                  items:
                    type: string
                    maxLength: 30
                    description: Characteristic
                I_T_CHASEL:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPT:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      HIGH:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                I_UNAME:
                  type: string
                  maxLength: 12
                I_XSEL:
                  type: string
                  format: byte
              required:
              - I_ACTION
      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_LCK_TABLES:
                    type: integer
                    format: int32
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_S_FOREIGN_LCK:
                    type: object
                    properties:
                      INFOPROV:
                        type: string
                        maxLength: 30
                        description: InfoProvider
                      TIME_LCK:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User name in lock entry
                      UNAME_LCK:
                        type: string
                        maxLength: 12
                        description: User name in lock entry
                      MASTER_LCK:
                        type: string
                        maxLength: 1
                        description: Master Sperren
                      T_SEL:
                        type: array
                        items:
                          type: object
                          properties:
                            CHANM:
                              type: string
                              maxLength: 30
                              description: Characteristic
                            OPT:
                              type: string
                              maxLength: 2
                              description: Type of OPTION component in row type of a Ranges type
                            LOW:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            HIGH:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            GUID:
                              type: string
                              maxLength: 32
                              description: GUID in 'CHAR' Format in Uppercase
                            ENQMODE:
                              type: string
                              maxLength: 1
                              description: Lock mode
                            ENQ_OWNER:
                              type: string
                              maxLength: 22
                              description: GUID in 'CHAR' format with upper-/lowercase (!)
                      T_SEL_LCK:
                        type: array
                        items:
                          type: object
                          properties:
                            CHANM:
                              type: string
                              maxLength: 30
                              description: Characteristic
                            OPT:
                              type: string
                              maxLength: 2
                              description: Type of OPTION component in row type of a Ranges type
                            LOW:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            HIGH:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            GUID:
                              type: string
                              maxLength: 32
                              description: GUID in 'CHAR' Format in Uppercase
                            ENQMODE:
                              type: string
                              maxLength: 1
                              description: Lock mode
                            ENQ_OWNER:
                              type: string
                              maxLength: 22
                              description: GUID in 'CHAR' format with upper-/lowercase (!)
                  E_TIME:
                    type: integer
                    format: int32
                  E_T_SELCHECK:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        OPT:
                          type: string
                          maxLength: 2
                          description: Type of OPTION component in row type of a Ranges type
                        LOW:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        HIGH:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        GUID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        ENQMODE:
                          type: string
                          maxLength: 1
                          description: Lock mode
                        ENQ_OWNER:
                          type: string
                          maxLength: 22
                          description: GUID in 'CHAR' format with upper-/lowercase (!)
                  E_T_SELHASH:
                    type: array
                    items:
                      type: object
                      properties:
                        ENQ_OWNER:
                          type: string
                          maxLength: 22
                          description: GUID in 'CHAR' format with upper-/lowercase (!)
                        HASH:
                          type: string
                          maxLength: 40
                          description: Hash Value (160 Bits)
                        ENQMODE:
                          type: string
                          maxLength: 1
                          description: Lock mode
                        GUID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        COUNTER:
                          type: integer
                          format: int32
                          description: Cumulation Counter for Locks
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User name in lock entry
                        INFOPROV:
                          type: string
                          maxLength: 30
                          description: InfoProvider
                        LINES:
                          type: integer
                          format: int32
                          description: Lock Records
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
