openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPSIF_CALL_VERIFY_EXISTENCE:
    post:
      tags:
      - UPSIF
      operationId: /rfc/UPSIF_CALL_VERIFY_EXISTENCE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_CALLMODE:
                  type: string
                  default: KUPS_DISTRIBUTION
                  maxLength: 1
                IM_DLOCK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'ALE Distribution Packet: Include Distribution Lock'
                IM_OBJTYP:
                  type: string
                  maxLength: 10
                  description: Object type
                IT_ITMMSG:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYP:
                        type: string
                        maxLength: 10
                        description: 'ALE Distribution Packet: Object Type'
                      OBJID:
                        type: string
                        maxLength: 120
                        description: 'ALE Distribution Packet: Object Key'
                      OBJVAL:
                        type: string
                        maxLength: 20
                        description: 'ALE Distribution Package: Object Validity'
                      MESSAGE_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      MESSAGE_ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MESSAGE_NUMBER:
                        type: integer
                        format: int64
                        description: Message 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
                OUTITM:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYP:
                        type: string
                        maxLength: 10
                        description: 'ALE Distribution Packet: Object Type'
                      OBJID:
                        type: string
                        maxLength: 120
                        description: 'ALE Distribution Packet: Object Key'
                      OBJVAL:
                        type: string
                        maxLength: 20
                        description: 'ALE Distribution Package: Object Validity'
                      MESCOD:
                        type: string
                        maxLength: 3
                        description: 'Activity of Object Status  enumValues: DEL=Deletion,MOD=Maintenance'
                        enum:
                        - DEL
                        - MOD
                      DOCNUM:
                        type: string
                        maxLength: 32
                        description: Message Number
                      SNDDOC:
                        type: string
                        maxLength: 32
                        description: 'ALE Distribution Packet: IDoc Number in Sender'
                      HIELEV:
                        type: integer
                        format: int64
                        description: 'ALE Distribution Package: Object Type Serialization'
                      INSLEV:
                        type: integer
                        format: int64
                        description: 'ALE Distribution Package: Object Instance Serialization'
                      SUBLEV:
                        type: integer
                        format: int64
                        description: 'ALE Distrib. Package: Object Validity Status Serialization'
                      FUNCTION:
                        type: string
                        maxLength: 1
                        description: 'ALE Distribution Packet : Function of Object Entry  enumValues: D=Remove object from distribution packet  (correction packet),""=Object belongs to distribution packet  (correction packet),U=Object distributed by distribution packet again,I=Add object to distribution packet (correction packet),-=Cancel object changes in packet (delta changes)'
                        enum:
                        - D
                        - ''
                        - U
                        - I
                        - '-'
                      DSCRPT:
                        type: string
                        maxLength: 80
                        description: 'ALE Distribution Package: Description of Object Instance'
                      STATUS:
                        type: string
                        maxLength: 10
                        description: Message Status
                      EXISTS:
                        type: string
                        maxLength: 1
                        description: 'ALE Distribution Package: Object Instance Exists  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      STATXT:
                        type: string
                        maxLength: 70
                        description: Message Status Text
                      VALID:
                        type: string
                        maxLength: 1
                        description: 'ALE Distribution Unit: Object Valid?  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - IM_OBJTYP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_ITMMSG:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYP:
                          type: string
                          maxLength: 10
                          description: 'ALE Distribution Packet: Object Type'
                        OBJID:
                          type: string
                          maxLength: 120
                          description: 'ALE Distribution Packet: Object Key'
                        OBJVAL:
                          type: string
                          maxLength: 20
                          description: 'ALE Distribution Package: Object Validity'
                        MESSAGE_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        MESSAGE_ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MESSAGE_NUMBER:
                          type: integer
                          format: int64
                          description: Message 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
                  OUTITM:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYP:
                          type: string
                          maxLength: 10
                          description: 'ALE Distribution Packet: Object Type'
                        OBJID:
                          type: string
                          maxLength: 120
                          description: 'ALE Distribution Packet: Object Key'
                        OBJVAL:
                          type: string
                          maxLength: 20
                          description: 'ALE Distribution Package: Object Validity'
                        MESCOD:
                          type: string
                          maxLength: 3
                          description: 'Activity of Object Status  enumValues: DEL=Deletion,MOD=Maintenance'
                          enum:
                          - DEL
                          - MOD
                        DOCNUM:
                          type: string
                          maxLength: 32
                          description: Message Number
                        SNDDOC:
                          type: string
                          maxLength: 32
                          description: 'ALE Distribution Packet: IDoc Number in Sender'
                        HIELEV:
                          type: integer
                          format: int64
                          description: 'ALE Distribution Package: Object Type Serialization'
                        INSLEV:
                          type: integer
                          format: int64
                          description: 'ALE Distribution Package: Object Instance Serialization'
                        SUBLEV:
                          type: integer
                          format: int64
                          description: 'ALE Distrib. Package: Object Validity Status Serialization'
                        FUNCTION:
                          type: string
                          maxLength: 1
                          description: 'ALE Distribution Packet : Function of Object Entry  enumValues: D=Remove object from distribution packet  (correction packet),""=Object belongs to distribution packet  (correction packet),U=Object distributed by distribution packet again,I=Add object to distribution packet (correction packet),-=Cancel object changes in packet (delta changes)'
                          enum:
                          - D
                          - ''
                          - U
                          - I
                          - '-'
                        DSCRPT:
                          type: string
                          maxLength: 80
                          description: 'ALE Distribution Package: Description of Object Instance'
                        STATUS:
                          type: string
                          maxLength: 10
                          description: Message Status
                        EXISTS:
                          type: string
                          maxLength: 1
                          description: 'ALE Distribution Package: Object Instance Exists  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        STATXT:
                          type: string
                          maxLength: 70
                          description: Message Status Text
                        VALID:
                          type: string
                          maxLength: 1
                          description: 'ALE Distribution Unit: Object Valid?  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
