openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SA_KW_RFC_PHIO_GET_URL_FOR_GET:
    post:
      tags:
      - SA_KW_RFC
      operationId: /rfc/SA_KW_RFC_PHIO_GET_URL_FOR_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  default: IWBSOLAR
                  maxLength: 10
                  description: Area
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: Client
                DATA_PROVIDER_URL_ONLY:
                  type: string
                  maxLength: 1
                NO_CACHE:
                  type: string
                  maxLength: 1
                OBJECT_ID:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                REQUESTED_COMPONENTS:
                  type: array
                  items:
                    type: string
                    maxLength: 255
                    description: Relative storage location of physical document
                STANDARD_URL_ONLY:
                  type: string
                  maxLength: 1
                URL_LIFETIME:
                  type: string
                  maxLength: 1
                URL_USED_AT:
                  type: string
                  maxLength: 1
                  description: 'Usage of URL: At Frontend or Backend'
                WEB_APPLIC_SERVER_URL_ONLY:
                  type: string
                  maxLength: 1
              required:
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCUMENT_URL:
                    type: string
                    maxLength: 4096
                  URLS:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        URL:
                          type: string
                          maxLength: 4096
                          description: 'SAP ArchiveLink: Data Element for Absolute URI'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
