openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_PHIO_CONTENT_URL_GET:
    post:
      tags:
      - SKWF_CONTENT
      operationId: /rfc/SKWF_PHIO_CONTENT_URL_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PHIO:
                  type: object
                  properties:
                    OBJTYPE:
                      type: string
                      maxLength: 1
                      description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                      enum:
                      - R
                      - L
                      - P
                      - ''
                      - F
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                URL_LIFETIME:
                  type: string
                  maxLength: 1
                URL_USED_AT:
                  type: string
                  maxLength: 1
                  description: 'Usage of URL: At Frontend or Backend'
                X_DATA_PROVIDER_URL_ONLY:
                  type: string
                  maxLength: 1
                  description: Screens, display user entry
                X_NO_CACHE:
                  type: string
                  maxLength: 1
                  description: Screens, display user entry
                X_STANDARD_URL_ONLY:
                  type: string
                  maxLength: 1
                  description: Screens, display user entry
                X_URL_FOR_GET:
                  type: string
                  maxLength: 1
                X_WEB_APPLIC_SERVER_URL_ONLY:
                  type: string
                  maxLength: 1
                REQUESTED_COMPONENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                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'
              required:
              - PHIO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCUMENT_URL:
                    type: string
                    maxLength: 4096
                    description: 'SAP ArchiveLink: Data Element for Absolute URI'
                  ERROR:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  REQUESTED_COMPONENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                  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.
