openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_M_ENT_CXQUERY:
    post:
      tags:
      - SDC_MODEL
      operationId: /rfc/SDOK_M_ENT_CXQUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ENTITY_TYPE:
                  type: string
                  maxLength: 1
                  description: Entity Type
                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'
                ENTITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                          connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                        enum:
                        - P
                        - '4'
                        - R
                        - '1'
                        - +
                        - p
                        - T
                        - x
                        - A
                        - y
                        - X
                        - u
                        - '2'
                        - ''
                        - '5'
                        - '*'
                        - S
                        - O
                        - C
                        - l
                        - W
                        - L
                        - t
                        - M
                        - '3'
                        - '>'
                        - <
                        - r
                        - '6'
                        - o
                        - V
                        - K
                        - '-'
                      ENTITY:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                        enum:
                        - '0'
                        - '9'
                        - ''
                        - '2'
                        - '1'
                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_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'
                  ENTITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                            connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                          enum:
                          - P
                          - '4'
                          - R
                          - '1'
                          - +
                          - p
                          - T
                          - x
                          - A
                          - y
                          - X
                          - u
                          - '2'
                          - ''
                          - '5'
                          - '*'
                          - S
                          - O
                          - C
                          - l
                          - W
                          - L
                          - t
                          - M
                          - '3'
                          - '>'
                          - <
                          - r
                          - '6'
                          - o
                          - V
                          - K
                          - '-'
                        ENTITY:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                          enum:
                          - '0'
                          - '9'
                          - ''
                          - '2'
                          - '1'
                  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.
