openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_CASCADE_SETTING:
    post:
      tags:
      - MEREP_DIALOG
      summary: Cascade Setting
      operationId: /rfc/MEREP_CASCADE_SETTING
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_EDITMODE:
                  type: integer
                  format: int32
                  default: 0
                CT_414:
                  type: array
                  items:
                    type: object
                    properties:
                      PARENT_SYNCBO:
                        type: string
                        maxLength: 10
                        description: SyncBO ID
                      CHILD_SYNCBO:
                        type: string
                        maxLength: 10
                        description: SyncBO ID
                      CHILD_STRUCT_ID:
                        type: string
                        maxLength: 3
                        description: Structure ID
                      CHILD_FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      CASCADE_DOWNLOAD:
                        type: string
                        maxLength: 1
                        description: Cascade Allowed
                      CRENAM:
                        type: string
                        maxLength: 12
                        description: Created by
                      CRE_DTTM:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      CHGNAM:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      CHG_DTTM:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
              required:
              - I_EDITMODE
              - CT_414
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CT_414:
                    type: array
                    items:
                      type: object
                      properties:
                        PARENT_SYNCBO:
                          type: string
                          maxLength: 10
                          description: SyncBO ID
                        CHILD_SYNCBO:
                          type: string
                          maxLength: 10
                          description: SyncBO ID
                        CHILD_STRUCT_ID:
                          type: string
                          maxLength: 3
                          description: Structure ID
                        CHILD_FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        CASCADE_DOWNLOAD:
                          type: string
                          maxLength: 1
                          description: Cascade Allowed
                        CRENAM:
                          type: string
                          maxLength: 12
                          description: Created by
                        CRE_DTTM:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        CHGNAM:
                          type: string
                          maxLength: 12
                          description: Last Changed by
                        CHG_DTTM:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                required:
                - CT_414
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
