openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_DME_MCI_DSRC_GETDETAIL:
    post:
      tags:
      - RS_DME_MP_CONSUMER_INT
      summary: Get data source details
      operationId: /rfc/RS_DME_MCI_DSRC_GETDETAIL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_GET_UNMAP:
                  type: string
                  default: X
                  maxLength: 1
                  description: ( 'X' or ' ' ) - to get unmapped fields
                I_MODEL:
                  type: string
                  maxLength: 30
                  description: Analytical Model
                I_NAME:
                  type: string
                  maxLength: 30
                  description: Short Text
                I_OBJVERS:
                  type: string
                  maxLength: 1
                  description: Information for shipment of models
                E_T_COL_MAP:
                  type: array
                  items:
                    type: object
                    properties:
                      SOURCE:
                        type: string
                        maxLength: 32
                        description: Source GUID
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                        enum:
                        - A
                        - M
                        - D
                      MODEL:
                        type: string
                        maxLength: 30
                        description: Analytical Model
                      COLUMNNAME:
                        type: string
                        maxLength: 30
                        description: Model Field Name
                      COL_DESCRIPTION:
                        type: string
                        maxLength: 50
                        description: Description
                      SRC_FLD_NAME:
                        type: string
                        maxLength: 30
                        description: Source Field Name
                      DSRC_FLD_NAME:
                        type: string
                        maxLength: 50
                        description: Display name for elements in Source
                      SRC_OBJ_TYPE:
                        type: string
                        maxLength: 1
                        description: Type of Object in the Source
                      S_IS_RELATED_TO:
                        type: string
                        maxLength: 30
                        description: Relation between Info-objects used
                      EXT_FLD_NAME:
                        type: string
                        maxLength: 30
                        description: Fields of the local store
                      DATA_SRC_NAME:
                        type: string
                        maxLength: 72
                        description: Source Name
                      REF_NAME:
                        type: string
                        maxLength: 30
                        description: Short text
                      EXT_TABLE_NAME:
                        type: string
                        maxLength: 30
                        description: Data Store
                E_T_DS_PARAM:
                  type: array
                  items:
                    type: object
                    properties:
                      SOURCE:
                        type: string
                        maxLength: 32
                        description: Source GUID
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      MODEL:
                        type: string
                        maxLength: 30
                        description: Analytical Model
                      VARID:
                        type: string
                        maxLength: 30
                        description: Source Parameter GUID
                      VAR_NAM:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      VARSIGN:
                        type: string
                        maxLength: 1
                        description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                        enum:
                        - E
                        - I
                      VAROPTION:
                        type: string
                        maxLength: 2
                        description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >=
                          value in field LOW,BT=Between: Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      VARLOW:
                        type: string
                        maxLength: 64
                        description: Member Name
                      VARHIGH:
                        type: string
                        maxLength: 64
                        description: Member Name
                E_T_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
                E_T_UNMAP_FLD:
                  type: array
                  items:
                    type: object
                    properties:
                      COLUMNNAME:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      OBJ_TYPE:
                        type: string
                        maxLength: 1
                        description: Type of Object in the Source
                      DATA_TYPE:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      LENGTH:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      CONTENT_TYPE:
                        type: string
                        maxLength: 3
                        description: 'Content Type ID  enumValues: ORE=Order,KEY=Key Field,PBV=Probability Variance,CNT=Continuous,ORD=Ordered,PRB=Probability,WHT=Transaction weight,PBS=Probability Standard Deviation,SQT=Sequence Time,ITM=Item,TRN=Transaction,CYC=Cyclical,GRP=Grouping Attribute,DIZ=Discretized,DST=Discrete'
                        enum:
                        - ORE
                        - KEY
                        - PBV
                        - CNT
                        - ORD
                        - PRB
                        - WHT
                        - PBS
                        - SQT
                        - ITM
                        - TRN
                        - CYC
                        - GRP
                        - DIZ
                        - DST
                      DISTR_TYPE:
                        type: string
                        maxLength: 3
                        description: 'Distribution Type ID  enumValues: POS=Poisson,LOG=Log Normal,TDB=T Distribution,UNI=Uniform,MUN=Mulitnomial,NOR=Normal,BIN=Binomial'
                        enum:
                        - POS
                        - LOG
                        - TDB
                        - UNI
                        - MUN
                        - NOR
                        - BIN
                      DESCRIPTION:
                        type: string
                        maxLength: 30
                        description: Short text
                      IS_RELATED_TO:
                        type: string
                        maxLength: 30
                        description: Model Field Name
                      DSRC_FLD_NAME:
                        type: string
                        maxLength: 50
                        description: Display name for elements in Source
              required:
              - I_MODEL
              - I_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_DATA_SRC:
                    type: object
                    properties:
                      SOURCE:
                        type: string
                        maxLength: 32
                        description: Source GUID
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                        enum:
                        - A
                        - M
                        - D
                      MODEL:
                        type: string
                        maxLength: 30
                        description: Analytical Model
                      INSTANCE_ID:
                        type: integer
                        format: int32
                        description: Instance ID
                      REF_NAME:
                        type: string
                        maxLength: 30
                        description: Short text
                      NAME:
                        type: string
                        maxLength: 72
                        description: Source Name
                      EXT_TABLE_NAME:
                        type: string
                        maxLength: 30
                        description: Data Store
                      TORP:
                        type: string
                        maxLength: 1
                        description: 'Indicating Training, Prediction or Evaluation  enumValues: T=Training,A=All,E=Evaluation,P=Prediction'
                        enum:
                        - T
                        - A
                        - E
                        - P
                      DS_VARIANT:
                        type: string
                        maxLength: 14
                        description: 'ABAP: Name of variant (without program name)'
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Source Type  enumValues: Q=OLAP Query,I=InfoSet Query,V=Query View,E=External Input,C=InfoCube'
                        enum:
                        - Q
                        - I
                        - V
                        - E
                        - C
                      CREATED_BY:
                        type: string
                        maxLength: 12
                        description: User who has created the model
                      LAST_MODIFIED_BY:
                        type: string
                        maxLength: 12
                        description: User who has modified the model
                      CREATED_ON:
                        type: string
                        maxLength: 14
                        description: Time Stamp of model creation
                      MODIFIED_ON:
                        type: string
                        maxLength: 14
                        description: Time Stamp of model modification
                      STATE:
                        type: string
                        maxLength: 1
                        description: 'Status of Model and Source  enumValues: I=In Process,S=Scheduled,N=New,P=Predicted,V=Evaluated,E=Error,T=Trained,X=Extracted'
                        enum:
                        - I
                        - S
                        - N
                        - P
                        - V
                        - E
                        - T
                        - X
                      DESCRIPTION:
                        type: string
                        maxLength: 50
                        description: Description
                  E_T_COL_MAP:
                    type: array
                    items:
                      type: object
                      properties:
                        SOURCE:
                          type: string
                          maxLength: 32
                          description: Source GUID
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Information for shipment of models  enumValues: A=Active,M=Modified,D=Development'
                          enum:
                          - A
                          - M
                          - D
                        MODEL:
                          type: string
                          maxLength: 30
                          description: Analytical Model
                        COLUMNNAME:
                          type: string
                          maxLength: 30
                          description: Model Field Name
                        COL_DESCRIPTION:
                          type: string
                          maxLength: 50
                          description: Description
                        SRC_FLD_NAME:
                          type: string
                          maxLength: 30
                          description: Source Field Name
                        DSRC_FLD_NAME:
                          type: string
                          maxLength: 50
                          description: Display name for elements in Source
                        SRC_OBJ_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of Object in the Source
                        S_IS_RELATED_TO:
                          type: string
                          maxLength: 30
                          description: Relation between Info-objects used
                        EXT_FLD_NAME:
                          type: string
                          maxLength: 30
                          description: Fields of the local store
                        DATA_SRC_NAME:
                          type: string
                          maxLength: 72
                          description: Source Name
                        REF_NAME:
                          type: string
                          maxLength: 30
                          description: Short text
                        EXT_TABLE_NAME:
                          type: string
                          maxLength: 30
                          description: Data Store
                  E_T_DS_PARAM:
                    type: array
                    items:
                      type: object
                      properties:
                        SOURCE:
                          type: string
                          maxLength: 32
                          description: Source GUID
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        MODEL:
                          type: string
                          maxLength: 30
                          description: Analytical Model
                        VARID:
                          type: string
                          maxLength: 30
                          description: Source Parameter GUID
                        VAR_NAM:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        VARSIGN:
                          type: string
                          maxLength: 1
                          description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                          enum:
                          - E
                          - I
                        VAROPTION:
                          type: string
                          maxLength: 2
                          description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal
                            >= value in field LOW,BT=Between: Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        VARLOW:
                          type: string
                          maxLength: 64
                          description: Member Name
                        VARHIGH:
                          type: string
                          maxLength: 64
                          description: Member Name
                  E_T_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
                  E_T_UNMAP_FLD:
                    type: array
                    items:
                      type: object
                      properties:
                        COLUMNNAME:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        OBJ_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of Object in the Source
                        DATA_TYPE:
                          type: string
                          maxLength: 4
                          description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                            accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                            field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                          enum:
                          - NUMC
                          - INT2
                          - DEC
                          - VARC
                          - INT1
                          - RAW
                          - CUKY
                          - QUAN
                          - FLTP
                          - LRAW
                          - PREC
                          - CHAR
                          - ACCP
                          - INT4
                          - RSTR
                          - STRG
                          - LANG
                          - TIMS
                          - UNIT
                          - CLNT
                          - DATS
                          - LCHR
                          - CURR
                          - SSTR
                        LENGTH:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        CONTENT_TYPE:
                          type: string
                          maxLength: 3
                          description: 'Content Type ID  enumValues: ORE=Order,KEY=Key Field,PBV=Probability Variance,CNT=Continuous,ORD=Ordered,PRB=Probability,WHT=Transaction weight,PBS=Probability Standard Deviation,SQT=Sequence Time,ITM=Item,TRN=Transaction,CYC=Cyclical,GRP=Grouping Attribute,DIZ=Discretized,DST=Discrete'
                          enum:
                          - ORE
                          - KEY
                          - PBV
                          - CNT
                          - ORD
                          - PRB
                          - WHT
                          - PBS
                          - SQT
                          - ITM
                          - TRN
                          - CYC
                          - GRP
                          - DIZ
                          - DST
                        DISTR_TYPE:
                          type: string
                          maxLength: 3
                          description: 'Distribution Type ID  enumValues: POS=Poisson,LOG=Log Normal,TDB=T Distribution,UNI=Uniform,MUN=Mulitnomial,NOR=Normal,BIN=Binomial'
                          enum:
                          - POS
                          - LOG
                          - TDB
                          - UNI
                          - MUN
                          - NOR
                          - BIN
                        DESCRIPTION:
                          type: string
                          maxLength: 30
                          description: Short text
                        IS_RELATED_TO:
                          type: string
                          maxLength: 30
                          description: Model Field Name
                        DSRC_FLD_NAME:
                          type: string
                          maxLength: 50
                          description: Display name for elements in Source
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
