openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_GET_TESTTYPE_LIST:
    post:
      tags:
      - SLS3
      summary: Read of Test types
      operationId: /rfc/SLS_GET_TESTTYPE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_ALLFLAG:
                  type: string
                  default: '0'
                  maxLength: 1
                  description: Location id
                P_LOCID:
                  type: integer
                  format: int64
                  description: Location id
                P_TTYPE:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      TTYID:
                        type: integer
                        format: int64
                        description: PAW test type ID
                      TTYSH:
                        type: string
                        maxLength: 12
                        description: PAW test type abbreviation
                      TTYTX:
                        type: string
                        maxLength: 40
                        description: Test type description
                      TSCENARIO:
                        type: string
                        maxLength: 1
                        description: 'PAW test scenario  enumValues: 3=Self-test,1=Certification'
                        enum:
                        - '3'
                        - '1'
                      BOOKING:
                        type: integer
                        format: int64
                        description: 'Boolean method (PAW)  enumValues: 0=No,1=Yes'
                        enum:
                        - '0'
                        - '1'
                      REPALLOWED:
                        type: integer
                        format: int64
                        description: 'Boolean method (PAW)  enumValues: 0=No,1=Yes'
                        enum:
                        - '0'
                        - '1'
                      REPNO:
                        type: integer
                        format: int64
                        description: Two digit number
                      THHIGH:
                        type: integer
                        format: int64
                        description: Percentage
                      THLOW:
                        type: integer
                        format: int64
                        description: Percentage
                      STAVER:
                        type: integer
                        format: int64
                        description: Percentage
                      THMAX:
                        type: integer
                        format: int64
                        description: Percentage
                      VRED:
                        type: string
                        maxLength: 1
                        description: 'PAW -''Results Viewing Allowed''  Flag - as checkbox (''X'' = ye  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      VYELLOW:
                        type: string
                        maxLength: 1
                        description: 'PAW -''Results Viewing Allowed''  Flag - as checkbox (''X'' = ye  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      VGREEN:
                        type: string
                        maxLength: 1
                        description: 'PAW -''Results Viewing Allowed''  Flag - as checkbox (''X'' = ye  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      TRED:
                        type: string
                        maxLength: 1
                        description: 'PAW -''Results Transfer Allowed''  Flag - as checkbox (''X'' = y  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      TYELLOW:
                        type: string
                        maxLength: 1
                        description: 'PAW -''Results Transfer Allowed''  Flag - as checkbox (''X'' = y  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      TGREEN:
                        type: string
                        maxLength: 1
                        description: 'PAW -''Results Transfer Allowed''  Flag - as checkbox (''X'' = y  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      CRED:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Print Results Certificate''  Flag - as checkbox (''X'' =  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      CYELLOW:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Print Results Certificate''  Flag - as checkbox (''X'' =  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      CGREEN:
                        type: string
                        maxLength: 1
                        description: 'PAW - ''Print Results Certificate''  Flag - as checkbox (''X'' =  enumValues: ""=no,X=yes'
                        enum:
                        - ''
                        - X
                      MARK:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      CERTTYPE:
                        type: string
                        maxLength: 50
                        description: PAW - Certificate Type
                      CERTNAME:
                        type: string
                        maxLength: 250
                        description: PAW - Certificate Name
              required:
              - P_LOCID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_TTYPE:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        TTYID:
                          type: integer
                          format: int64
                          description: PAW test type ID
                        TTYSH:
                          type: string
                          maxLength: 12
                          description: PAW test type abbreviation
                        TTYTX:
                          type: string
                          maxLength: 40
                          description: Test type description
                        TSCENARIO:
                          type: string
                          maxLength: 1
                          description: 'PAW test scenario  enumValues: 3=Self-test,1=Certification'
                          enum:
                          - '3'
                          - '1'
                        BOOKING:
                          type: integer
                          format: int64
                          description: 'Boolean method (PAW)  enumValues: 0=No,1=Yes'
                          enum:
                          - '0'
                          - '1'
                        REPALLOWED:
                          type: integer
                          format: int64
                          description: 'Boolean method (PAW)  enumValues: 0=No,1=Yes'
                          enum:
                          - '0'
                          - '1'
                        REPNO:
                          type: integer
                          format: int64
                          description: Two digit number
                        THHIGH:
                          type: integer
                          format: int64
                          description: Percentage
                        THLOW:
                          type: integer
                          format: int64
                          description: Percentage
                        STAVER:
                          type: integer
                          format: int64
                          description: Percentage
                        THMAX:
                          type: integer
                          format: int64
                          description: Percentage
                        VRED:
                          type: string
                          maxLength: 1
                          description: 'PAW -''Results Viewing Allowed''  Flag - as checkbox (''X'' = ye  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        VYELLOW:
                          type: string
                          maxLength: 1
                          description: 'PAW -''Results Viewing Allowed''  Flag - as checkbox (''X'' = ye  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        VGREEN:
                          type: string
                          maxLength: 1
                          description: 'PAW -''Results Viewing Allowed''  Flag - as checkbox (''X'' = ye  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        TRED:
                          type: string
                          maxLength: 1
                          description: 'PAW -''Results Transfer Allowed''  Flag - as checkbox (''X'' = y  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        TYELLOW:
                          type: string
                          maxLength: 1
                          description: 'PAW -''Results Transfer Allowed''  Flag - as checkbox (''X'' = y  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        TGREEN:
                          type: string
                          maxLength: 1
                          description: 'PAW -''Results Transfer Allowed''  Flag - as checkbox (''X'' = y  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        CRED:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Print Results Certificate''  Flag - as checkbox (''X'' =  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        CYELLOW:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Print Results Certificate''  Flag - as checkbox (''X'' =  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        CGREEN:
                          type: string
                          maxLength: 1
                          description: 'PAW - ''Print Results Certificate''  Flag - as checkbox (''X'' =  enumValues: ""=no,X=yes'
                          enum:
                          - ''
                          - X
                        MARK:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        CERTTYPE:
                          type: string
                          maxLength: 50
                          description: PAW - Certificate Type
                        CERTNAME:
                          type: string
                          maxLength: 250
                          description: PAW - Certificate Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
