openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_QUESTION_READMULTIPLE:
    post:
      tags:
      - BEQUESTION
      summary: Read question
      operationId: /rfc/BAPI_QUESTION_READMULTIPLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADDON:
                  type: string
                  maxLength: 15
                  description: Industry
                CICOREQUESTNO:
                  type: string
                  maxLength: 20
                  description: Request/Task
                FROMTIMESTAMP:
                  type: integer
                  format: int64
                  description: Time stamp in short form (Local date and time/format)
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language key
                LANGUAGEISO:
                  type: string
                  maxLength: 2
                  description: Language according to ISO 639
                LASTUSER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: Last changed on/by
                MODE:
                  type: string
                  default: SHOW
                  maxLength: 6
                  description: CICO mode
                NAMESONLY:
                  type: string
                  maxLength: 1
                  description: Only read texts
                ACTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Unique question ID
                      CHOICE:
                        type: string
                        maxLength: 15
                        description: Possible selection ID
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: 'Object type for reactions  enumValues: BMEF=Function,BMPV=Process variant,BMFR=Application Component,SQAQ=Question,BMPC=Process module,SQAK=Configuration group,SCPR=BC Set,BMSV=Business scenario'
                        enum:
                        - BMEF
                        - BMPV
                        - BMFR
                        - SQAQ
                        - BMPC
                        - SQAK
                        - SCPR
                        - BMSV
                      OBJID:
                        type: string
                        maxLength: 32
                        description: GUID (Global Unique Identifier)
                      ACTIV:
                        type: string
                        maxLength: 1
                        description: 'Sense of group members (+ or -)  enumValues: -=Negative,+=Positive'
                        enum:
                        - '-'
                        - +
                ANSWERPOSSIBILITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Unique question ID
                      ADDON:
                        type: string
                        maxLength: 15
                        description: Industry
                      CHOICE:
                        type: string
                        maxLength: 15
                        description: Possible selection ID
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      NAME:
                        type: string
                        maxLength: 60
                        description: Selection name
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Selection inactive  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      SORTNR:
                        type: integer
                        format: int32
                        description: Selection sort number
                CATEGORIES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Unique question ID
                      CATEGORY:
                        type: string
                        maxLength: 20
                        description: Question Categories
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      NAME:
                        type: string
                        maxLength: 100
                        description: Question category short text
                DOCUMENTATIONASSIGNMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      ID:
                        type: string
                        maxLength: 32
                        description: Object ID
                      GUID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      INFO_CLASS:
                        type: string
                        maxLength: 15
                        description: Content type
                      STRUCCLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      STRUCOBJID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      TOPICCLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      TOPICOBJID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                GENERICATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYP:
                        type: string
                        maxLength: 4
                        description: Object type of a reference object for attribute store
                      ID:
                        type: string
                        maxLength: 20
                        description: Object definition
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Sign for attribute values  enumValues: I=Valid for specified:,E=Invalid for specified:,*=Valid for all,S=Relevant for all'
                        enum:
                        - I
                        - E
                        - '*'
                        - S
                      ATTRTYP:
                        type: string
                        maxLength: 4
                        description: 'Attribute type for attribute store  enumValues: ROAD=Roadmap Type Validity,FLAV=Flavor Validity,CTRY=Country Validity,RELS=Release Validity,ROLE=Role Validity,SUBJ=Subject Validity,ROLR=Roles in Review Program Validity,IDRY=Industry Validity'
                        enum:
                        - ROAD
                        - FLAV
                        - CTRY
                        - RELS
                        - ROLE
                        - SUBJ
                        - ROLR
                        - IDRY
                      VALUE:
                        type: string
                        maxLength: 40
                        description: General value for attributes
                      SUBTYP:
                        type: string
                        maxLength: 4
                        description: Subgroup of object types in the attribute repository
                KEYWORDASSIGNMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Unique question ID
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                KEYWORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      NAME:
                        type: string
                        maxLength: 132
                        description: SAPterm Text Field
                QUESTIONLONGTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Unique question ID
                      SEQUENCE:
                        type: integer
                        format: int32
                        description: Sequential number
                      FORMAT_COL:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TEXT_LINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                QUESTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Unique question ID
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      NAME:
                        type: string
                        maxLength: 255
                        description: Question text
                      ANSWERTYPE:
                        type: string
                        maxLength: 1
                        description: 'Answer type  enumValues: 6=Valuation (1-10),3=Multiple Answer,2=Single Answer,4=Free Text,5=Formatted Answer,1=Yes/No,0=No Answer'
                        enum:
                        - '6'
                        - '3'
                        - '2'
                        - '4'
                        - '5'
                        - '1'
                        - '0'
                      ANSGLOBAL:
                        type: string
                        maxLength: 1
                        description: 'Unique answer flag  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      CHTAB:
                        type: string
                        maxLength: 30
                        description: Possible selection table
                      CHFIELD:
                        type: string
                        maxLength: 30
                        description: Possible selection table field
                QUESTIONSTOREAD:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Object definition
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Unique question ID
                        CHOICE:
                          type: string
                          maxLength: 15
                          description: Possible selection ID
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: 'Object type for reactions  enumValues: BMEF=Function,BMPV=Process variant,BMFR=Application Component,SQAQ=Question,BMPC=Process module,SQAK=Configuration group,SCPR=BC Set,BMSV=Business scenario'
                          enum:
                          - BMEF
                          - BMPV
                          - BMFR
                          - SQAQ
                          - BMPC
                          - SQAK
                          - SCPR
                          - BMSV
                        OBJID:
                          type: string
                          maxLength: 32
                          description: GUID (Global Unique Identifier)
                        ACTIV:
                          type: string
                          maxLength: 1
                          description: 'Sense of group members (+ or -)  enumValues: -=Negative,+=Positive'
                          enum:
                          - '-'
                          - +
                  ANSWERPOSSIBILITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Unique question ID
                        ADDON:
                          type: string
                          maxLength: 15
                          description: Industry
                        CHOICE:
                          type: string
                          maxLength: 15
                          description: Possible selection ID
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        NAME:
                          type: string
                          maxLength: 60
                          description: Selection name
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Selection inactive  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        SORTNR:
                          type: integer
                          format: int32
                          description: Selection sort number
                  CATEGORIES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Unique question ID
                        CATEGORY:
                          type: string
                          maxLength: 20
                          description: Question Categories
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        NAME:
                          type: string
                          maxLength: 100
                          description: Question category short text
                  DOCUMENTATIONASSIGNMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        ID:
                          type: string
                          maxLength: 32
                          description: Object ID
                        GUID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        INFO_CLASS:
                          type: string
                          maxLength: 15
                          description: Content type
                        STRUCCLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        STRUCOBJID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        TOPICCLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        TOPICOBJID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                  GENERICATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYP:
                          type: string
                          maxLength: 4
                          description: Object type of a reference object for attribute store
                        ID:
                          type: string
                          maxLength: 20
                          description: Object definition
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Sign for attribute values  enumValues: I=Valid for specified:,E=Invalid for specified:,*=Valid for all,S=Relevant for all'
                          enum:
                          - I
                          - E
                          - '*'
                          - S
                        ATTRTYP:
                          type: string
                          maxLength: 4
                          description: 'Attribute type for attribute store  enumValues: ROAD=Roadmap Type Validity,FLAV=Flavor Validity,CTRY=Country Validity,RELS=Release Validity,ROLE=Role Validity,SUBJ=Subject Validity,ROLR=Roles in Review Program Validity,IDRY=Industry Validity'
                          enum:
                          - ROAD
                          - FLAV
                          - CTRY
                          - RELS
                          - ROLE
                          - SUBJ
                          - ROLR
                          - IDRY
                        VALUE:
                          type: string
                          maxLength: 40
                          description: General value for attributes
                        SUBTYP:
                          type: string
                          maxLength: 4
                          description: Subgroup of object types in the attribute repository
                  KEYWORDASSIGNMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Unique question ID
                        CONCEPT:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                  KEYWORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        CONCEPT:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        NAME:
                          type: string
                          maxLength: 132
                          description: SAPterm Text Field
                  QUESTIONLONGTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Unique question ID
                        SEQUENCE:
                          type: integer
                          format: int32
                          description: Sequential number
                        FORMAT_COL:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TEXT_LINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  QUESTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Unique question ID
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        NAME:
                          type: string
                          maxLength: 255
                          description: Question text
                        ANSWERTYPE:
                          type: string
                          maxLength: 1
                          description: 'Answer type  enumValues: 6=Valuation (1-10),3=Multiple Answer,2=Single Answer,4=Free Text,5=Formatted Answer,1=Yes/No,0=No Answer'
                          enum:
                          - '6'
                          - '3'
                          - '2'
                          - '4'
                          - '5'
                          - '1'
                          - '0'
                        ANSGLOBAL:
                          type: string
                          maxLength: 1
                          description: 'Unique answer flag  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        CHTAB:
                          type: string
                          maxLength: 30
                          description: Possible selection table
                        CHFIELD:
                          type: string
                          maxLength: 30
                          description: Possible selection table field
                  QUESTIONSTOREAD:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Object definition
                  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.
