openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CME_API_DTYPE_CHANGE:
    post:
      tags:
      - CME_API_DTYPE
      summary: CME Data Type - Change
      operationId: /rfc/CME_API_DTYPE_CHANGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_ADMIN_DATA:
                  type: object
                  properties:
                    USER_CREATE:
                      type: string
                      maxLength: 12
                      description: Created By
                    TIMESTMP_CREATE:
                      type: integer
                      format: int64
                      description: Created On
                    USER_MODIFY:
                      type: string
                      maxLength: 12
                      description: Changed by
                    TIMESTMP_MODIFY:
                      type: integer
                      format: int64
                      description: Last Change Time Stamp
                    ORG_SYSTEM:
                      type: string
                      maxLength: 10
                      description: Logical System
                IS_CHANGE_ORDER:
                  type: object
                  properties:
                    CHANGE_ORDER_ID:
                      type: string
                      format: byte
                      description: Change Order
                    CHANGE_ORDER:
                      type: string
                      maxLength: 12
                      description: Change Order
                    PREDECESSOR_ID:
                      type: string
                      format: byte
                      description: Change Order
                    PREDECESSOR:
                      type: string
                      maxLength: 12
                      description: Change Order
                    VALIDITY_INTERVAL:
                      type: object
                      properties:
                        DATE_FROM:
                          type: string
                          format: date
                          description: From Date
                        DATE_TO:
                          type: string
                          format: date
                          description: To Date
                    DESCRIPTIONS:
                      type: array
                      items:
                        type: object
                        properties:
                          LANGUAGE:
                            type: string
                            maxLength: 1
                            description: Language
                          LANGUAGE_ISO:
                            type: string
                            maxLength: 2
                            description: Language according to ISO 639
                          DESCRIPTION:
                            type: string
                            maxLength: 40
                            description: Change Number Description
                IS_DTYPE_FORMAT:
                  type: object
                  properties:
                    DATATYP:
                      type: string
                      maxLength: 10
                      description: Data Type
                    DIGITS:
                      type: integer
                      format: int64
                      description: Total Length (Including Decimal Places)
                    DECIMALS:
                      type: integer
                      format: int64
                      description: Number of Decimal Places
                    CASESENS:
                      type: string
                      maxLength: 1
                      description: 'Mixed Uppercase / Lowercase Letters  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    SIGNED:
                      type: string
                      maxLength: 1
                      description: '+/- Sign  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    UOM:
                      type: string
                      maxLength: 3
                      description: ISO Unit of Measure
                    CURRENCY:
                      type: string
                      maxLength: 3
                      description: ISO Currency
                    EXP_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Type of Exponential Format  enumValues: 1=Standard (for example, _._____E-__),2=Predefined Exponent (for example, _,___.__E-12),3=Scientific (for example, ___.__E-__)'
                      enum:
                      - '1'
                      - '2'
                      - '3'
                    EXP_VALUE:
                      type: integer
                      format: int64
                      description: Exponent Value
                    INTERVALS:
                      type: string
                      maxLength: 1
                      description: 'Intervals  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    ACCURACY:
                      type: string
                      maxLength: 1
                      description: 'Input Accuracy (Decimal Place)  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    PATTERN:
                      type: string
                      maxLength: 30
                      description: Input Template
                    SEPARATOR:
                      type: string
                      maxLength: 1
                      description: 'Set Thousand Separator  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    LEVELS:
                      type: integer
                      format: int64
                      description: Number of Values in Data Set
                    AUTOMATIC:
                      type: string
                      maxLength: 1
                      description: 'Automatic Value Generation  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    DESC_MAND:
                      type: string
                      maxLength: 1
                      description: 'CME Characteristic: Description Obligatory  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    CONVERSION:
                      type: string
                      maxLength: 5
                      description: Conversion Exit
                    REFERENCE:
                      type: string
                      format: byte
                      description: Reference for Complex Data Type
                    CHECKTABL:
                      type: string
                      maxLength: 16
                      description: Check Table
                    CHECKCLAS:
                      type: string
                      maxLength: 30
                      description: Check Class (ABAP-OO)
                IS_KEY:
                  type: object
                  properties:
                    DTYPE_ID:
                      type: string
                      maxLength: 100
                      description: CME Data Type -External Name-
                    DTYPE_VERSION:
                      type: integer
                      format: int64
                      description: Version
                    OWNER_ID:
                      type: string
                      maxLength: 100
                      description: 'CME Owner: External Name'
                    OWNER_GUID:
                      type: string
                      format: byte
                      description: Owner
                    DTYPE_GUID:
                      type: string
                      format: byte
                      description: CME Data Type - GUID
                    DTYPE_OBJ_GUID:
                      type: string
                      format: byte
                      description: CME Data Type - Object GUID
                IS_PROCESS:
                  type: object
                  properties:
                    DOCUMENTS:
                      type: string
                      maxLength: 1
                      description: 'Documents of a CME Object  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    VALUES:
                      type: string
                      maxLength: 1
                      description: 'Characteristic Values  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    VALUE_TEXTS:
                      type: string
                      maxLength: 1
                      description: 'Texts for Characteristic Values  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    VALUE_DOCUMENTS:
                      type: string
                      maxLength: 1
                      description: 'Documents for Characteristic Values  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    TEXT:
                      type: string
                      maxLength: 1
                      description: 'Texts of a CME Object  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    EXTENSIONS:
                      type: string
                      maxLength: 1
                      description: 'Extensions of a CME Object  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    EXTENSIONS_TEXTS:
                      type: string
                      maxLength: 1
                      description: 'Texts for Extensions of a CME Object  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    SET_NEW_VALUES_TEXTS_DOCUMENTS:
                      type: string
                      maxLength: 1
                      description: 'Interpretation of Values, Value Texts, and Value Documents  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                IT_DOCUMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      KEY:
                        type: string
                        description: URL
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Delete
                IT_EXTENSIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      SETTYPE:
                        type: string
                        maxLength: 16
                        description: Identification of a Set Type
                      OWNER_ID:
                        type: string
                        maxLength: 100
                        description: 'CME Owner: External Name'
                      OWNER_GUID:
                        type: string
                        format: byte
                        description: Owner
                      X_STRING:
                        type: string
                        format: byte
                        description: XSTRING for CME Extension Concept
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Delete
                IT_EXTENSIONS_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SETTYPE:
                        type: string
                        maxLength: 30
                        description: MDF Text Element, like Set Type
                      ATTRIBUTE:
                        type: string
                        maxLength: 30
                        description: Subelement (Attribute of Set Type)
                      LINE_NO:
                        type: integer
                        format: int64
                        description: Subobject, for example, row key of a set
                      TEXT_TYPE:
                        type: string
                        maxLength: 10
                        description: MDF Text Type
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Language
                      COUNTRY:
                        type: string
                        maxLength: 2
                        description: Country Key
                      POS_COUNT:
                        type: integer
                        format: int64
                        description: Sort Order
                      SHORT:
                        type: string
                        description: Description
                      LONG_ID:
                        type: string
                        format: byte
                        description: Long Text Key
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Delete
                IT_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXT_TYPE:
                        type: string
                        maxLength: 10
                        description: MDF Text Type
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Language
                      COUNTRY:
                        type: string
                        maxLength: 2
                        description: Country Key
                      POS_COUNT:
                        type: integer
                        format: int64
                        description: Sort Order
                      SHORT:
                        type: string
                        description: Description
                      LONG_ID:
                        type: string
                        format: byte
                        description: Long Text Key
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Delete
                IT_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANGE_LEVEL:
                        type: integer
                        format: int32
                        description: Change Management Counter
                      PREDECESSOR:
                        type: integer
                        format: int64
                        description: Previous Value in Hierarchy
                      COUNTER:
                        type: integer
                        format: int64
                        description: Counter for Multiple Value Assignments
                      LEVEL_ID:
                        type: integer
                        format: int64
                        description: Number of Values in Data Set
                      INSTANCE:
                        type: integer
                        format: int64
                        description: Instance for Complex Data Types
                      SPLITTER:
                        type: integer
                        format: int64
                        description: Counter for Long Values and Value Data Set
                      STRING:
                        type: string
                        description: Character-Type Values
                      INT_FROM:
                        type: integer
                        format: int64
                        description: Integer Values, Lower Limit
                      INT_TO:
                        type: integer
                        format: int64
                        description: Integer Values, Upper Limit
                      FLT_FROM:
                        type: number
                        description: Exponential Number, Lower Limit
                      FLT_TO:
                        type: number
                        description: Exponential Number, Upper Limit
                      TMS_FROM:
                        type: integer
                        format: int64
                        description: Time Stamp, Lower Limit
                      TMS_TO:
                        type: integer
                        format: int64
                        description: Time Stamp, Upper Limit
                      PREPARED:
                        type: string
                        description: Value
                      ACC_FROM:
                        type: integer
                        format: int64
                        description: Input Accuracy of Lower Limit
                      ACC_TO:
                        type: integer
                        format: int64
                        description: Input Accuracy of Upper Limit
                      UOM_FROM:
                        type: string
                        maxLength: 3
                        description: Alternative Unit of Measure of Upper Limit
                      UOM_TO:
                        type: string
                        maxLength: 3
                        description: Alternative Unit of Measure of Upper Limit
                      INTERV:
                        type: string
                        maxLength: 1
                        description: Key Interval Limits
                      ORG_INPUT:
                        type: string
                        description: Original Input
                      LANG_DATA:
                        type: string
                        format: byte
                        description: Key Texts
                      ORDER_ID:
                        type: integer
                        format: int64
                        description: Sequence Counter
                      PREINSTANCE:
                        type: integer
                        format: int64
                        description: Previous Instance
                      DEFAULT_FLAG:
                        type: string
                        maxLength: 1
                        description: Default Value
                      NODE:
                        type: string
                        maxLength: 1
                        description: Nodes in Value Hierarchy
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Delete
                IT_VALUE_DOCUMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      COUNTER:
                        type: integer
                        format: int64
                        description: Counter for Multiline Text Types
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Delete
                      DOCUMENTS:
                        type: array
                        items:
                          type: object
                          properties:
                            KEY:
                              type: string
                              description: URL
                            DELETE:
                              type: string
                              maxLength: 1
                              description: Delete
                IT_VALUE_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXT_TYPE:
                        type: string
                        maxLength: 10
                        description: MDF Text Type
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Language
                      COUNTRY:
                        type: string
                        maxLength: 2
                        description: Country Key
                      COUNTER:
                        type: integer
                        format: int64
                        description: Counter for Multiline Text Types
                      SHORT:
                        type: string
                        description: Description
                      LONG_ID:
                        type: string
                        format: byte
                        description: Long Text Key
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Delete
                I_GROUP:
                  type: string
                  maxLength: 10
                  description: Group
                ET_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_KEY:
                    type: object
                    properties:
                      DTYPE_ID:
                        type: string
                        maxLength: 100
                        description: CME Data Type -External Name-
                      DTYPE_VERSION:
                        type: integer
                        format: int64
                        description: Version
                      OWNER_ID:
                        type: string
                        maxLength: 100
                        description: 'CME Owner: External Name'
                      OWNER_GUID:
                        type: string
                        format: byte
                        description: Owner
                      DTYPE_GUID:
                        type: string
                        format: byte
                        description: CME Data Type - GUID
                      DTYPE_OBJ_GUID:
                        type: string
                        format: byte
                        description: CME Data Type - Object GUID
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
