openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_MAP_PRICEQUOT_TO_BAPI:
    post:
      tags:
      - CPE_MAP_PRICEQUOT_BAPI
      summary: CPE_M - Mapping Quotation data to BAPI structure from comm structure
      operationId: /rfc/CPE_MAP_PRICEQUOT_TO_BAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_PRICEQUOT_DEL:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      QUOTSRC:
                        type: string
                        maxLength: 2
                        description: Quotation Source
                      QUOTTYPE:
                        type: string
                        maxLength: 5
                        description: Quotation Type
                      QUOTNAME:
                        type: string
                        maxLength: 18
                        description: Quotation Name
                      QUOTDATE:
                        type: string
                        format: date
                        description: Date of Price Quotation
                      QUOTTIME:
                        type: string
                        maxLength: 6
                        description: Time of Price Quotation
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                      PRICEQUOT:
                        type: integer
                        format: int64
                        description: Price Quotation
                      QUOTCURR:
                        type: string
                        maxLength: 5
                        description: Quotation Currency
                      QUOTPRUN:
                        type: integer
                        format: int64
                        description: Price Unit of Quotation
                      QUOTUOM:
                        type: string
                        maxLength: 3
                        description: Unit of Measure of Quotation
                      NOQUOT:
                        type: string
                        maxLength: 1
                        description: No Quotation Available
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical Source System for Price Quotation
                      SRCSYSTEMTYPE:
                        type: string
                        maxLength: 4
                        description: CPE - Source System Type
                      ARCSTATUS:
                        type: string
                        maxLength: 1
                        description: Archiving Status
                IT_PRICEQUOT_INS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      QUOTSRC:
                        type: string
                        maxLength: 2
                        description: Quotation Source
                      QUOTTYPE:
                        type: string
                        maxLength: 5
                        description: Quotation Type
                      QUOTNAME:
                        type: string
                        maxLength: 18
                        description: Quotation Name
                      QUOTDATE:
                        type: string
                        format: date
                        description: Date of Price Quotation
                      QUOTTIME:
                        type: string
                        maxLength: 6
                        description: Time of Price Quotation
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                      PRICEQUOT:
                        type: integer
                        format: int64
                        description: Price Quotation
                      QUOTCURR:
                        type: string
                        maxLength: 5
                        description: Quotation Currency
                      QUOTPRUN:
                        type: integer
                        format: int64
                        description: Price Unit of Quotation
                      QUOTUOM:
                        type: string
                        maxLength: 3
                        description: Unit of Measure of Quotation
                      NOQUOT:
                        type: string
                        maxLength: 1
                        description: No Quotation Available
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical Source System for Price Quotation
                      SRCSYSTEMTYPE:
                        type: string
                        maxLength: 4
                        description: CPE - Source System Type
                      ARCSTATUS:
                        type: string
                        maxLength: 1
                        description: Archiving Status
                IT_PRICEQUOT_UPD:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      QUOTSRC:
                        type: string
                        maxLength: 2
                        description: Quotation Source
                      QUOTTYPE:
                        type: string
                        maxLength: 5
                        description: Quotation Type
                      QUOTNAME:
                        type: string
                        maxLength: 18
                        description: Quotation Name
                      QUOTDATE:
                        type: string
                        format: date
                        description: Date of Price Quotation
                      QUOTTIME:
                        type: string
                        maxLength: 6
                        description: Time of Price Quotation
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                      PRICEQUOT:
                        type: integer
                        format: int64
                        description: Price Quotation
                      QUOTCURR:
                        type: string
                        maxLength: 5
                        description: Quotation Currency
                      QUOTPRUN:
                        type: integer
                        format: int64
                        description: Price Unit of Quotation
                      QUOTUOM:
                        type: string
                        maxLength: 3
                        description: Unit of Measure of Quotation
                      NOQUOT:
                        type: string
                        maxLength: 1
                        description: No Quotation Available
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical Source System for Price Quotation
                      SRCSYSTEMTYPE:
                        type: string
                        maxLength: 4
                        description: CPE - Source System Type
                      ARCSTATUS:
                        type: string
                        maxLength: 1
                        description: Archiving Status
                ET_BAPI_CPE_PRICEQUOT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OPERATION:
                        type: string
                        maxLength: 3
                        description: Function
                      QUOTSRC:
                        type: string
                        maxLength: 2
                        description: Quotation Source
                      QUOTTYPE:
                        type: string
                        maxLength: 5
                        description: Quotation Type
                      QUOTNAME:
                        type: string
                        maxLength: 18
                        description: Quotation Name
                      QUOTDATE:
                        type: string
                        format: date
                        description: Date of Price Quotation
                      QUOTTIME:
                        type: string
                        maxLength: 6
                        description: Time of Price Quotation
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                      PRICEQUOT:
                        type: integer
                        format: int64
                        description: Price Quotation
                      QUOTCURR:
                        type: string
                        maxLength: 5
                        description: Quotation Currency
                      QUOTPRUN:
                        type: integer
                        format: int64
                        description: Price Unit of Quotation
                      QUOTUOM:
                        type: string
                        maxLength: 3
                        description: Unit of Measure of Quotation
                      NOQUOT:
                        type: string
                        maxLength: 1
                        description: No Quotation Available
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical Source System for Price Quotation
                      SRCSYSTEMTYPE:
                        type: string
                        maxLength: 4
                        description: CPE - Source System Type
                      ARCSTATUS:
                        type: string
                        maxLength: 1
                        description: Archiving Status
                      PRICEQUOT_ISO:
                        type: integer
                        format: int64
                        description: Currency amount for BAPIS (with 9 decimal places)
                      QUOTCURR_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code currency
                      QUOTUOM_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code for unit of measurement
                IT_CPE_PRICEQUOT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OPERATION:
                        type: string
                        maxLength: 3
                        description: Function
                      QUOTSRC:
                        type: string
                        maxLength: 2
                        description: Quotation Source
                      QUOTTYPE:
                        type: string
                        maxLength: 5
                        description: Quotation Type
                      QUOTNAME:
                        type: string
                        maxLength: 18
                        description: Quotation Name
                      QUOTDATE:
                        type: string
                        format: date
                        description: Date of Price Quotation
                      QUOTTIME:
                        type: string
                        maxLength: 6
                        description: Time of Price Quotation
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                      PRICEQUOT:
                        type: integer
                        format: int64
                        description: Price Quotation
                      QUOTCURR:
                        type: string
                        maxLength: 5
                        description: Quotation Currency
                      QUOTPRUN:
                        type: integer
                        format: int64
                        description: Price Unit of Quotation
                      QUOTUOM:
                        type: string
                        maxLength: 3
                        description: Unit of Measure of Quotation
                      NOQUOT:
                        type: string
                        maxLength: 1
                        description: No Quotation Available
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical Source System for Price Quotation
                      SRCSYSTEMTYPE:
                        type: string
                        maxLength: 4
                        description: CPE - Source System Type
                      ARCSTATUS:
                        type: string
                        maxLength: 1
                        description: Archiving Status
                      PRICEQUOT_ISO:
                        type: integer
                        format: int64
                        description: Currency amount for BAPIS (with 9 decimal places)
                      QUOTCURR_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code currency
                      QUOTUOM_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code for unit of measurement
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_BAPI_CPE_PRICEQUOT:
                    type: array
                    items:
                      type: object
                      properties:
                        OPERATION:
                          type: string
                          maxLength: 3
                          description: Function
                        QUOTSRC:
                          type: string
                          maxLength: 2
                          description: Quotation Source
                        QUOTTYPE:
                          type: string
                          maxLength: 5
                          description: Quotation Type
                        QUOTNAME:
                          type: string
                          maxLength: 18
                          description: Quotation Name
                        QUOTDATE:
                          type: string
                          format: date
                          description: Date of Price Quotation
                        QUOTTIME:
                          type: string
                          maxLength: 6
                          description: Time of Price Quotation
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                        PRICEQUOT:
                          type: integer
                          format: int64
                          description: Price Quotation
                        QUOTCURR:
                          type: string
                          maxLength: 5
                          description: Quotation Currency
                        QUOTPRUN:
                          type: integer
                          format: int64
                          description: Price Unit of Quotation
                        QUOTUOM:
                          type: string
                          maxLength: 3
                          description: Unit of Measure of Quotation
                        NOQUOT:
                          type: string
                          maxLength: 1
                          description: No Quotation Available
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical Source System for Price Quotation
                        SRCSYSTEMTYPE:
                          type: string
                          maxLength: 4
                          description: CPE - Source System Type
                        ARCSTATUS:
                          type: string
                          maxLength: 1
                          description: Archiving Status
                        PRICEQUOT_ISO:
                          type: integer
                          format: int64
                          description: Currency amount for BAPIS (with 9 decimal places)
                        QUOTCURR_ISO:
                          type: string
                          maxLength: 3
                          description: ISO code currency
                        QUOTUOM_ISO:
                          type: string
                          maxLength: 3
                          description: ISO code for unit of measurement
                  ET_BAPI_CPE_PRICEQUOT_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        OPERATION:
                          type: string
                          maxLength: 3
                          description: Function
                        QUOTSRC:
                          type: string
                          maxLength: 2
                          description: Quotation Source
                        QUOTTYPE:
                          type: string
                          maxLength: 5
                          description: Quotation Type
                        QUOTNAME:
                          type: string
                          maxLength: 18
                          description: Quotation Name
                        QUOTDATE:
                          type: string
                          format: date
                          description: Date of Price Quotation
                        QUOTTIME:
                          type: string
                          maxLength: 6
                          description: Time of Price Quotation
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                  ET_BAPI_CPE_PRICEQUOT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OPERATION:
                          type: string
                          maxLength: 3
                          description: Function
                        QUOTSRC:
                          type: string
                          maxLength: 2
                          description: Quotation Source
                        QUOTTYPE:
                          type: string
                          maxLength: 5
                          description: Quotation Type
                        QUOTNAME:
                          type: string
                          maxLength: 18
                          description: Quotation Name
                        QUOTDATE:
                          type: string
                          format: date
                          description: Date of Price Quotation
                        QUOTTIME:
                          type: string
                          maxLength: 6
                          description: Time of Price Quotation
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                        PRICEQUOT:
                          type: integer
                          format: int64
                          description: Price Quotation
                        QUOTCURR:
                          type: string
                          maxLength: 5
                          description: Quotation Currency
                        QUOTPRUN:
                          type: integer
                          format: int64
                          description: Price Unit of Quotation
                        QUOTUOM:
                          type: string
                          maxLength: 3
                          description: Unit of Measure of Quotation
                        NOQUOT:
                          type: string
                          maxLength: 1
                          description: No Quotation Available
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical Source System for Price Quotation
                        SRCSYSTEMTYPE:
                          type: string
                          maxLength: 4
                          description: CPE - Source System Type
                        ARCSTATUS:
                          type: string
                          maxLength: 1
                          description: Archiving Status
                        PRICEQUOT_ISO:
                          type: integer
                          format: int64
                          description: Currency amount for BAPIS (with 9 decimal places)
                        QUOTCURR_ISO:
                          type: string
                          maxLength: 3
                          description: ISO code currency
                        QUOTUOM_ISO:
                          type: string
                          maxLength: 3
                          description: ISO code for unit of measurement
                  IT_CPE_PRICEQUOT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OPERATION:
                          type: string
                          maxLength: 3
                          description: Function
                        QUOTSRC:
                          type: string
                          maxLength: 2
                          description: Quotation Source
                        QUOTTYPE:
                          type: string
                          maxLength: 5
                          description: Quotation Type
                        QUOTNAME:
                          type: string
                          maxLength: 18
                          description: Quotation Name
                        QUOTDATE:
                          type: string
                          format: date
                          description: Date of Price Quotation
                        QUOTTIME:
                          type: string
                          maxLength: 6
                          description: Time of Price Quotation
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid To' Time Stamp of Commodity Pricing Object
                        PRICEQUOT:
                          type: integer
                          format: int64
                          description: Price Quotation
                        QUOTCURR:
                          type: string
                          maxLength: 5
                          description: Quotation Currency
                        QUOTPRUN:
                          type: integer
                          format: int64
                          description: Price Unit of Quotation
                        QUOTUOM:
                          type: string
                          maxLength: 3
                          description: Unit of Measure of Quotation
                        NOQUOT:
                          type: string
                          maxLength: 1
                          description: No Quotation Available
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical Source System for Price Quotation
                        SRCSYSTEMTYPE:
                          type: string
                          maxLength: 4
                          description: CPE - Source System Type
                        ARCSTATUS:
                          type: string
                          maxLength: 1
                          description: Archiving Status
                        PRICEQUOT_ISO:
                          type: integer
                          format: int64
                          description: Currency amount for BAPIS (with 9 decimal places)
                        QUOTCURR_ISO:
                          type: string
                          maxLength: 3
                          description: ISO code currency
                        QUOTUOM_ISO:
                          type: string
                          maxLength: 3
                          description: ISO code for unit of measurement
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
