openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPSLL/API_SYNCH_PRECIP_SPI:
    post:
      tags:
      - /SAPSLL/ECP_PRODUCT_SPI
      operationId: /rfc/SAPSLL/API_SYNCH_PRECIP_SPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_ECPPA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PRVSY:
                        type: string
                        maxLength: 40
                        description: External Product Number for Legal and Logistics Services
                      ECPID:
                        type: string
                        maxLength: 10
                        description: Customs ID for Customs Procedure with Economic Significance
                      ECBWH:
                        type: string
                        maxLength: 1
                        description: Bonded Warehouse Relevance
                      ECIPR:
                        type: string
                        maxLength: 1
                        description: Relevant for Inward Processing
                      CODEP:
                        type: string
                        maxLength: 1
                        description: Separating Stock by Country of Origin
                      IVMFS:
                        type: string
                        maxLength: 1
                        description: Separating Stock by its Customs Status
                      IVMID:
                        type: string
                        maxLength: 1
                        description: Additional Stock Identification
                      OPRCO:
                        type: string
                        maxLength: 1
                        description: Component for Outward Processing
                      OPPRO:
                        type: string
                        maxLength: 1
                        description: Product from Outward Processing
                IT_ECPPA_DEL:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PRVSY:
                        type: string
                        maxLength: 40
                        description: External Product Number for Legal and Logistics Services
                      ECPID:
                        type: string
                        maxLength: 10
                        description: Customs ID for Customs Procedure with Economic Significance
                      ECBWH:
                        type: string
                        maxLength: 1
                        description: Bonded Warehouse Relevance
                      ECIPR:
                        type: string
                        maxLength: 1
                        description: Relevant for Inward Processing
                      CODEP:
                        type: string
                        maxLength: 1
                        description: Separating Stock by Country of Origin
                      IVMFS:
                        type: string
                        maxLength: 1
                        description: Separating Stock by its Customs Status
                      IVMID:
                        type: string
                        maxLength: 1
                        description: Additional Stock Identification
                      OPRCO:
                        type: string
                        maxLength: 1
                        description: Component for Outward Processing
                      OPPRO:
                        type: string
                        maxLength: 1
                        description: Product from Outward Processing
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_ECPPA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PRVSY:
                          type: string
                          maxLength: 40
                          description: External Product Number for Legal and Logistics Services
                        ECPID:
                          type: string
                          maxLength: 10
                          description: Customs ID for Customs Procedure with Economic Significance
                        ECBWH:
                          type: string
                          maxLength: 1
                          description: Bonded Warehouse Relevance
                        ECIPR:
                          type: string
                          maxLength: 1
                          description: Relevant for Inward Processing
                        CODEP:
                          type: string
                          maxLength: 1
                          description: Separating Stock by Country of Origin
                        IVMFS:
                          type: string
                          maxLength: 1
                          description: Separating Stock by its Customs Status
                        IVMID:
                          type: string
                          maxLength: 1
                          description: Additional Stock Identification
                        OPRCO:
                          type: string
                          maxLength: 1
                          description: Component for Outward Processing
                        OPPRO:
                          type: string
                          maxLength: 1
                          description: Product from Outward Processing
                  IT_ECPPA_DEL:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PRVSY:
                          type: string
                          maxLength: 40
                          description: External Product Number for Legal and Logistics Services
                        ECPID:
                          type: string
                          maxLength: 10
                          description: Customs ID for Customs Procedure with Economic Significance
                        ECBWH:
                          type: string
                          maxLength: 1
                          description: Bonded Warehouse Relevance
                        ECIPR:
                          type: string
                          maxLength: 1
                          description: Relevant for Inward Processing
                        CODEP:
                          type: string
                          maxLength: 1
                          description: Separating Stock by Country of Origin
                        IVMFS:
                          type: string
                          maxLength: 1
                          description: Separating Stock by its Customs Status
                        IVMID:
                          type: string
                          maxLength: 1
                          description: Additional Stock Identification
                        OPRCO:
                          type: string
                          maxLength: 1
                          description: Component for Outward Processing
                        OPPRO:
                          type: string
                          maxLength: 1
                          description: Product from Outward Processing
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
