openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_URL_INFOS:
    post:
      tags:
      - TREX_RFC_CRUISER
      summary: get url infos
      operationId: /rfc/TREX_RFC_GET_URL_INFOS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CRUISE_NAME:
                  type: string
                  format: byte
                MAX_COUNT:
                  type: integer
                  format: int64
                RESULT_FROM:
                  type: integer
                  format: int64
                RESULT_TO:
                  type: integer
                  format: int64
                URL_TYPE:
                  type: integer
                  format: int64
                  description: 0=ToBeVisited (default), 1=AlreadyVisited, 2=All Error URLs
                RESULT_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_COUNTER:
                        type: integer
                        format: int64
                        description: ''
                      ATTR_COUNTER:
                        type: integer
                        format: int64
                        description: ''
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: ''
                      VALUE1:
                        type: string
                        format: byte
                        description: ''
                      ATTR_TYPE:
                        type: string
                        format: byte
                        description: ''
                URLS:
                  type: array
                  items:
                    type: object
                    properties:
                      URL:
                        type: string
                        format: byte
                        description: 'input/output: input specifies which urls should be returned'
                      ERROR_CODE:
                        type: integer
                        format: int64
                        description: output; no input
                      LAST_MODIFIED:
                        type: integer
                        format: int64
                        description: output; no input
                      DEPTH:
                        type: integer
                        format: int64
                        description: output; no input
                      COUNTER:
                        type: integer
                        format: int64
                        description: counter
                URL_INFOS:
                  type: array
                  items:
                    type: object
                    properties:
                      URL:
                        type: string
                        format: byte
                        description: 'input/output: input specifies which urls should be returned'
                      ERROR_CODE:
                        type: integer
                        format: int64
                        description: output; no input
                      LAST_MODIFIED:
                        type: integer
                        format: int64
                        description: output; no input
                      DEPTH:
                        type: integer
                        format: int64
                        description: output; no input
                      COUNTER:
                        type: integer
                        format: int64
                        description: counter
              required:
              - CRUISE_NAME
              - MAX_COUNT
              - RESULT_FROM
              - RESULT_TO
              - URL_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
                  RESULT_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_COUNTER:
                          type: integer
                          format: int64
                          description: ''
                        ATTR_COUNTER:
                          type: integer
                          format: int64
                          description: ''
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: ''
                        VALUE1:
                          type: string
                          format: byte
                          description: ''
                        ATTR_TYPE:
                          type: string
                          format: byte
                          description: ''
                  URLS:
                    type: array
                    items:
                      type: object
                      properties:
                        URL:
                          type: string
                          format: byte
                          description: 'input/output: input specifies which urls should be returned'
                        ERROR_CODE:
                          type: integer
                          format: int64
                          description: output; no input
                        LAST_MODIFIED:
                          type: integer
                          format: int64
                          description: output; no input
                        DEPTH:
                          type: integer
                          format: int64
                          description: output; no input
                        COUNTER:
                          type: integer
                          format: int64
                          description: counter
                  URL_INFOS:
                    type: array
                    items:
                      type: object
                      properties:
                        URL:
                          type: string
                          format: byte
                          description: 'input/output: input specifies which urls should be returned'
                        ERROR_CODE:
                          type: integer
                          format: int64
                          description: output; no input
                        LAST_MODIFIED:
                          type: integer
                          format: int64
                          description: output; no input
                        DEPTH:
                          type: integer
                          format: int64
                          description: output; no input
                        COUNTER:
                          type: integer
                          format: int64
                          description: counter
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
