openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_REPPROV_ADDCONDITION:
    post:
      tags:
      - RSCRM_BO_DATAPROVIDER
      summary: .
      operationId: /rfc/BAPI_REPPROV_ADDCONDITION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CONDITION:
                  type: object
                  properties:
                    CONDID:
                      type: string
                      maxLength: 25
                      description: Technical Name of the Condition
                    CONDDESCR:
                      type: string
                      maxLength: 60
                      description: Description
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    CONDORDER:
                      type: integer
                      format: int64
                      description: NUMC_6
                SESSIONID:
                  type: integer
                  format: int64
                  description: Unique ID of a Session
                CONDITIONCHARACT:
                  type: array
                  items:
                    type: object
                    properties:
                      CONDID:
                        type: string
                        maxLength: 25
                        description: Technical Name of the Condition
                      CHARACTERISTIC:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      CHARACTDESCR:
                        type: string
                        maxLength: 60
                        description: Description
                CONDITIONFILTER:
                  type: array
                  items:
                    type: object
                    properties:
                      CONDID:
                        type: string
                        maxLength: 25
                        description: Technical Name of the Condition
                      TERMNR:
                        type: integer
                        format: int64
                        description: Position of the Condition Filter
                      KEYFIGURE:
                        type: string
                        maxLength: 64
                        description: Member Name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: '+/- Sign Field for Selection Options  enumValues: E=Exclude specified values,I=Select specified values'
                        enum:
                        - E
                        - I
                      OPT:
                        type: string
                        maxLength: 2
                        description: 'Option Field for Selection Options  enumValues: BT=Between: Range of Values,EQ=Equal: Single Value,LE=Less or Equal: Everything <= Value in Field LOW,CP=Contains Pattern: Masked Input: Find Pattern,NB=Not Between: Everything Outside the Range,GE=Greater or Equal: Everything >= Value in Field LOW,NP=Not Contains Pattern: Masked Input: Reject Pattern,NE=Not Equal: Everything Apart from the Specified Single Value,GT=Greater Than: Everything > Value in Field LOW,LT=Less
                          Than: Everything < Value in Field LOW'
                        enum:
                        - BT
                        - EQ
                        - LE
                        - CP
                        - NB
                        - GE
                        - NP
                        - NE
                        - GT
                        - LT
                      LOW:
                        type: string
                        maxLength: 64
                        description: Member Name
                      HIGH:
                        type: string
                        maxLength: 64
                        description: Member Name
              required:
              - I_CONDITION
              - SESSIONID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_CONDITION:
                    type: object
                    properties:
                      CONDID:
                        type: string
                        maxLength: 25
                        description: Technical Name of the Condition
                      CONDDESCR:
                        type: string
                        maxLength: 60
                        description: Description
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      CONDORDER:
                        type: integer
                        format: int64
                        description: NUMC_6
                  CONDITIONCHARACT:
                    type: array
                    items:
                      type: object
                      properties:
                        CONDID:
                          type: string
                          maxLength: 25
                          description: Technical Name of the Condition
                        CHARACTERISTIC:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        CHARACTDESCR:
                          type: string
                          maxLength: 60
                          description: Description
                  CONDITIONFILTER:
                    type: array
                    items:
                      type: object
                      properties:
                        CONDID:
                          type: string
                          maxLength: 25
                          description: Technical Name of the Condition
                        TERMNR:
                          type: integer
                          format: int64
                          description: Position of the Condition Filter
                        KEYFIGURE:
                          type: string
                          maxLength: 64
                          description: Member Name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: '+/- Sign Field for Selection Options  enumValues: E=Exclude specified values,I=Select specified values'
                          enum:
                          - E
                          - I
                        OPT:
                          type: string
                          maxLength: 2
                          description: 'Option Field for Selection Options  enumValues: BT=Between: Range of Values,EQ=Equal: Single Value,LE=Less or Equal: Everything <= Value in Field LOW,CP=Contains Pattern: Masked Input: Find Pattern,NB=Not Between: Everything Outside the Range,GE=Greater or Equal: Everything >= Value in Field LOW,NP=Not Contains Pattern: Masked Input: Reject Pattern,NE=Not Equal: Everything Apart from the Specified Single Value,GT=Greater Than: Everything > Value in Field LOW,LT=Less
                            Than: Everything < Value in Field LOW'
                          enum:
                          - BT
                          - EQ
                          - LE
                          - CP
                          - NB
                          - GE
                          - NP
                          - NE
                          - GT
                          - LT
                        LOW:
                          type: string
                          maxLength: 64
                          description: Member Name
                        HIGH:
                          type: string
                          maxLength: 64
                          description: Member Name
                  RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
