openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_SLS_COM_SET_COMMENT:
    post:
      tags:
      - SLSB
      summary: Import Comment
      operationId: /rfc/BAPI_SLS_COM_SET_COMMENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_EVID:
                  type: integer
                  format: int64
                  description: Object ID
                P_NO_TEM:
                  type: string
                  maxLength: 1
                  description: PAW - Event  either from TEM or not
                P_CEVENT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EVID:
                        type: integer
                        format: int64
                        description: Event identification (PAW)
                      PATYP:
                        type: string
                        maxLength: 2
                        description: Participant type (PAW)
                      PARID:
                        type: string
                        maxLength: 45
                        description: Participant ID
                      PARSH:
                        type: string
                        maxLength: 12
                        description: Participant name abbreviation (PAW)
                      PARTX:
                        type: string
                        maxLength: 40
                        description: Participant name
                      CPERSON:
                        type: string
                        maxLength: 1
                        description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                      LENGHT:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CTEXT:
                        type: string
                        maxLength: 4096
                        description: PAW - Long character
                      NO_TEM:
                        type: string
                        maxLength: 1
                        description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                        enum:
                        - X
                        - ''
                P_CPET:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EVID:
                        type: integer
                        format: int64
                        description: Event identification (PAW)
                      PCLASS:
                        type: string
                        maxLength: 10
                        description: Physical info object class in Knowledge Warehouse
                      PGUID:
                        type: string
                        maxLength: 32
                        description: PHIO unique info object key in Knowledge Warehouse
                      PPATYP:
                        type: string
                        maxLength: 2
                        description: Participant type (PAW)
                      PPARID:
                        type: string
                        maxLength: 45
                        description: Participant ID
                      PATYP:
                        type: string
                        maxLength: 2
                        description: Participant type (PAW)
                      PARID:
                        type: string
                        maxLength: 45
                        description: Participant ID
                      PARSH:
                        type: string
                        maxLength: 12
                        description: Participant name abbreviation (PAW)
                      PARTX:
                        type: string
                        maxLength: 40
                        description: Participant name
                      CPERSON:
                        type: string
                        maxLength: 1
                        description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                      LENGHT:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CTEXT:
                        type: string
                        maxLength: 4096
                        description: PAW - Long character
                      NO_TEM:
                        type: string
                        maxLength: 1
                        description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                        enum:
                        - X
                        - ''
                P_CRITEM:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EVID:
                        type: integer
                        format: int64
                        description: Event identification (PAW)
                      PCLASS:
                        type: string
                        maxLength: 10
                        description: Physical info object class in Knowledge Warehouse
                      PGUID:
                        type: string
                        maxLength: 32
                        description: PHIO unique info object key in Knowledge Warehouse
                      PPATYP:
                        type: string
                        maxLength: 2
                        description: Participant type (PAW)
                      PPARID:
                        type: string
                        maxLength: 45
                        description: Participant ID
                      IPCLASS:
                        type: string
                        maxLength: 10
                        description: Physical info object class in Knowledge Warehouse
                      IPGUID:
                        type: string
                        maxLength: 32
                        description: PHIO unique info object key in Knowledge Warehouse
                      PATYP:
                        type: string
                        maxLength: 2
                        description: Participant type (PAW)
                      PARID:
                        type: string
                        maxLength: 45
                        description: Participant ID
                      PARSH:
                        type: string
                        maxLength: 12
                        description: Participant name abbreviation (PAW)
                      PARTX:
                        type: string
                        maxLength: 40
                        description: Participant name
                      CPERSON:
                        type: string
                        maxLength: 1
                        description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                      LENGHT:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CTEXT:
                        type: string
                        maxLength: 4096
                        description: PAW - Long character
                      NO_TEM:
                        type: string
                        maxLength: 1
                        description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                        enum:
                        - X
                        - ''
                P_CXET:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EVID:
                        type: integer
                        format: int64
                        description: Event identification (PAW)
                      PCLASS:
                        type: string
                        maxLength: 10
                        description: Physical info object class in Knowledge Warehouse
                      PGUID:
                        type: string
                        maxLength: 32
                        description: PHIO unique info object key in Knowledge Warehouse
                      PATYP:
                        type: string
                        maxLength: 2
                        description: Participant type (PAW)
                      PARID:
                        type: string
                        maxLength: 45
                        description: Participant ID
                      PARSH:
                        type: string
                        maxLength: 12
                        description: Participant name abbreviation (PAW)
                      PARTX:
                        type: string
                        maxLength: 40
                        description: Participant name
                      CPERSON:
                        type: string
                        maxLength: 1
                        description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                      LENGHT:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CTEXT:
                        type: string
                        maxLength: 4096
                        description: PAW - Long character
                      NO_TEM:
                        type: string
                        maxLength: 1
                        description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                        enum:
                        - X
                        - ''
              required:
              - P_EVID
              - P_NO_TEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    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
                  P_CEVENT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EVID:
                          type: integer
                          format: int64
                          description: Event identification (PAW)
                        PATYP:
                          type: string
                          maxLength: 2
                          description: Participant type (PAW)
                        PARID:
                          type: string
                          maxLength: 45
                          description: Participant ID
                        PARSH:
                          type: string
                          maxLength: 12
                          description: Participant name abbreviation (PAW)
                        PARTX:
                          type: string
                          maxLength: 40
                          description: Participant name
                        CPERSON:
                          type: string
                          maxLength: 1
                          description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                          enum:
                          - '1'
                          - '2'
                          - '0'
                        LENGHT:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CTEXT:
                          type: string
                          maxLength: 4096
                          description: PAW - Long character
                        NO_TEM:
                          type: string
                          maxLength: 1
                          description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                          enum:
                          - X
                          - ''
                  P_CPET:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EVID:
                          type: integer
                          format: int64
                          description: Event identification (PAW)
                        PCLASS:
                          type: string
                          maxLength: 10
                          description: Physical info object class in Knowledge Warehouse
                        PGUID:
                          type: string
                          maxLength: 32
                          description: PHIO unique info object key in Knowledge Warehouse
                        PPATYP:
                          type: string
                          maxLength: 2
                          description: Participant type (PAW)
                        PPARID:
                          type: string
                          maxLength: 45
                          description: Participant ID
                        PATYP:
                          type: string
                          maxLength: 2
                          description: Participant type (PAW)
                        PARID:
                          type: string
                          maxLength: 45
                          description: Participant ID
                        PARSH:
                          type: string
                          maxLength: 12
                          description: Participant name abbreviation (PAW)
                        PARTX:
                          type: string
                          maxLength: 40
                          description: Participant name
                        CPERSON:
                          type: string
                          maxLength: 1
                          description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                          enum:
                          - '1'
                          - '2'
                          - '0'
                        LENGHT:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CTEXT:
                          type: string
                          maxLength: 4096
                          description: PAW - Long character
                        NO_TEM:
                          type: string
                          maxLength: 1
                          description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                          enum:
                          - X
                          - ''
                  P_CRITEM:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EVID:
                          type: integer
                          format: int64
                          description: Event identification (PAW)
                        PCLASS:
                          type: string
                          maxLength: 10
                          description: Physical info object class in Knowledge Warehouse
                        PGUID:
                          type: string
                          maxLength: 32
                          description: PHIO unique info object key in Knowledge Warehouse
                        PPATYP:
                          type: string
                          maxLength: 2
                          description: Participant type (PAW)
                        PPARID:
                          type: string
                          maxLength: 45
                          description: Participant ID
                        IPCLASS:
                          type: string
                          maxLength: 10
                          description: Physical info object class in Knowledge Warehouse
                        IPGUID:
                          type: string
                          maxLength: 32
                          description: PHIO unique info object key in Knowledge Warehouse
                        PATYP:
                          type: string
                          maxLength: 2
                          description: Participant type (PAW)
                        PARID:
                          type: string
                          maxLength: 45
                          description: Participant ID
                        PARSH:
                          type: string
                          maxLength: 12
                          description: Participant name abbreviation (PAW)
                        PARTX:
                          type: string
                          maxLength: 40
                          description: Participant name
                        CPERSON:
                          type: string
                          maxLength: 1
                          description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                          enum:
                          - '1'
                          - '2'
                          - '0'
                        LENGHT:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CTEXT:
                          type: string
                          maxLength: 4096
                          description: PAW - Long character
                        NO_TEM:
                          type: string
                          maxLength: 1
                          description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                          enum:
                          - X
                          - ''
                  P_CXET:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EVID:
                          type: integer
                          format: int64
                          description: Event identification (PAW)
                        PCLASS:
                          type: string
                          maxLength: 10
                          description: Physical info object class in Knowledge Warehouse
                        PGUID:
                          type: string
                          maxLength: 32
                          description: PHIO unique info object key in Knowledge Warehouse
                        PATYP:
                          type: string
                          maxLength: 2
                          description: Participant type (PAW)
                        PARID:
                          type: string
                          maxLength: 45
                          description: Participant ID
                        PARSH:
                          type: string
                          maxLength: 12
                          description: Participant name abbreviation (PAW)
                        PARTX:
                          type: string
                          maxLength: 40
                          description: Participant name
                        CPERSON:
                          type: string
                          maxLength: 1
                          description: 'PAW - Comment person  enumValues: 1=Proctor,2=Participant,0=None'
                          enum:
                          - '1'
                          - '2'
                          - '0'
                        LENGHT:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CTEXT:
                          type: string
                          maxLength: 4096
                          description: PAW - Long character
                        NO_TEM:
                          type: string
                          maxLength: 1
                          description: 'PAW - Event  either from TEM or not  enumValues: X=Yes (Event does not exist in TEM),""=No (Event exist in TEM)'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
