openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_IOS_GET_READ_STATE:
    post:
      tags:
      - SI16_SUBSCRIPTION
      operationId: /rfc/SIW_IOS_GET_READ_STATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IW_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                PHIOS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                PHIO_READ_STATE:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      READSTATE:
                        type: string
                        maxLength: 1
                        description: 'Boolean Variable (X=True, -=False, Space=Unknown)  enumValues: X=true,-=false,""=unknown'
                        enum:
                        - X
                        - '-'
                        - ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PHIOS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  PHIO_READ_STATE:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        READSTATE:
                          type: string
                          maxLength: 1
                          description: 'Boolean Variable (X=True, -=False, Space=Unknown)  enumValues: X=true,-=false,""=unknown'
                          enum:
                          - X
                          - '-'
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
