openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_BOOK_BOOKING_LIST:
    post:
      tags:
      - SLS2
      summary: Read bookings of participants
      operationId: /rfc/SLS_BOOK_BOOKING_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGIN_DATE:
                  type: string
                  format: date
                  description: Begin date
                EGRID:
                  type: integer
                  format: int64
                  description: Event group id
                END_DATE:
                  type: string
                  format: date
                  description: End date
                LOCID:
                  type: integer
                  format: int64
                  description: Location id
                P_PARTIC:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EGRID:
                        type: integer
                        format: int64
                        description: Object ID
                      ETYID:
                        type: integer
                        format: int64
                        description: Object ID
                      ETYSHT:
                        type: string
                        maxLength: 12
                        description: Event type name (PAW)
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      TTYSHT:
                        type: string
                        maxLength: 12
                        description: PAW test type abbreviation
                      EVEID:
                        type: integer
                        format: int64
                        description: Object ID
                      EVSHT:
                        type: string
                        maxLength: 12
                        description: Event name (PAW)
                      EVBEG:
                        type: string
                        format: date
                        description: Start Date
                      EVEND:
                        type: string
                        format: date
                        description: End Date
                      LOCID:
                        type: integer
                        format: int64
                        description: Location identification from HR (PAW)
                      EVLOC:
                        type: string
                        maxLength: 12
                        description: PAW - Location short description
                      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
                      ORGTY:
                        type: string
                        maxLength: 2
                        description: PAW - Object type of organizational assignment
                      ORGID:
                        type: string
                        maxLength: 45
                        description: PAW - Organizational assignment number
                      ORGSH:
                        type: string
                        maxLength: 12
                        description: PAW - Organizational assignment
                      ORGTX:
                        type: string
                        maxLength: 40
                        description: PAW - Organizational assignment
                      KOSTX:
                        type: string
                        maxLength: 40
                        description: Cost center description (PAW)
                      KOSHT:
                        type: string
                        maxLength: 20
                        description: Cost center name (PAW)
                      IOTYP:
                        type: string
                        maxLength: 24
                        description: PAW - Lookup values
                      IOURL:
                        type: string
                        maxLength: 4096
                        description: 'PAW - SAP ArchiveLink: Data element for absolute URI'
                      BOOKOK:
                        type: string
                        maxLength: 3
                        description: 'PAW - Boolean yes/no  enumValues: NO=0,YES=1'
                        enum:
                        - 'NO'
                        - 'YES'
                      CLASS:
                        type: string
                        maxLength: 32
                        description: LOIO unique info object key in Knowledge Warehouse
                      GUID:
                        type: string
                        maxLength: 32
                        description: LOIO unique info object key in Knowledge Warehouse
                      VAR4:
                        type: string
                        maxLength: 1
                        description: 'Info object context variant 4: language'
                      VAR1:
                        type: string
                        maxLength: 10
                        description: 'Info object context variant 1: enhancement'
                      VAR2:
                        type: string
                        maxLength: 12
                        description: 'Info object context variant 2: release'
                      VAR3:
                        type: string
                        maxLength: 3
                        description: 'Info object context variant 3: country'
                      DATUM:
                        type: string
                        format: date
                        description: Start Date
                      FIRSTNAME:
                        type: string
                        maxLength: 40
                        description: PAW - Participant firstname
                      LASTNAME:
                        type: string
                        maxLength: 40
                        description: PAW - Participant lastname
                P_PARTIC_NO:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      EGRID:
                        type: integer
                        format: int64
                        description: Object ID
                      ETYID:
                        type: integer
                        format: int64
                        description: Object ID
                      ETYSHT:
                        type: string
                        maxLength: 12
                        description: Event type name (PAW)
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      TTYSHT:
                        type: string
                        maxLength: 12
                        description: PAW test type abbreviation
                      EVEID:
                        type: integer
                        format: int64
                        description: Object ID
                      EVSHT:
                        type: string
                        maxLength: 12
                        description: Event name (PAW)
                      EVBEG:
                        type: string
                        format: date
                        description: Start Date
                      EVEND:
                        type: string
                        format: date
                        description: End Date
                      LOCID:
                        type: integer
                        format: int64
                        description: Location identification from HR (PAW)
                      EVLOC:
                        type: string
                        maxLength: 12
                        description: PAW - Location short description
                      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
                      ORGTY:
                        type: string
                        maxLength: 2
                        description: PAW - Object type of organizational assignment
                      ORGID:
                        type: string
                        maxLength: 45
                        description: PAW - Organizational assignment number
                      ORGSH:
                        type: string
                        maxLength: 12
                        description: PAW - Organizational assignment
                      ORGTX:
                        type: string
                        maxLength: 40
                        description: PAW - Organizational assignment
                      KOSTX:
                        type: string
                        maxLength: 40
                        description: Cost center description (PAW)
                      KOSHT:
                        type: string
                        maxLength: 20
                        description: Cost center name (PAW)
                      IOTYP:
                        type: string
                        maxLength: 24
                        description: PAW - Lookup values
                      IOURL:
                        type: string
                        maxLength: 4096
                        description: 'PAW - SAP ArchiveLink: Data element for absolute URI'
                      BOOKOK:
                        type: string
                        maxLength: 3
                        description: 'PAW - Boolean yes/no  enumValues: NO=0,YES=1'
                        enum:
                        - 'NO'
                        - 'YES'
                      CLASS:
                        type: string
                        maxLength: 32
                        description: LOIO unique info object key in Knowledge Warehouse
                      GUID:
                        type: string
                        maxLength: 32
                        description: LOIO unique info object key in Knowledge Warehouse
                      VAR4:
                        type: string
                        maxLength: 1
                        description: 'Info object context variant 4: language'
                      VAR1:
                        type: string
                        maxLength: 10
                        description: 'Info object context variant 1: enhancement'
                      VAR2:
                        type: string
                        maxLength: 12
                        description: 'Info object context variant 2: release'
                      VAR3:
                        type: string
                        maxLength: 3
                        description: 'Info object context variant 3: country'
                      DATUM:
                        type: string
                        format: date
                        description: Start Date
                      FIRSTNAME:
                        type: string
                        maxLength: 40
                        description: PAW - Participant firstname
                      LASTNAME:
                        type: string
                        maxLength: 40
                        description: PAW - Participant lastname
              required:
              - LOCID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_PARTIC:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EGRID:
                          type: integer
                          format: int64
                          description: Object ID
                        ETYID:
                          type: integer
                          format: int64
                          description: Object ID
                        ETYSHT:
                          type: string
                          maxLength: 12
                          description: Event type name (PAW)
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        TTYSHT:
                          type: string
                          maxLength: 12
                          description: PAW test type abbreviation
                        EVEID:
                          type: integer
                          format: int64
                          description: Object ID
                        EVSHT:
                          type: string
                          maxLength: 12
                          description: Event name (PAW)
                        EVBEG:
                          type: string
                          format: date
                          description: Start Date
                        EVEND:
                          type: string
                          format: date
                          description: End Date
                        LOCID:
                          type: integer
                          format: int64
                          description: Location identification from HR (PAW)
                        EVLOC:
                          type: string
                          maxLength: 12
                          description: PAW - Location short description
                        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
                        ORGTY:
                          type: string
                          maxLength: 2
                          description: PAW - Object type of organizational assignment
                        ORGID:
                          type: string
                          maxLength: 45
                          description: PAW - Organizational assignment number
                        ORGSH:
                          type: string
                          maxLength: 12
                          description: PAW - Organizational assignment
                        ORGTX:
                          type: string
                          maxLength: 40
                          description: PAW - Organizational assignment
                        KOSTX:
                          type: string
                          maxLength: 40
                          description: Cost center description (PAW)
                        KOSHT:
                          type: string
                          maxLength: 20
                          description: Cost center name (PAW)
                        IOTYP:
                          type: string
                          maxLength: 24
                          description: PAW - Lookup values
                        IOURL:
                          type: string
                          maxLength: 4096
                          description: 'PAW - SAP ArchiveLink: Data element for absolute URI'
                        BOOKOK:
                          type: string
                          maxLength: 3
                          description: 'PAW - Boolean yes/no  enumValues: NO=0,YES=1'
                          enum:
                          - 'NO'
                          - 'YES'
                        CLASS:
                          type: string
                          maxLength: 32
                          description: LOIO unique info object key in Knowledge Warehouse
                        GUID:
                          type: string
                          maxLength: 32
                          description: LOIO unique info object key in Knowledge Warehouse
                        VAR4:
                          type: string
                          maxLength: 1
                          description: 'Info object context variant 4: language'
                        VAR1:
                          type: string
                          maxLength: 10
                          description: 'Info object context variant 1: enhancement'
                        VAR2:
                          type: string
                          maxLength: 12
                          description: 'Info object context variant 2: release'
                        VAR3:
                          type: string
                          maxLength: 3
                          description: 'Info object context variant 3: country'
                        DATUM:
                          type: string
                          format: date
                          description: Start Date
                        FIRSTNAME:
                          type: string
                          maxLength: 40
                          description: PAW - Participant firstname
                        LASTNAME:
                          type: string
                          maxLength: 40
                          description: PAW - Participant lastname
                  P_PARTIC_NO:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        EGRID:
                          type: integer
                          format: int64
                          description: Object ID
                        ETYID:
                          type: integer
                          format: int64
                          description: Object ID
                        ETYSHT:
                          type: string
                          maxLength: 12
                          description: Event type name (PAW)
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        TTYSHT:
                          type: string
                          maxLength: 12
                          description: PAW test type abbreviation
                        EVEID:
                          type: integer
                          format: int64
                          description: Object ID
                        EVSHT:
                          type: string
                          maxLength: 12
                          description: Event name (PAW)
                        EVBEG:
                          type: string
                          format: date
                          description: Start Date
                        EVEND:
                          type: string
                          format: date
                          description: End Date
                        LOCID:
                          type: integer
                          format: int64
                          description: Location identification from HR (PAW)
                        EVLOC:
                          type: string
                          maxLength: 12
                          description: PAW - Location short description
                        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
                        ORGTY:
                          type: string
                          maxLength: 2
                          description: PAW - Object type of organizational assignment
                        ORGID:
                          type: string
                          maxLength: 45
                          description: PAW - Organizational assignment number
                        ORGSH:
                          type: string
                          maxLength: 12
                          description: PAW - Organizational assignment
                        ORGTX:
                          type: string
                          maxLength: 40
                          description: PAW - Organizational assignment
                        KOSTX:
                          type: string
                          maxLength: 40
                          description: Cost center description (PAW)
                        KOSHT:
                          type: string
                          maxLength: 20
                          description: Cost center name (PAW)
                        IOTYP:
                          type: string
                          maxLength: 24
                          description: PAW - Lookup values
                        IOURL:
                          type: string
                          maxLength: 4096
                          description: 'PAW - SAP ArchiveLink: Data element for absolute URI'
                        BOOKOK:
                          type: string
                          maxLength: 3
                          description: 'PAW - Boolean yes/no  enumValues: NO=0,YES=1'
                          enum:
                          - 'NO'
                          - 'YES'
                        CLASS:
                          type: string
                          maxLength: 32
                          description: LOIO unique info object key in Knowledge Warehouse
                        GUID:
                          type: string
                          maxLength: 32
                          description: LOIO unique info object key in Knowledge Warehouse
                        VAR4:
                          type: string
                          maxLength: 1
                          description: 'Info object context variant 4: language'
                        VAR1:
                          type: string
                          maxLength: 10
                          description: 'Info object context variant 1: enhancement'
                        VAR2:
                          type: string
                          maxLength: 12
                          description: 'Info object context variant 2: release'
                        VAR3:
                          type: string
                          maxLength: 3
                          description: 'Info object context variant 3: country'
                        DATUM:
                          type: string
                          format: date
                          description: Start Date
                        FIRSTNAME:
                          type: string
                          maxLength: 40
                          description: PAW - Participant firstname
                        LASTNAME:
                          type: string
                          maxLength: 40
                          description: PAW - Participant lastname
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
