openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SCRIPTING_GET_DEPOT:
    post:
      tags:
      - CRM_IC_SCRIPTING_PERSIST
      summary: Get Scripting Objects repository
      operationId: /rfc/CRM_IC_SCRIPTING_GET_DEPOT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  maxLength: 2
                  description: Language Key
                ALL_PROFILES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROFILE:
                        type: string
                        maxLength: 32
                        description: Script Profile Name
                      DESCRIPTION:
                        type: string
                        maxLength: 40
                        description: Script Profile Description
                AVAILABLE_GROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      SCR_GROUP:
                        type: string
                        maxLength: 1
                        description: Script Authorization Group ID
                CATEGORIES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTTYPE:
                        type: string
                        maxLength: 2
                        description: 'Component (Interactive Script Editor Repository)  enumValues: NB=Non-branching Action,ND=Node Description,CB=Check-box,ME=Memo Field,TF=Text field,NF=Error Condition Not Found,BA=Branching Action,LA=Label,QT=Question Text,RB=Radio button,SD=Script Description,ST=Template,OD=Objection Description,SU=Survey,CH=Script Chapter,IS=Interactive Script,LB=List Box,OS=Objection Script,MF=Favorites'
                        enum:
                        - NB
                        - ND
                        - CB
                        - ME
                        - TF
                        - NF
                        - BA
                        - LA
                        - QT
                        - RB
                        - SD
                        - ST
                        - OD
                        - SU
                        - CH
                        - IS
                        - LB
                        - OS
                        - MF
                      CATEGORY:
                        type: string
                        maxLength: 32
                        description: Category ID (Interactive Script Editor Repository)
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Category Description (Interactive Scripting)
                DELETE_GROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      SCR_GROUP:
                        type: string
                        maxLength: 1
                        description: Script Authorization Group ID
                EDIT_GROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      SCR_GROUP:
                        type: string
                        maxLength: 1
                        description: Script Authorization Group ID
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTTYPE:
                        type: string
                        maxLength: 2
                        description: 'Component (Interactive Script Editor Repository)  enumValues: NB=Non-branching Action,ND=Node Description,CB=Check-box,ME=Memo Field,TF=Text field,NF=Error Condition Not Found,BA=Branching Action,LA=Label,QT=Question Text,RB=Radio button,SD=Script Description,ST=Template,OD=Objection Description,SU=Survey,CH=Script Chapter,IS=Interactive Script,LB=List Box,OS=Objection Script,MF=Favorites'
                        enum:
                        - NB
                        - ND
                        - CB
                        - ME
                        - TF
                        - NF
                        - BA
                        - LA
                        - QT
                        - RB
                        - SD
                        - ST
                        - OD
                        - SU
                        - CH
                        - IS
                        - LB
                        - OS
                        - MF
                      OBJECTID:
                        type: string
                        maxLength: 32
                        description: XML Document Name
                      SUBOBJECTTYPE:
                        type: string
                        maxLength: 2
                        description: 'Component (Interactive Script Editor Repository)  enumValues: NB=Non-branching Action,ND=Node Description,CB=Check-box,ME=Memo Field,TF=Text field,NF=Error Condition Not Found,BA=Branching Action,LA=Label,QT=Question Text,RB=Radio button,SD=Script Description,ST=Template,OD=Objection Description,SU=Survey,CH=Script Chapter,IS=Interactive Script,LB=List Box,OS=Objection Script,MF=Favorites'
                        enum:
                        - NB
                        - ND
                        - CB
                        - ME
                        - TF
                        - NF
                        - BA
                        - LA
                        - QT
                        - RB
                        - SD
                        - ST
                        - OD
                        - SU
                        - CH
                        - IS
                        - LB
                        - OS
                        - MF
                      SUBOBJECTID:
                        type: string
                        maxLength: 32
                        description: XML Document Name
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Interactive Scripting Object Description
                      CATEGORY:
                        type: string
                        maxLength: 32
                        description: Category ID (Interactive Script Editor Repository)
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      AUTHGROUP:
                        type: string
                        maxLength: 1
                        description: Script Authorization Group ID
              required:
              - LANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALL_PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROFILE:
                          type: string
                          maxLength: 32
                          description: Script Profile Name
                        DESCRIPTION:
                          type: string
                          maxLength: 40
                          description: Script Profile Description
                  AVAILABLE_GROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        SCR_GROUP:
                          type: string
                          maxLength: 1
                          description: Script Authorization Group ID
                  CATEGORIES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTTYPE:
                          type: string
                          maxLength: 2
                          description: 'Component (Interactive Script Editor Repository)  enumValues: NB=Non-branching Action,ND=Node Description,CB=Check-box,ME=Memo Field,TF=Text field,NF=Error Condition Not Found,BA=Branching Action,LA=Label,QT=Question Text,RB=Radio button,SD=Script Description,ST=Template,OD=Objection Description,SU=Survey,CH=Script Chapter,IS=Interactive Script,LB=List Box,OS=Objection Script,MF=Favorites'
                          enum:
                          - NB
                          - ND
                          - CB
                          - ME
                          - TF
                          - NF
                          - BA
                          - LA
                          - QT
                          - RB
                          - SD
                          - ST
                          - OD
                          - SU
                          - CH
                          - IS
                          - LB
                          - OS
                          - MF
                        CATEGORY:
                          type: string
                          maxLength: 32
                          description: Category ID (Interactive Script Editor Repository)
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Category Description (Interactive Scripting)
                  DELETE_GROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        SCR_GROUP:
                          type: string
                          maxLength: 1
                          description: Script Authorization Group ID
                  EDIT_GROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        SCR_GROUP:
                          type: string
                          maxLength: 1
                          description: Script Authorization Group ID
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTTYPE:
                          type: string
                          maxLength: 2
                          description: 'Component (Interactive Script Editor Repository)  enumValues: NB=Non-branching Action,ND=Node Description,CB=Check-box,ME=Memo Field,TF=Text field,NF=Error Condition Not Found,BA=Branching Action,LA=Label,QT=Question Text,RB=Radio button,SD=Script Description,ST=Template,OD=Objection Description,SU=Survey,CH=Script Chapter,IS=Interactive Script,LB=List Box,OS=Objection Script,MF=Favorites'
                          enum:
                          - NB
                          - ND
                          - CB
                          - ME
                          - TF
                          - NF
                          - BA
                          - LA
                          - QT
                          - RB
                          - SD
                          - ST
                          - OD
                          - SU
                          - CH
                          - IS
                          - LB
                          - OS
                          - MF
                        OBJECTID:
                          type: string
                          maxLength: 32
                          description: XML Document Name
                        SUBOBJECTTYPE:
                          type: string
                          maxLength: 2
                          description: 'Component (Interactive Script Editor Repository)  enumValues: NB=Non-branching Action,ND=Node Description,CB=Check-box,ME=Memo Field,TF=Text field,NF=Error Condition Not Found,BA=Branching Action,LA=Label,QT=Question Text,RB=Radio button,SD=Script Description,ST=Template,OD=Objection Description,SU=Survey,CH=Script Chapter,IS=Interactive Script,LB=List Box,OS=Objection Script,MF=Favorites'
                          enum:
                          - NB
                          - ND
                          - CB
                          - ME
                          - TF
                          - NF
                          - BA
                          - LA
                          - QT
                          - RB
                          - SD
                          - ST
                          - OD
                          - SU
                          - CH
                          - IS
                          - LB
                          - OS
                          - MF
                        SUBOBJECTID:
                          type: string
                          maxLength: 32
                          description: XML Document Name
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Interactive Scripting Object Description
                        CATEGORY:
                          type: string
                          maxLength: 32
                          description: Category ID (Interactive Script Editor Repository)
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        AUTHGROUP:
                          type: string
                          maxLength: 1
                          description: Script Authorization Group ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
