openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PLM_AUDIT_COM_SEND_PDF_AS_MAIL:
    post:
      tags:
      - PLM_AUDIT_COMMUNICATION
      operationId: /rfc/PLM_AUDIT_COM_SEND_PDF_AS_MAIL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_ATTRIBUTES:
                  type: object
                  properties:
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    GUID:
                      type: string
                      format: byte
                      description: 'Project Planning: 16 Character GUID for Projects'
                    EXTERNAL_ID:
                      type: string
                      maxLength: 24
                      description: 'Project Planning: External Indentifier of an Element'
                    PROJECT_GUID:
                      type: string
                      format: byte
                      description: 'Project Planning: 16 Character GUID for Projects'
                    OBJECT_TYPE:
                      type: string
                      maxLength: 3
                      description: Object Type in Project Planning
                    PRIORITY:
                      type: integer
                      format: int64
                      description: Priority
                    ACTUALSTART:
                      type: integer
                      format: int64
                      description: Actual Start Date
                    ACTUALFINISH:
                      type: integer
                      format: int64
                      description: Actual Finish Date
                    PLANSTART:
                      type: integer
                      format: int64
                      description: Planned start date
                    PLANFINISH:
                      type: integer
                      format: int64
                      description: Planned Finish Date
                    COMPLETION:
                      type: integer
                      format: int64
                      description: 'Degree of Processing in Percent  enumValues: 000=0 - 100'
                      enum:
                      - '000'
                    MILESTONE:
                      type: string
                      maxLength: 1
                      description: Milestone indicator
                    CONSTRAINT_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Type of Scheduling Constraint  enumValues: 2=Must start on,7=Finish no later than,5=Start no later than,6=Finish no earlier than,1=Latest possible,3=Must finish on,0=Earliest possible,4=Start no earlier than'
                      enum:
                      - '2'
                      - '7'
                      - '5'
                      - '6'
                      - '1'
                      - '3'
                      - '0'
                      - '4'
                    CONSTRAINT_TIME:
                      type: integer
                      format: int64
                      description: Constraint Date
                    CREATED_BY:
                      type: string
                      maxLength: 12
                      description: Name of Person Who Created Object
                    CREATED_ON:
                      type: string
                      format: date
                      description: Date When the Object Was Created
                    CREATED_IN_BW:
                      type: string
                      maxLength: 1
                      description: Transfer Object to BW
                    CHANGED_BY:
                      type: string
                      maxLength: 12
                      description: Name of Person Who Changed Object
                    CHANGED_ON:
                      type: string
                      format: date
                      description: Date on which object was last changed
                    UPDATED_IN_BW:
                      type: string
                      maxLength: 1
                      description: Current Object in BW
                    BWIDENTIFIER:
                      type: integer
                      format: int64
                      description: Project Planning - BW Identification
                    PLANGROUP:
                      type: string
                      maxLength: 4
                      description: Planning Profile Group
                    LATEST_START:
                      type: integer
                      format: int64
                      description: Latest start
                    LATEST_FINISH:
                      type: integer
                      format: int64
                      description: Latest finish date
                    TOTAL_FLOAT:
                      type: integer
                      format: int64
                      description: Total Float
                    DURATION:
                      type: integer
                      format: int64
                      description: Duration of Execution
                    DURATION_UNIT:
                      type: string
                      maxLength: 3
                      description: Time Unit for Execution Duration
                    CALENDAR_ID:
                      type: string
                      maxLength: 2
                      description: Factory Calendar
                    CONSTR_TYPE_FIN:
                      type: string
                      maxLength: 1
                      description: 'Type of Scheduling Constraint  enumValues: 2=Must start on,7=Finish no later than,5=Start no later than,6=Finish no earlier than,1=Latest possible,3=Must finish on,0=Earliest possible,4=Start no earlier than'
                      enum:
                      - '2'
                      - '7'
                      - '5'
                      - '6'
                      - '1'
                      - '3'
                      - '0'
                      - '4'
                    CONSTR_TIME_FIN:
                      type: integer
                      format: int64
                      description: Constraint Date
                    APPLICATION:
                      type: string
                      maxLength: 3
                      description: Application in Project Planning
                IV_GUID:
                  type: string
                  format: byte
                IV_OBJECT_TEXT:
                  type: string
                  maxLength: 30
                IV_OBJECT_TYPE:
                  type: string
                  maxLength: 3
                IV_PDF:
                  type: string
                  format: byte
                IV_SIZE:
                  type: integer
                  format: int32
                IT_PDF_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                IT_ROLES_DESCR:
                  type: array
                  items:
                    type: object
                    properties:
                      GUID:
                        type: string
                        format: byte
                        description: Key
                      OBJECT_GUID:
                        type: string
                        format: byte
                        description: Component in Investigation (Audit, FMEA, ...)
                      ROLE_SORTNR:
                        type: integer
                        format: int32
                        description: Sort Order of Roles for Audit Component
                      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
                      RESPONSIBLE_TEXT:
                        type: string
                        maxLength: 50
                        description: Short Description of Business Partner
                      SYUNAME:
                        type: string
                        maxLength: 12
                        description: Logon Name of User in R/3 System
                      SMTP_ADDR:
                        type: string
                        maxLength: 241
                        description: E-Mail Address
              required:
              - IS_ATTRIBUTES
              - IV_GUID
              - IV_OBJECT_TEXT
              - IV_OBJECT_TYPE
              - IV_SIZE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_PDF_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  IT_ROLES_DESCR:
                    type: array
                    items:
                      type: object
                      properties:
                        GUID:
                          type: string
                          format: byte
                          description: Key
                        OBJECT_GUID:
                          type: string
                          format: byte
                          description: Component in Investigation (Audit, FMEA, ...)
                        ROLE_SORTNR:
                          type: integer
                          format: int32
                          description: Sort Order of Roles for Audit Component
                        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
                        RESPONSIBLE_TEXT:
                          type: string
                          maxLength: 50
                          description: Short Description of Business Partner
                        SYUNAME:
                          type: string
                          maxLength: 12
                          description: Logon Name of User in R/3 System
                        SMTP_ADDR:
                          type: string
                          maxLength: 241
                          description: E-Mail Address
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
