openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SCRIPTING_SAVE_CTR_TAB:
    post:
      tags:
      - CRM_IC_SCRIPTING_PERSIST
      summary: Save translation table for a give script
      operationId: /rfc/CRM_IC_SCRIPTING_SAVE_CTR_TAB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECTID:
                  type: string
                  maxLength: 32
                  description: Script ID
                OBJECTTYPE:
                  type: string
                  maxLength: 2
                  description: IC Component ID
                QUESTIONS:
                  type: string
                  description: IC Component ID
                SCRIPT:
                  type: string
                  description: IC Component ID
                SOURCELANGUAGE:
                  type: string
                  maxLength: 2
                  description: Source Language
                TARGETLANGUAGE:
                  type: string
                  maxLength: 2
                  description: Target Language
                TRANSLATION_TABLE:
                  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
                      SUBOBJECTTYPE1:
                        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
                      SUBOBJECTID1:
                        type: string
                        maxLength: 32
                        description: XML Document Name
                      SUBOBJECTTYPE2:
                        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
                      SUBOBJECTID2:
                        type: string
                        maxLength: 32
                        description: XML Document Name
                      SOURCELANGUAGE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      SOURCETEXT:
                        type: string
                        maxLength: 2048
                        description: Character field 2048 places
                      TARGETLANGUAGE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      TARGETTEXT:
                        type: string
                        maxLength: 2048
                        description: Character field 2048 places
              required:
              - OBJECTID
              - OBJECTTYPE
              - SOURCELANGUAGE
              - TARGETLANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TRANSLATION_TABLE:
                    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
                        SUBOBJECTTYPE1:
                          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
                        SUBOBJECTID1:
                          type: string
                          maxLength: 32
                          description: XML Document Name
                        SUBOBJECTTYPE2:
                          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
                        SUBOBJECTID2:
                          type: string
                          maxLength: 32
                          description: XML Document Name
                        SOURCELANGUAGE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        SOURCETEXT:
                          type: string
                          maxLength: 2048
                          description: Character field 2048 places
                        TARGETLANGUAGE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        TARGETTEXT:
                          type: string
                          maxLength: 2048
                          description: Character field 2048 places
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
