openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CME_API_DSCOPE_CREATE:
    post:
      tags:
      - CME_API_DSCOPE
      summary: CME Definition Scope - Create
      operationId: /rfc/CME_API_DSCOPE_CREATE
      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_KEY:
                  type: object
                  properties:
                    DSCOPE_ID:
                      type: string
                      maxLength: 100
                      description: 'CME Definition Scope: External Name'
                    DSCOPE_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
                    DSCOPE_GUID:
                      type: string
                      format: byte
                      description: 'CME Definition Scope: GUID'
                    DSCOPE_OBJ_GUID:
                      type: string
                      format: byte
                      description: 'CME Definition Scope: Object GUID'
                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_STATUS:
                  type: array
                  items:
                    type: object
                    properties:
                      STAT:
                        type: string
                        maxLength: 5
                        description: Object status
                      INACT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Status Is Inactive'
                      TXT04:
                        type: string
                        maxLength: 4
                        description: Individual status of an object (short form)
                      TXT30:
                        type: string
                        maxLength: 30
                        description: Object status
                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
                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:
                      DSCOPE_ID:
                        type: string
                        maxLength: 100
                        description: 'CME Definition Scope: External Name'
                      DSCOPE_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
                      DSCOPE_GUID:
                        type: string
                        format: byte
                        description: 'CME Definition Scope: GUID'
                      DSCOPE_OBJ_GUID:
                        type: string
                        format: byte
                        description: 'CME Definition Scope: 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.
