openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWG_SBSCR_URL_GENERATE:
    post:
      tags:
      - SKWG_SUBSCRIPTION
      operationId: /rfc/SKWG_SBSCR_URL_GENERATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT:
                  type: object
                  properties:
                    INSTID:
                      type: string
                      maxLength: 70
                      description: Instance Ident. in BOR Compat. Persistent Object References
                    TYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    CATID:
                      type: string
                      maxLength: 2
                      description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                      enum:
                      - NN
                      - BC
                      - BO
                      - CL
                SUBSCRIPTION_ID:
                  type: object
                  properties:
                    SBSCR_ID:
                      type: string
                      maxLength: 32
                      description: GUID in 'CHAR' Format in Uppercase
              required:
              - OBJECT
              - SUBSCRIPTION_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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
                  LINK_OBJECTSHOW:
                    type: string
                    maxLength: 4096
                    description: 'KW Framework: URL or Part URL'
                  LINK_SUBSCRIPTIONCHANGE:
                    type: string
                    maxLength: 4096
                    description: 'KW Framework: URL or Part URL'
                  LINK_SUBSCRIPTIONDELETE:
                    type: string
                    maxLength: 4096
                    description: 'KW Framework: URL or Part URL'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
