openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_BUS20310_CHANGE:
    post:
      tags:
      - PLM_BUS20310
      operationId: /rfc/BAPI_BUS20310_CHANGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                QUESTIONNAIRE:
                  type: object
                  properties:
                    EXTERNAL_ID:
                      type: string
                      maxLength: 24
                      description: Identification of Question List/Element of Question List
                    GUID:
                      type: string
                      maxLength: 32
                      description: unique object identifier in Audit Management (CHAR32)
                    EXT_POSITION:
                      type: string
                      maxLength: 20
                      description: External Item Number
                    AUTH_GROUP:
                      type: string
                      maxLength: 6
                      description: Authorization Group
                    GROUPING:
                      type: string
                      maxLength: 40
                      description: Grouping
                    SEARCH_FIELD:
                      type: string
                      maxLength: 40
                      description: Search Field
                    VALIDFROMDATE:
                      type: string
                      format: date
                      description: Valid From (Date)
                    VALIDTODATE:
                      type: string
                      format: date
                      description: Valid To (Date)
                    REF_EXTERNAL_ID:
                      type: string
                      maxLength: 24
                      description: Link to Question List/Element of Question List
                    REF_QUEST_GUID:
                      type: string
                      maxLength: 32
                      description: unique object identifier in Audit Management (CHAR32)
                    HIERARCHY_PROFIL:
                      type: integer
                      format: int64
                      description: Description of Hierarchy Profile
                    ASSESSM_PROFIL:
                      type: string
                      maxLength: 4
                      description: Valuation Profile
                    ASSESSMENT_SUG:
                      type: string
                      maxLength: 4
                      description: Valuation Proposal
                    SUGGESTION_SCORE:
                      type: integer
                      format: int64
                      description: Valuation Proposal
                    AUDIT_CALCULATE:
                      type: string
                      maxLength: 4
                      description: Calculation of the Result and Degree of Fulfillment
                    MIN_RESULT:
                      type: integer
                      format: int64
                      description: Minimum Result That Must Be Reached
                    WEIGHTING:
                      type: integer
                      format: int32
                      description: Weighting
                    PRIORITY:
                      type: string
                      maxLength: 2
                      description: Priority
                    QUEST_CHANGEABLE:
                      type: string
                      maxLength: 1
                      description: 'Changeability of Question List in Investigation (Audit,...)  enumValues: ""=Specifications Can Be Changed,1=Specifications Can Be Changed, Exception ''Link'' Field,2=Specifications Cannot Be Changed'
                      enum:
                      - ''
                      - '1'
                      - '2'
                    ORIGINAL_LANGU:
                      type: string
                      maxLength: 1
                      description: Creation Language of Question List
                    ORIGINAL_LANGU_ISO:
                      type: string
                      maxLength: 2
                      description: Language according to ISO 639
                    STAT_PROF:
                      type: string
                      maxLength: 8
                      description: Status Profile
                LONGTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      REF_GUID:
                        type: string
                        maxLength: 32
                        description: unique object identifier in Audit Management (CHAR32)
                      EXTERNAL_ID:
                        type: string
                        maxLength: 24
                        description: Object Key
                      TEXT_ID:
                        type: string
                        maxLength: 4
                        description: Text ID
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      FORMAT_COL:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TEXT_LINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                PARTNER:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLE_SORTNR:
                        type: integer
                        format: int32
                        description: Sort Order of Roles for Audit Component
                      GUID:
                        type: string
                        maxLength: 32
                        description: unique object identifier in Audit Management (CHAR32)
                      EXTERNAL_ID:
                        type: string
                        maxLength: 24
                        description: Object Key
                      ROLE:
                        type: string
                        maxLength: 2
                        description: Role in Processing of Investigations (Audits, FMEA,...)
                      PARTNER_ROLE:
                        type: string
                        maxLength: 6
                        description: Business Partner Role
                      RESPONSIBLE_NAME:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      PARTNER_GUID:
                        type: string
                        maxLength: 32
                        description: Business Partner GUID
                TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      REF_GUID:
                        type: string
                        maxLength: 32
                        description: unique object identifier in Audit Management (CHAR32)
                      EXTERNAL_ID:
                        type: string
                        maxLength: 24
                        description: Object Key
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      DESCRIPTION:
                        type: string
                        maxLength: 40
                        description: Language-Dependent Short Text
              required:
              - QUESTIONNAIRE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LONGTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        REF_GUID:
                          type: string
                          maxLength: 32
                          description: unique object identifier in Audit Management (CHAR32)
                        EXTERNAL_ID:
                          type: string
                          maxLength: 24
                          description: Object Key
                        TEXT_ID:
                          type: string
                          maxLength: 4
                          description: Text ID
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        FORMAT_COL:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TEXT_LINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  PARTNER:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLE_SORTNR:
                          type: integer
                          format: int32
                          description: Sort Order of Roles for Audit Component
                        GUID:
                          type: string
                          maxLength: 32
                          description: unique object identifier in Audit Management (CHAR32)
                        EXTERNAL_ID:
                          type: string
                          maxLength: 24
                          description: Object Key
                        ROLE:
                          type: string
                          maxLength: 2
                          description: Role in Processing of Investigations (Audits, FMEA,...)
                        PARTNER_ROLE:
                          type: string
                          maxLength: 6
                          description: Business Partner Role
                        RESPONSIBLE_NAME:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        PARTNER_GUID:
                          type: string
                          maxLength: 32
                          description: Business Partner GUID
                  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
                  TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        REF_GUID:
                          type: string
                          maxLength: 32
                          description: unique object identifier in Audit Management (CHAR32)
                        EXTERNAL_ID:
                          type: string
                          maxLength: 24
                          description: Object Key
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGU_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        DESCRIPTION:
                          type: string
                          maxLength: 40
                          description: Language-Dependent Short Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
