openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_LOIOS_PHIOS_GET:
    post:
      tags:
      - SDCL
      summary: Extended Context Resolution (Selection of Physical Documents)
      operationId: /rfc/SDOK_LOIOS_PHIOS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: Client
                X_CALL_FILTER_EXITS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Call Exit Functions for Filtering Yes/No
                X_ONLY_RELEVANT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Only Take into Account Attributes Modeled as Context-Relevant Yes/No
                X_REDUCE_TO_ONE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Reduce to One PHIO for Every LOIO Yes/No
                X_REQ_ALL_PROPERTIES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Request All Attributes Yes/No
                BAD_OBJECTS:
                  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
                      ERROR_KEY:
                        type: integer
                        format: int64
                        description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                        enum:
                        - '03'
                        - '04'
                        - '02'
                        - '06'
                        - '00'
                        - '01'
                        - '05'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                BAD_SELECTORS:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRIBUTE:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Include-exclude attribute in search query  enumValues: E=Exclusive no.,I=Inclusive no.'
                        enum:
                        - E
                        - I
                      OP:
                        type: string
                        maxLength: 2
                        description: 'Context resolution: Selection operator  enumValues: MI=Minimum,LT=Less than,GT=Greater than,LE=Less than or equal to,EQ=Equal to,NB=Outside range,CP=Contains pattern,NE=Not equal to,BT=Within range,MA=Maximum,EX=Is evaluated,NP=Does not contain pattern,NX=Is not evaluated,GE=Greater than or equal to'
                        enum:
                        - MI
                        - LT
                        - GT
                        - LE
                        - EQ
                        - NB
                        - CP
                        - NE
                        - BT
                        - MA
                        - EX
                        - NP
                        - NX
                        - GE
                      LO:
                        type: string
                        maxLength: 64
                        description: Lower interval limit for search query
                      HI:
                        type: string
                        maxLength: 64
                        description: Upper interval limit for search query
                      PR:
                        type: integer
                        format: int32
                        description: 'Context resolution: Selection priority'
                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
                OBJECT_LIST:
                  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
                PHYSICAL_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS_LO:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID_LO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      CLASS_PH:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID_PH:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                PROPERTIES_REQUEST:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                PROPERTIES_RESULT:
                  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
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                SELECTORS:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Model: Selector type  enumValues: P=PHIO class,p=PHIO'
                        enum:
                        - P
                        - p
                      ATTRIBUTE:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Include-exclude attribute in search query  enumValues: E=Exclusive no.,I=Inclusive no.'
                        enum:
                        - E
                        - I
                      OP:
                        type: string
                        maxLength: 2
                        description: 'Context resolution: Selection operator  enumValues: MI=Minimum,LT=Less than,GT=Greater than,LE=Less than or equal to,EQ=Equal to,NB=Outside range,CP=Contains pattern,NE=Not equal to,BT=Within range,MA=Maximum,EX=Is evaluated,NP=Does not contain pattern,NX=Is not evaluated,GE=Greater than or equal to'
                        enum:
                        - MI
                        - LT
                        - GT
                        - LE
                        - EQ
                        - NB
                        - CP
                        - NE
                        - BT
                        - MA
                        - EX
                        - NP
                        - NX
                        - GE
                      LO:
                        type: string
                        maxLength: 64
                        description: Lower interval limit for search query
                      HI:
                        type: string
                        maxLength: 64
                        description: Upper interval limit for search query
                      PR:
                        type: integer
                        format: int32
                        description: 'Context resolution: Selection priority'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_OBJECTS:
                    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
                        ERROR_KEY:
                          type: integer
                          format: int64
                          description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                          enum:
                          - '03'
                          - '04'
                          - '02'
                          - '06'
                          - '00'
                          - '01'
                          - '05'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        'NO':
                          type: integer
                          format: int64
                          description: Message Number
                        V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  BAD_SELECTORS:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRIBUTE:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Include-exclude attribute in search query  enumValues: E=Exclusive no.,I=Inclusive no.'
                          enum:
                          - E
                          - I
                        OP:
                          type: string
                          maxLength: 2
                          description: 'Context resolution: Selection operator  enumValues: MI=Minimum,LT=Less than,GT=Greater than,LE=Less than or equal to,EQ=Equal to,NB=Outside range,CP=Contains pattern,NE=Not equal to,BT=Within range,MA=Maximum,EX=Is evaluated,NP=Does not contain pattern,NX=Is not evaluated,GE=Greater than or equal to'
                          enum:
                          - MI
                          - LT
                          - GT
                          - LE
                          - EQ
                          - NB
                          - CP
                          - NE
                          - BT
                          - MA
                          - EX
                          - NP
                          - NX
                          - GE
                        LO:
                          type: string
                          maxLength: 64
                          description: Lower interval limit for search query
                        HI:
                          type: string
                          maxLength: 64
                          description: Upper interval limit for search query
                        PR:
                          type: integer
                          format: int32
                          description: 'Context resolution: Selection priority'
                  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
                  OBJECT_LIST:
                    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
                  PHYSICAL_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS_LO:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID_LO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        CLASS_PH:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID_PH:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  PROPERTIES_REQUEST:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                  PROPERTIES_RESULT:
                    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
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  SELECTORS:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Model: Selector type  enumValues: P=PHIO class,p=PHIO'
                          enum:
                          - P
                          - p
                        ATTRIBUTE:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Include-exclude attribute in search query  enumValues: E=Exclusive no.,I=Inclusive no.'
                          enum:
                          - E
                          - I
                        OP:
                          type: string
                          maxLength: 2
                          description: 'Context resolution: Selection operator  enumValues: MI=Minimum,LT=Less than,GT=Greater than,LE=Less than or equal to,EQ=Equal to,NB=Outside range,CP=Contains pattern,NE=Not equal to,BT=Within range,MA=Maximum,EX=Is evaluated,NP=Does not contain pattern,NX=Is not evaluated,GE=Greater than or equal to'
                          enum:
                          - MI
                          - LT
                          - GT
                          - LE
                          - EQ
                          - NB
                          - CP
                          - NE
                          - BT
                          - MA
                          - EX
                          - NP
                          - NX
                          - GE
                        LO:
                          type: string
                          maxLength: 64
                          description: Lower interval limit for search query
                        HI:
                          type: string
                          maxLength: 64
                          description: Upper interval limit for search query
                        PR:
                          type: integer
                          format: int32
                          description: 'Context resolution: Selection priority'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
