openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_INFO_OBJECT_PROP_REQUEST:
    post:
      tags:
      - SI16
      operationId: /rfc/SIW_INFO_OBJECT_PROP_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  maxLength: 10
                  description: Area
                LOIO_PHIO:
                  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
                MODE:
                  type: string
                  default: EDIT
                  maxLength: 10
                USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                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
                PROP_META:
                  type: array
                  items:
                    type: object
                    properties:
                      LOIO_CL:
                        type: string
                        maxLength: 10
                        description: Document class
                      PHIO_CL:
                        type: string
                        maxLength: 10
                        description: Document class
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      PROP_CHECK:
                        type: integer
                        format: int64
                        description: 'Value check for attribute feature  enumValues: 02=Application table check,01=Dictionary check,00=No check'
                        enum:
                        - '02'
                        - '01'
                        - '00'
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      X_OBLIGAT:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_UNIQUE:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_MAINTAIN:
                        type: string
                        maxLength: 1
                        description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_FOREIGN:
                        type: string
                        maxLength: 1
                        description: 'Attribute belongs to another object  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_CLIENT:
                        type: string
                        maxLength: 1
                        description: 'Attribute transferred to PC (at checkout)  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_CONTEXT:
                        type: string
                        maxLength: 1
                        description: 'Attribute is context relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      GROUPING:
                        type: string
                        maxLength: 3
                        description: Grouping attributes
                      SORTING:
                        type: string
                        maxLength: 4
                        description: Attributes sort quality
                      PROP01:
                        type: string
                        maxLength: 15
                        description: Attribute feature (short version)
                      X_INDEX:
                        type: string
                        maxLength: 1
                        description: 'Attribute is index relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_DYNAMIC:
                        type: string
                        maxLength: 1
                        description: 'Attribute is dynamic  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DESCRIPT:
                        type: string
                        maxLength: 64
                        description: Short Description
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      PROP_LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      VALTAB_IDX:
                        type: integer
                        format: int64
                        description: Index in an internal table
                      VALTAB_CNT:
                        type: integer
                        format: int64
                        description: Index in an internal table
                      PROP_VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                      X_LOIO:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      X_TSTMP:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      FIELD_TEXT:
                        type: string
                        maxLength: 64
                        description: Short Description
                      X_CLASS:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                PROP_VALUERANGE:
                  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
                      DESCR:
                        type: string
                        maxLength: 64
                        description: Short Description
              required:
              - LOIO_PHIO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: object
                    properties:
                      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
                  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
                  PROP_META:
                    type: array
                    items:
                      type: object
                      properties:
                        LOIO_CL:
                          type: string
                          maxLength: 10
                          description: Document class
                        PHIO_CL:
                          type: string
                          maxLength: 10
                          description: Document class
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        PROP_CHECK:
                          type: integer
                          format: int64
                          description: 'Value check for attribute feature  enumValues: 02=Application table check,01=Dictionary check,00=No check'
                          enum:
                          - '02'
                          - '01'
                          - '00'
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        X_OBLIGAT:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_UNIQUE:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_MAINTAIN:
                          type: string
                          maxLength: 1
                          description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_FOREIGN:
                          type: string
                          maxLength: 1
                          description: 'Attribute belongs to another object  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_CLIENT:
                          type: string
                          maxLength: 1
                          description: 'Attribute transferred to PC (at checkout)  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_CONTEXT:
                          type: string
                          maxLength: 1
                          description: 'Attribute is context relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        GROUPING:
                          type: string
                          maxLength: 3
                          description: Grouping attributes
                        SORTING:
                          type: string
                          maxLength: 4
                          description: Attributes sort quality
                        PROP01:
                          type: string
                          maxLength: 15
                          description: Attribute feature (short version)
                        X_INDEX:
                          type: string
                          maxLength: 1
                          description: 'Attribute is index relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_DYNAMIC:
                          type: string
                          maxLength: 1
                          description: 'Attribute is dynamic  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DESCRIPT:
                          type: string
                          maxLength: 64
                          description: Short Description
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        PROP_LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        VALTAB_IDX:
                          type: integer
                          format: int64
                          description: Index in an internal table
                        VALTAB_CNT:
                          type: integer
                          format: int64
                          description: Index in an internal table
                        PROP_VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                        X_LOIO:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        X_TSTMP:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        FIELD_TEXT:
                          type: string
                          maxLength: 64
                          description: Short Description
                        X_CLASS:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  PROP_VALUERANGE:
                    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
                        DESCR:
                          type: string
                          maxLength: 64
                          description: Short Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
