openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CCAP_ASSIGN_OBJECT_TO_ALT_DATE:
    post:
      tags:
      - CCAP
      operationId: /rfc/CCAP_ASSIGN_OBJECT_TO_ALT_DATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALT_DATE:
                  type: string
                  maxLength: 18
                  description: Alternative date
                BOM_CATEGORY:
                  type: string
                  maxLength: 1
                  description: BOM category
                BOM_STD_OBJECT:
                  type: string
                  maxLength: 18
                  description: Standard object for standard BOM
                BOM_USAGE:
                  type: string
                  maxLength: 1
                  description: BOM usage
                CHANGE_NO:
                  type: string
                  maxLength: 12
                  description: Change number
                CHG_OBJECT_TYPE:
                  type: integer
                  format: int64
                  description: Object type
                DOCUMENT_NUMBER:
                  type: string
                  maxLength: 25
                  description: Document number
                DOCUMENT_PART:
                  type: string
                  maxLength: 3
                  description: Document part
                DOCUMENT_TYPE:
                  type: string
                  maxLength: 3
                  description: Document type
                DOCUMENT_VERSION:
                  type: string
                  maxLength: 2
                  description: Document version
                EQUIPMENT:
                  type: string
                  maxLength: 18
                  description: Equipment
                FL_COMMIT_AND_WAIT:
                  type: string
                  maxLength: 1
                  description: 'Indicator: delete allocation'
                FL_DELETE:
                  type: string
                  maxLength: 1
                  description: 'Indicator: delete allocation'
                FL_NO_COMMIT_WORK:
                  type: string
                  maxLength: 1
                  description: 'Indicator: delete allocation'
                FUNC_LOCATION:
                  type: string
                  maxLength: 30
                  description: Functional location
                MATERIAL:
                  type: string
                  maxLength: 18
                  description: Material number
                PLANT:
                  type: string
                  maxLength: 4
                  description: Plant
                PSP_ELEMENT:
                  type: string
                  maxLength: 24
                  description: Plant
                SALES_ORDER:
                  type: string
                  maxLength: 10
                  description: Sales order
                SALES_ORDER_ITEM:
                  type: integer
                  format: int64
                  description: Sales order item
                TASK_LIST_GROUP:
                  type: string
                  maxLength: 8
                  description: Task list number
                TASK_LIST_TYPE:
                  type: string
                  maxLength: 1
                  description: Task list type
              required:
              - ALT_DATE
              - CHANGE_NO
              - CHG_OBJECT_TYPE
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
