openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_BAPI_PRICEQUOT_TO_BAPIMTCS:
    post:
      tags:
      - CPE_BAPI_PRCQUOT_BAPIMTCS
      summary: CPE_M - Mapping BAPI_CPE_PRICEQUOT to BAPIMTCS
      operationId: /rfc/CPE_BAPI_PRICEQUOT_TO_BAPIMTCS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ET_CPE_PRICEQUOT_BAPIMTCS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name of Length 30
                      SEGTYPE:
                        type: string
                        maxLength: 2
                        description: Segment Type
                      CURRDNO:
                        type: integer
                        format: int32
                        description: Number of Current Data Segment
                      SUBHEXIST:
                        type: string
                        maxLength: 1
                        description: Do Other Data Segments Exist?
                      HIERNO:
                        type: integer
                        format: int32
                        description: Hierarchy Number of Data Segment
                      PARENTDNO:
                        type: integer
                        format: int32
                        description: Segment Number of Superior Data Segment
                      DATA:
                        type: string
                        maxLength: 4000
                        description: Character 4000
                      OBJKEY:
                        type: string
                        maxLength: 32
                        description: Object Key
                      RELKEY:
                        type: string
                        maxLength: 120
                        description: Key for the Relationship Between the Individual Entries
                      GEN_CHRSTR:
                        type: string
                        maxLength: 30
                        description: Information on Generated Structures
                      ALIAS:
                        type: string
                        maxLength: 30
                        description: Table Name of Length 30
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                IT_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_USER_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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_CPE_PRICEQUOT_BAPIMTCS:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name of Length 30
                        SEGTYPE:
                          type: string
                          maxLength: 2
                          description: Segment Type
                        CURRDNO:
                          type: integer
                          format: int32
                          description: Number of Current Data Segment
                        SUBHEXIST:
                          type: string
                          maxLength: 1
                          description: Do Other Data Segments Exist?
                        HIERNO:
                          type: integer
                          format: int32
                          description: Hierarchy Number of Data Segment
                        PARENTDNO:
                          type: integer
                          format: int32
                          description: Segment Number of Superior Data Segment
                        DATA:
                          type: string
                          maxLength: 4000
                          description: Character 4000
                        OBJKEY:
                          type: string
                          maxLength: 32
                          description: Object Key
                        RELKEY:
                          type: string
                          maxLength: 120
                          description: Key for the Relationship Between the Individual Entries
                        GEN_CHRSTR:
                          type: string
                          maxLength: 30
                          description: Information on Generated Structures
                        ALIAS:
                          type: string
                          maxLength: 30
                          description: Table Name of Length 30
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                  IT_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_USER_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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
