openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SCRIPTING_PRF1:
    post:
      tags:
      - CRM_IC_SCRIPTING_PERSIST
      summary: Change Scripting Assignment
      operationId: /rfc/CRM_IC_SCRIPTING_PRF1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  maxLength: 4
                  description: Not More Closely Defined Area, Possibly Used for Patchlevels
                NEWOBJID:
                  type: string
                  maxLength: 32
                  description: XML Document Name
                SCRIPT_ID:
                  type: string
                  maxLength: 32
                  description: XML Document Name
                PROFILES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROFILE:
                        type: string
                        maxLength: 32
                        description: Script Profile Name
                      DATE_FROM:
                        type: string
                        format: date
                        description: Valid from date
                      DATE_TO:
                        type: string
                        format: date
                        description: Valid to date
              required:
              - ACTION
              - SCRIPT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROFILE:
                          type: string
                          maxLength: 32
                          description: Script Profile Name
                        DATE_FROM:
                          type: string
                          format: date
                          description: Valid from date
                        DATE_TO:
                          type: string
                          format: date
                          description: Valid to date
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
