openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_READ_COUNTER_GET:
    post:
      tags:
      - SI16_B
      operationId: /rfc/SIW_READ_COUNTER_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INFO_OBJECT:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      LOIO_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      PHIO_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      LOIO_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      PHIO_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: Creation time (UTC)
                      READCOUNT:
                        type: integer
                        format: int64
                        description: Number of Objects
                      CHANGED_AT:
                        type: integer
                        format: int64
                        description: Time of change (UTC)
              required:
              - INFO_OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        LOIO_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        PHIO_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        LOIO_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        PHIO_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: Creation time (UTC)
                        READCOUNT:
                          type: integer
                          format: int64
                          description: Number of Objects
                        CHANGED_AT:
                          type: integer
                          format: int64
                          description: Time of change (UTC)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
