openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_GET_CONVID_FROM_MSD:
    post:
      tags:
      - MEREP_REGISTRATION
      summary: Retrieve All Conversation IDs for an MCD Entry
      operationId: /rfc/MEREP_GET_CONVID_FROM_MSD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  maxLength: 1
                  description: Action Flag for Metadata RFC
                FRAMEWORK:
                  type: string
                  maxLength: 1
                  description: Action Flag for Metadata RFC
                MSD_NAME:
                  type: string
                  maxLength: 30
                  description: Mobile Solution Descriptor Name
                MSD_VERSION:
                  type: string
                  maxLength: 6
                  description: Version of Offline Application
                SHARED:
                  type: string
                  maxLength: 1
                  description: Action Flag for Metadata RFC
                USERSPECIFIC:
                  type: string
                  maxLength: 1
                  description: Action Flag for Metadata RFC
                CONVERSATION_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      MOBILEGUID:
                        type: string
                        maxLength: 72
                        description: Guid Assigned to the Conversation with Device
                      DEVICEGUID:
                        type: string
                        maxLength: 36
                        description: Unique ID of Synchronization Container
                      MOBILEID:
                        type: string
                        maxLength: 10
                        description: Mobile ID
                      USERID:
                        type: string
                        maxLength: 12
                        description: User Name
                      MSD_NAMESPACE:
                        type: string
                        maxLength: 10
                        description: Namespace
                      MSD_NAME:
                        type: string
                        maxLength: 30
                        description: Mobile Component
                      MSD_VERSION:
                        type: string
                        maxLength: 6
                        description: Version of Mobile Component
                USER_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      BNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    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
                  CONVERSATION_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        MOBILEGUID:
                          type: string
                          maxLength: 72
                          description: Guid Assigned to the Conversation with Device
                        DEVICEGUID:
                          type: string
                          maxLength: 36
                          description: Unique ID of Synchronization Container
                        MOBILEID:
                          type: string
                          maxLength: 10
                          description: Mobile ID
                        USERID:
                          type: string
                          maxLength: 12
                          description: User Name
                        MSD_NAMESPACE:
                          type: string
                          maxLength: 10
                          description: Namespace
                        MSD_NAME:
                          type: string
                          maxLength: 30
                          description: Mobile Component
                        MSD_VERSION:
                          type: string
                          maxLength: 6
                          description: Version of Mobile Component
                  USER_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        BNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
