openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_BSP_VARIANTS_READ:
    post:
      tags:
      - CRM_BSP_BLUEPRINT_RFC
      operationId: /rfc/CRM_BSP_VARIANTS_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGU:
                  type: string
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                IV_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                ET_VARIANTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      APPLICATION:
                        type: string
                        maxLength: 20
                        description: Application Scenario
                      USERROLE:
                        type: string
                        maxLength: 10
                        description: View for UI Display
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      SEARCHNAME:
                        type: string
                        maxLength: 30
                        description: External ID for Predefined Query
                      SCRNSTRUCTURNAME:
                        type: string
                        maxLength: 30
                        description: Structure Name of Display Field
                      SEARCHID:
                        type: string
                        maxLength: 30
                        description: ID for Determining Search Methods or Modules
                      LENGTH:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      SCRSTRUCTCONTENT:
                        type: string
                        format: byte
                        description: Content
                      VARIANT_KEY:
                        type: string
                        format: byte
                        description: Globally Unique Identifier
                ET_VARIANTS_T:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      APPLICATION:
                        type: string
                        maxLength: 20
                        description: Application Scenario
                      USERROLE:
                        type: string
                        maxLength: 10
                        description: View for UI Display
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      SEARCHNAME:
                        type: string
                        maxLength: 30
                        description: External ID for Predefined Query
                      DESCRIPTION:
                        type: string
                        maxLength: 50
                        description: Short Description
                IT_SO_APPL:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                        enum:
                        - NB
                        - NP
                        - LE
                        - EQ
                        - BT
                        - CP
                        - GT
                        - NE
                        - LT
                        - GE
                      LOW:
                        type: string
                        maxLength: 20
                        description: Application Scenario
                      HIGH:
                        type: string
                        maxLength: 20
                        description: Application Scenario
                IT_SO_ROLE:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                        enum:
                        - NB
                        - NP
                        - LE
                        - EQ
                        - BT
                        - CP
                        - GT
                        - NE
                        - LT
                        - GE
                      LOW:
                        type: string
                        maxLength: 10
                        description: View for UI Display
                      HIGH:
                        type: string
                        maxLength: 10
                        description: View for UI Display
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_VARIANTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        APPLICATION:
                          type: string
                          maxLength: 20
                          description: Application Scenario
                        USERROLE:
                          type: string
                          maxLength: 10
                          description: View for UI Display
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        SEARCHNAME:
                          type: string
                          maxLength: 30
                          description: External ID for Predefined Query
                        SCRNSTRUCTURNAME:
                          type: string
                          maxLength: 30
                          description: Structure Name of Display Field
                        SEARCHID:
                          type: string
                          maxLength: 30
                          description: ID for Determining Search Methods or Modules
                        LENGTH:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        SCRSTRUCTCONTENT:
                          type: string
                          format: byte
                          description: Content
                        VARIANT_KEY:
                          type: string
                          format: byte
                          description: Globally Unique Identifier
                  ET_VARIANTS_T:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        APPLICATION:
                          type: string
                          maxLength: 20
                          description: Application Scenario
                        USERROLE:
                          type: string
                          maxLength: 10
                          description: View for UI Display
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        SEARCHNAME:
                          type: string
                          maxLength: 30
                          description: External ID for Predefined Query
                        DESCRIPTION:
                          type: string
                          maxLength: 50
                          description: Short Description
                  IT_SO_APPL:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                          enum:
                          - NB
                          - NP
                          - LE
                          - EQ
                          - BT
                          - CP
                          - GT
                          - NE
                          - LT
                          - GE
                        LOW:
                          type: string
                          maxLength: 20
                          description: Application Scenario
                        HIGH:
                          type: string
                          maxLength: 20
                          description: Application Scenario
                  IT_SO_ROLE:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Inclusion/exclusion criterion SIGN for range tables  enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                          enum:
                          - NB
                          - NP
                          - LE
                          - EQ
                          - BT
                          - CP
                          - GT
                          - NE
                          - LT
                          - GE
                        LOW:
                          type: string
                          maxLength: 10
                          description: View for UI Display
                        HIGH:
                          type: string
                          maxLength: 10
                          description: View for UI Display
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
