openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPI_PS_ASSEMBLE_CB:
    post:
      tags:
      - SPI31
      operationId: /rfc/SPI_PS_ASSEMBLE_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_LOCAL:
                  type: integer
                  format: int32
                  description: Local call
                IP_STEPID:
                  type: string
                  maxLength: 32
                  description: 'SPI: Process Step ID'
              required:
              - IP_STEPID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_TR:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        SIGNATURE:
                          type: string
                          maxLength: 32
                          description: 'Global SPI: Agent Signature'
                        TRGUID:
                          type: string
                          format: byte
                          description: 'SPI: GUID of a Tracking Record'
                        FLDNAME:
                          type: string
                          maxLength: 30
                          description: 'SPI: Data Field Name'
                        INSTAMP:
                          type: integer
                          format: int64
                          description: 'SPI: Inbound Time Stamp Central Store'
                        AGENTID:
                          type: string
                          maxLength: 22
                          description: 'SPI Global: Agent ID'
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        LOCSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        LOCCLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction code
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Program Name
                        DYNPRONR:
                          type: string
                          maxLength: 4
                          description: Screen number or transaction name
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User or account name using a transaction
                        TERMINAL:
                          type: string
                          maxLength: 20
                          description: 'SAP Statistics: Name of Terminal'
                        TRANSID:
                          type: string
                          format: byte
                          description: 'SPI: Raw 16 GUID'
                        WPID:
                          type: integer
                          format: int32
                          description: Work process number
                        HOSTIPADR:
                          type: string
                          format: byte
                          description: Host IP address
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        VALUE:
                          type: string
                          maxLength: 70
                          description: 'SPI Global: Value for a Field Name'
                        ERROR:
                          type: string
                          format: byte
                          description: 'SPI: Error Status for Process'
                        DELFLAG:
                          type: string
                          format: byte
                          description: 'SPI: Deletion Indicator'
                        VBKEY:
                          type: string
                          format: byte
                          description: 'SPI: Raw 16 GUID'
                        CID:
                          type: string
                          format: byte
                          description: 'SPI: Raw 16 GUID'
                        CWCNT:
                          type: string
                          format: byte
                          description: 'SPI: Commit Work Counter'
                        HASHVAL:
                          type: integer
                          format: int32
                          description: ''
                        FINISH:
                          type: string
                          format: byte
                          description: 'SPI: Finished + Complete Status'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
