openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAI_LA_OPERATION:
    post:
      tags:
      - SAI_LOCKAUTH4J
      operationId: /rfc/SAI_LA_OPERATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PINPUT:
                  type: object
                  properties:
                    OPCODE:
                      type: integer
                      format: int64
                      description: 'SAP XI Java Locks and Authorizations: Operation Code'
                    UKEY:
                      type: string
                      maxLength: 150
                      description: 'SAP XI Java Locks and Authorizations: Uniform Key'
                    KEY:
                      type: object
                      properties:
                        APPID:
                          type: string
                          maxLength: 32
                          description: 'SAP XI Java Locks and Authorizations: Application ID'
                        TYPEID:
                          type: string
                          maxLength: 16
                          description: 'SAP XI Java Locks and Authorizations: Type ID'
                        KEYELEMENTS:
                          type: array
                          items:
                            type: object
                            properties:
                              INDEX:
                                type: integer
                                format: int64
                                description: 'SAP XI Java Locks and Authorizations: Key Element Index'
                              VALUE:
                                type: string
                                maxLength: 150
                                description: 'SAP XI Java Locks and Authorizations: Key Element'
                              ATTRID:
                                type: string
                                maxLength: 32
                                description: 'SAP XI Java Locks and Authorizations: Key Element Attributes'
                    ACTID:
                      type: integer
                      format: int64
                      description: 'SAP XI Java Locks and Authorizations: Activities ID'
              required:
              - PINPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  POUTPUT:
                    type: object
                    properties:
                      EXID:
                        type: integer
                        format: int64
                        description: 'SAP XI Java Locks and Authorizations: Exception ID'
                      EXDETAIL:
                        type: object
                        properties:
                          TYPE:
                            type: string
                            maxLength: 1
                            description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                          CODE:
                            type: string
                            maxLength: 5
                            description: Message code
                          MESSAGE:
                            type: string
                            maxLength: 220
                            description: Message Text
                          LOG_NO:
                            type: string
                            maxLength: 20
                            description: 'Application log: log number'
                          LOG_MSG_NO:
                            type: integer
                            format: int64
                            description: 'Application log: Internal message serial number'
                          MESSAGE_V1:
                            type: string
                            maxLength: 50
                            description: Message Variable
                          MESSAGE_V2:
                            type: string
                            maxLength: 50
                            description: Message Variable
                          MESSAGE_V3:
                            type: string
                            maxLength: 50
                            description: Message Variable
                          MESSAGE_V4:
                            type: string
                            maxLength: 50
                            description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
