openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TPMO_GET_RECORDS:
    post:
      tags:
      - LXE_TPMO_INTERFACE
      summary: Read TPMO statistics (RFC)
      operationId: /rfc/TPMO_GET_RECORDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_FROMDATE:
                  type: string
                  format: date
                  description: Date of Beginning of Interval
                I_LAST_VERSION:
                  type: integer
                  format: int64
                  description: Translation performance monitor dataset
                I_TARGETLANG:
                  type: string
                  maxLength: 4
                  description: ISO Target Language
                I_TODATE:
                  type: string
                  format: date
                  description: Date created
                ET_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      VERSION:
                        type: integer
                        format: int64
                        description: Translation performance monitor dataset
                      TARGETLANG:
                        type: string
                        maxLength: 4
                        description: ISO Target Language
                      TRANSLATOR:
                        type: string
                        maxLength: 12
                        description: Translation Performance Monitor Translator
                      COLLNAME:
                        type: string
                        maxLength: 32
                        description: Collection Name
                      COLLTYPE:
                        type: string
                        maxLength: 1
                        description: 'Collection Type  enumValues: X=External,R=Package (Local System)'
                        enum:
                        - X
                        - R
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: Type of Translation Object
                      SOURCELANG:
                        type: string
                        maxLength: 4
                        description: ISO Source Language
                      OBJCOUNTER:
                        type: integer
                        format: int64
                        description: Object Counter
                      WORKLIST:
                        type: string
                        maxLength: 4
                        description: Worklist ID
                      DOMAINNAME:
                        type: string
                        maxLength: 2
                        description: Domain Name
                      DOMAINTYPE:
                        type: string
                        maxLength: 1
                        description: 'Domain Type  enumValues: R=Application Area (Local System),X=External'
                        enum:
                        - R
                        - X
                      CUSTOMERNR:
                        type: string
                        maxLength: 6
                        description: Translation Area
                      LOWDATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      L01:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C01
                      L02:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C02
                      L03:
                        type: integer
                        format: int32
                        description: Translation Performance Counter C03
                      L04:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C04
                      L05:
                        type: integer
                        format: int32
                        description: Translation Performace Monitor Counter C05
                      L06:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C06
                      L07:
                        type: integer
                        format: int32
                        description: Translation Performance Counter C07
                      L08:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C08
                      L09:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C09
                      L10:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C10
                      LX01:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter X01
                      LX02:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter X02
                      LX03:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter X03
                      W01:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C01
                      W02:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C02
                      W03:
                        type: integer
                        format: int32
                        description: Translation Performance Counter C03
                      W04:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C04
                      W05:
                        type: integer
                        format: int32
                        description: Translation Performace Monitor Counter C05
                      W06:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C06
                      W07:
                        type: integer
                        format: int32
                        description: Translation Performance Counter C07
                      W08:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C08
                      W09:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C09
                      W10:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter C10
                      WX01:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter X01
                      WX02:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter X02
                      WX03:
                        type: integer
                        format: int32
                        description: Translation Performance Monitor Counter X03
                      BEGDA:
                        type: string
                        format: date
                        description: 'TPMO : Begin date of version'
                      ENDDA:
                        type: string
                        format: date
                        description: 'TPMO: End date of version'
                      TGROUP:
                        type: string
                        maxLength: 2
                        description: 'TPMO: Translator Group'
                      BUILD1:
                        type: integer
                        format: int32
                        description: 'TPMO: Copy best Proposal (Billing Category 1)'
                      BUILD2:
                        type: integer
                        format: int32
                        description: 'TPMO: Create best proposal  (Billing Category 2)'
                      BUILD3:
                        type: integer
                        format: int32
                        description: 'TPMO: Change best proposal (Billing Category 3)'
                      BUILD4:
                        type: integer
                        format: int32
                        description: 'TPMO: Other proposals (Billing Category 4)'
                      BUILD5:
                        type: integer
                        format: int32
                        description: 'TPMO: Correct translation (Billing Category 5)'
                      BUILD6:
                        type: integer
                        format: int32
                        description: 'TPMO: Negative lines (Billing Category 6)'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        VERSION:
                          type: integer
                          format: int64
                          description: Translation performance monitor dataset
                        TARGETLANG:
                          type: string
                          maxLength: 4
                          description: ISO Target Language
                        TRANSLATOR:
                          type: string
                          maxLength: 12
                          description: Translation Performance Monitor Translator
                        COLLNAME:
                          type: string
                          maxLength: 32
                          description: Collection Name
                        COLLTYPE:
                          type: string
                          maxLength: 1
                          description: 'Collection Type  enumValues: X=External,R=Package (Local System)'
                          enum:
                          - X
                          - R
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: Type of Translation Object
                        SOURCELANG:
                          type: string
                          maxLength: 4
                          description: ISO Source Language
                        OBJCOUNTER:
                          type: integer
                          format: int64
                          description: Object Counter
                        WORKLIST:
                          type: string
                          maxLength: 4
                          description: Worklist ID
                        DOMAINNAME:
                          type: string
                          maxLength: 2
                          description: Domain Name
                        DOMAINTYPE:
                          type: string
                          maxLength: 1
                          description: 'Domain Type  enumValues: R=Application Area (Local System),X=External'
                          enum:
                          - R
                          - X
                        CUSTOMERNR:
                          type: string
                          maxLength: 6
                          description: Translation Area
                        LOWDATE:
                          type: string
                          format: date
                          description: Date of Last Change
                        L01:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C01
                        L02:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C02
                        L03:
                          type: integer
                          format: int32
                          description: Translation Performance Counter C03
                        L04:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C04
                        L05:
                          type: integer
                          format: int32
                          description: Translation Performace Monitor Counter C05
                        L06:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C06
                        L07:
                          type: integer
                          format: int32
                          description: Translation Performance Counter C07
                        L08:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C08
                        L09:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C09
                        L10:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C10
                        LX01:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter X01
                        LX02:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter X02
                        LX03:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter X03
                        W01:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C01
                        W02:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C02
                        W03:
                          type: integer
                          format: int32
                          description: Translation Performance Counter C03
                        W04:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C04
                        W05:
                          type: integer
                          format: int32
                          description: Translation Performace Monitor Counter C05
                        W06:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C06
                        W07:
                          type: integer
                          format: int32
                          description: Translation Performance Counter C07
                        W08:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C08
                        W09:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C09
                        W10:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter C10
                        WX01:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter X01
                        WX02:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter X02
                        WX03:
                          type: integer
                          format: int32
                          description: Translation Performance Monitor Counter X03
                        BEGDA:
                          type: string
                          format: date
                          description: 'TPMO : Begin date of version'
                        ENDDA:
                          type: string
                          format: date
                          description: 'TPMO: End date of version'
                        TGROUP:
                          type: string
                          maxLength: 2
                          description: 'TPMO: Translator Group'
                        BUILD1:
                          type: integer
                          format: int32
                          description: 'TPMO: Copy best Proposal (Billing Category 1)'
                        BUILD2:
                          type: integer
                          format: int32
                          description: 'TPMO: Create best proposal  (Billing Category 2)'
                        BUILD3:
                          type: integer
                          format: int32
                          description: 'TPMO: Change best proposal (Billing Category 3)'
                        BUILD4:
                          type: integer
                          format: int32
                          description: 'TPMO: Other proposals (Billing Category 4)'
                        BUILD5:
                          type: integer
                          format: int32
                          description: 'TPMO: Correct translation (Billing Category 5)'
                        BUILD6:
                          type: integer
                          format: int32
                          description: 'TPMO: Negative lines (Billing Category 6)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
