openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SCRIPTING_LIST_OBJECTS:
    post:
      tags:
      - CRM_IC_SCRIPTING_PERSIST
      summary: Get list of XML documents.
      operationId: /rfc/CRM_IC_SCRIPTING_LIST_OBJECTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  maxLength: 1
                  description: Language Key
                OBJECTTYPE:
                  type: string
                  maxLength: 2
                  description: IS=Regular OS=Objection SU=Survey
                OBJECTSTABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      XMLNAME:
                        type: string
                        maxLength: 32
                        description: XML Document Name
                      BEGINDATE:
                        type: string
                        format: date
                        description: Date
                      ENDDATE:
                        type: string
                        format: date
                        description: Date
                      UNAME:
                        type: string
                        maxLength: 12
                        description: Last Changed By
                      PNAME:
                        type: string
                        maxLength: 40
                        description: Program Name
                      DATEM:
                        type: string
                        format: date
                        description: Date
                      TIMEM:
                        type: string
                        maxLength: 6
                        description: Time
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Interactive Scripting Object Description
                      CATEGORYID:
                        type: string
                        maxLength: 32
                        description: Category ID (Interactive Script Editor Repository)
                      CATDESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Category Description (Interactive Scripting)
              required:
              - LANGUAGE
              - OBJECTTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECTSTABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        XMLNAME:
                          type: string
                          maxLength: 32
                          description: XML Document Name
                        BEGINDATE:
                          type: string
                          format: date
                          description: Date
                        ENDDATE:
                          type: string
                          format: date
                          description: Date
                        UNAME:
                          type: string
                          maxLength: 12
                          description: Last Changed By
                        PNAME:
                          type: string
                          maxLength: 40
                          description: Program Name
                        DATEM:
                          type: string
                          format: date
                          description: Date
                        TIMEM:
                          type: string
                          maxLength: 6
                          description: Time
                        LANGUAGE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Interactive Scripting Object Description
                        CATEGORYID:
                          type: string
                          maxLength: 32
                          description: Category ID (Interactive Script Editor Repository)
                        CATDESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Category Description (Interactive Scripting)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
