ETASCOM CRM V3 - Documentation API
    Preparing search index...

    Interface EdiMessage

    interface EdiMessage {
        id: string;
        partnerId: string;
        partner?: EdiPartner;
        interchangeId?: string | null;
        functionalGroupId?: string | null;
        messageType: EdiMessageType;
        direction: EdiDirection;
        format: EdiFormat;
        documentNumber?: string | null;
        documentDate?: string | null;
        externalRef?: string | null;
        messageRef?: string | null;
        sequenceNumber: number;
        status: EdiMessageStatus;
        priority: number;
        processedAt?: string | null;
        retryCount: number;
        nextRetryAt?: string | null;
        rawContent: string;
        parsedContent?: Record<string, unknown> | null;
        normalizedContent?: Record<string, unknown> | null;
        validationErrors?: Record<string, unknown>[] | null;
        segmentCount: number;
        interchangeControlRef?: string | null;
        groupControlRef?: string | null;
        messageControlRef?: string | null;
        referenceNumber?: string | null;
        testIndicator: boolean;
        unhMessageType?: string | null;
        unhMessageVersion?: string | null;
        unhMessageRelease?: string | null;
        bgmDocumentType?: string | null;
        bgmDocumentNumber?: string | null;
        bgmMessageFunction?: string | null;
        manufacturingOrderId?: string | null;
        manufacturingOrder?: { id: string; number: string } | null;
        invoiceId?: string | null;
        invoice?: { id: string; number: string } | null;
        salesOfferId?: string | null;
        salesOffer?: { id: string; number: string } | null;
        salesOrderId?: string | null;
        salesOrder?: { id: string; number: string } | null;
        purchaseOrderId?: string | null;
        purchaseOrder?: { id: string; number: string } | null;
        deliveryNoteId?: string | null;
        deliveryNote?: { id: string; number: string } | null;
        receptionNoteId?: string | null;
        receptionNote?: { id: string; number: string } | null;
        fileName?: string | null;
        fileSize?: number | null;
        checksum?: string | null;
        sentAt?: string | null;
        receivedAt?: string | null;
        acknowledgedAt?: string | null;
        acknowledgmentStatus?: string | null;
        acknowledgmentRef?: string | null;
        functionalAckAt?: string | null;
        functionalAckStatus?: string | null;
        sentBy?: string | null;
        processedBy?: string | null;
        errorCode?: string | null;
        errorMessage?: string | null;
        parsingDurationMs?: number | null;
        validationDurationMs?: number | null;
        mappingDurationMs?: number | null;
        processingDurationMs?: number | null;
        totalDurationMs?: number | null;
        createdAt: string;
        updatedAt: string;
    }
    Index

    Properties

    id: string
    partnerId: string
    partner?: EdiPartner
    interchangeId?: string | null
    functionalGroupId?: string | null
    messageType: EdiMessageType
    direction: EdiDirection
    format: EdiFormat
    documentNumber?: string | null
    documentDate?: string | null
    externalRef?: string | null
    messageRef?: string | null
    sequenceNumber: number
    priority: number
    processedAt?: string | null
    retryCount: number
    nextRetryAt?: string | null
    rawContent: string
    parsedContent?: Record<string, unknown> | null
    normalizedContent?: Record<string, unknown> | null
    validationErrors?: Record<string, unknown>[] | null
    segmentCount: number
    interchangeControlRef?: string | null
    groupControlRef?: string | null
    messageControlRef?: string | null
    referenceNumber?: string | null
    testIndicator: boolean
    unhMessageType?: string | null
    unhMessageVersion?: string | null
    unhMessageRelease?: string | null
    bgmDocumentType?: string | null
    bgmDocumentNumber?: string | null
    bgmMessageFunction?: string | null
    manufacturingOrderId?: string | null
    manufacturingOrder?: { id: string; number: string } | null
    invoiceId?: string | null
    invoice?: { id: string; number: string } | null
    salesOfferId?: string | null
    salesOffer?: { id: string; number: string } | null
    salesOrderId?: string | null
    salesOrder?: { id: string; number: string } | null
    purchaseOrderId?: string | null
    purchaseOrder?: { id: string; number: string } | null
    deliveryNoteId?: string | null
    deliveryNote?: { id: string; number: string } | null
    receptionNoteId?: string | null
    receptionNote?: { id: string; number: string } | null
    fileName?: string | null
    fileSize?: number | null
    checksum?: string | null
    sentAt?: string | null
    receivedAt?: string | null
    acknowledgedAt?: string | null
    acknowledgmentStatus?: string | null
    acknowledgmentRef?: string | null
    functionalAckAt?: string | null
    functionalAckStatus?: string | null
    sentBy?: string | null
    processedBy?: string | null
    errorCode?: string | null
    errorMessage?: string | null
    parsingDurationMs?: number | null
    validationDurationMs?: number | null
    mappingDurationMs?: number | null
    processingDurationMs?: number | null
    totalDurationMs?: number | null
    createdAt: string
    updatedAt: string