openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_BUILD_URL_COMPONENTS:
    post:
      tags:
      - SDCI
      operationId: /rfc/SDOK_BUILD_URL_COMPONENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_ID:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
              required:
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  URL_PARAMS:
                    type: string
                    maxLength: 4096
                  URL_PATH:
                    type: string
                    maxLength: 4096
                  URL_SECURE_SERVER:
                    type: string
                    maxLength: 4096
                  URL_SERVER:
                    type: string
                    maxLength: 4096
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
