openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_BUS20360_GET_DETAIL:
    post:
      tags:
      - PLM_BUS20360
      operationId: /rfc/BAPI_BUS20360_GET_DETAIL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTERNAL_ID:
                  type: string
                  maxLength: 24
                  description: External Identification of Audit Question
                GUID:
                  type: string
                  maxLength: 32
                  description: unique object identifier for audit question
                LANGU:
                  type: string
                  maxLength: 1
                  description: Language Key
                LANGU_ISO:
                  type: string
                  maxLength: 2
                  description: Language According to ISO 639
                DOCUMENTS:
                  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_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      OBJTYPE:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                        enum:
                        - R
                        - L
                        - P
                        - ''
                        - F
                      NAME:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      DESCRIPT:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      FOLDER_NAME:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      FOLDER_DESCRIPT:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                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
                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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AUDIT:
                    type: object
                    properties:
                      EXTERNAL_ID:
                        type: string
                        maxLength: 24
                        description: Object Key
                      GUID:
                        type: string
                        maxLength: 32
                        description: unique object identifier in Audit Management (CHAR32)
                  AUDITQUESTRESULT:
                    type: object
                    properties:
                      EXTERNAL_ID:
                        type: string
                        maxLength: 24
                        description: Identification of Audit Question/ List Item
                      GUID:
                        type: string
                        maxLength: 32
                        description: unique object identifier in Audit Management (CHAR32)
                      EXT_POSITION:
                        type: string
                        maxLength: 20
                        description: External Item Number
                      GROUPING:
                        type: string
                        maxLength: 40
                        description: Grouping
                      SEARCH_FIELD:
                        type: string
                        maxLength: 40
                        description: Search Field
                      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
                      HIERARCHY_LEVEL:
                        type: integer
                        format: int64
                        description: Hierarchy Level
                      TASK_LEVEL:
                        type: integer
                        format: int32
                        description: Level of Question List Item
                      LISTTYP:
                        type: string
                        maxLength: 3
                        description: Type of List in Investigations (Audit, FMEA,...)
                      LISTITYP:
                        type: integer
                        format: int64
                        description: List Item Type
                      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
                      NOT_RELEVANT:
                        type: string
                        maxLength: 1
                        description: 'Not Relevant  enumValues: ""='
                        enum:
                        - ''
                      ASSESSMENT_REC:
                        type: string
                        maxLength: 1
                        description: 'Valuation Entered  enumValues: ""='
                        enum:
                        - ''
                      ASSESSMENT_RES:
                        type: string
                        maxLength: 4
                        description: Confirmation of Valuation
                      SCORE_REC:
                        type: integer
                        format: int64
                        description: Recorded Number of Points
                      SCORE_RES:
                        type: integer
                        format: int64
                        description: Calculated Result
                      SCORE_MAX:
                        type: integer
                        format: int64
                        description: Maximum Number of Points Possible
                      CORR_REQUIRED:
                        type: string
                        maxLength: 1
                        description: 'Corrective/Preventive Action Required  enumValues: ""='
                        enum:
                        - ''
                      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
                      CREATED_BY:
                        type: string
                        maxLength: 12
                        description: Name of Person Who Created the Component
                      CREATED_ON:
                        type: string
                        format: date
                        description: Date on Which Component Was Created
                      CHANGED_BY:
                        type: string
                        maxLength: 12
                        description: Name of Person, Who Last Changed the Component
                      CHANGED_ON:
                        type: string
                        format: date
                        description: Date on which the component was last changed
                      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'
                      UNPLANNED_ITEM:
                        type: string
                        maxLength: 1
                        description: 'Unplanned Entry  enumValues: ""='
                        enum:
                        - ''
                      SCORE_MANUAL:
                        type: string
                        maxLength: 1
                        description: 'Number of Points, Result Corrected  enumValues: ""='
                        enum:
                        - ''
                      RESULT_PERCENT:
                        type: integer
                        format: int64
                        description: Degree of Fulfillment in Percent
                      ASSESSM_TEXT:
                        type: string
                        maxLength: 40
                        description: Description of Valuation Proposal
                      TXT_HAS_FACT:
                        type: string
                        maxLength: 1
                        description: 'Determination Made  enumValues: ""='
                        enum:
                        - ''
                      TXT_HAS_POSI:
                        type: string
                        maxLength: 1
                        description: 'Has Strengths  enumValues: ""='
                        enum:
                        - ''
                      TXT_HAS_NEGA:
                        type: string
                        maxLength: 1
                        description: 'Has Potential for Improvement  enumValues: ""='
                        enum:
                        - ''
                      PRIORITY_TEXT:
                        type: string
                        maxLength: 40
                        description: Description of Priority
                      AUDIT_CALCULATE_TXT:
                        type: string
                        maxLength: 80
                        description: Calculation of Results and Degree of Fulfillment (Descript.)
                      HIERARCHY_TEXT:
                        type: string
                        maxLength: 20
                        description: Description of Hierarchy Level
                      HIERA_PROFILE_TEXT:
                        type: string
                        maxLength: 40
                        description: Description of Hierarchy Profile
                      AUTH_GROUP_TEXT:
                        type: string
                        maxLength: 40
                        description: Description of Authorization Group
                      QUEST_CHANGEABLE_TXT:
                        type: string
                        maxLength: 60
                        description: 'Changeability of Question List in the Audit: Description'
                      PROFILE_TEXT:
                        type: string
                        maxLength: 40
                        description: Description of Valuation Profile
                      ASSESSM_RES_TEXT:
                        type: string
                        maxLength: 40
                        description: Description of Valuation (Result)
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Category of Valuation Profile  enumValues: 1=Coded,2=Quantitative'
                        enum:
                        - '1'
                        - '2'
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      LANGU_TEXT:
                        type: string
                        maxLength: 16
                        description: Language
                      CONTROL_QUEST:
                        type: string
                        format: byte
                        description: Control Question
                      CONTROL_PROC:
                        type: string
                        maxLength: 3
                        description: Controlling Procedure
                      CONTROL_QUEST_ID:
                        type: string
                        maxLength: 24
                        description: Control Question
                      REFERENCE_ID:
                        type: string
                        maxLength: 24
                        description: Identification of an Object
                      REFERENCE_OBTYP:
                        type: string
                        maxLength: 3
                        description: Object Type in Project Planning
                  DOCUMENTS:
                    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_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        OBJTYPE:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                          enum:
                          - R
                          - L
                          - P
                          - ''
                          - F
                        NAME:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        DESCRIPT:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        FOLDER_NAME:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        FOLDER_DESCRIPT:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                  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
                  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.
